Matrix Keypad routine


Closed Thread
Results 1 to 40 of 135

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I tend to not use any resistor. If i need to drive high current, i sure use something else in between...
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    Join Date
    May 2007
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Thank you Steve & Ioannis.

    Steve, what do you mean with:
    "If i need to drive high current, i sure use something else in between..."

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default

    Another transistor or other driver I suppose.

    Microchip has such Mosfet drivers (either for high or los side)

    Ioannis

  4. #4
    Join Date
    May 2007
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Ioannis / Steve

    I would like to drive a 220V circuit with a power mosfet.
    Do you think an optocoupler is a MUST or will I be able to get away with a diode to protect my pic?
    If so, what diode or alternative protection would you recommend?
    Last edited by passion1; - 22nd June 2007 at 15:14.

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    it's up to you. Everything will depend of what the whole beast will do, and how the enclosure design is done. But to me, as long as there's room to fit a transformer and optocoupler and keep away the AC line away of the user... i feel better and sleep all night without any problem.

    What do you need to drive?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    ...

    But to me, as long as there's room to fit a transformer and optocoupler and keep away the AC line away of the user... i feel better and sleep all night without any problem.

    I double that. Even if the end user is well isolated from the circuit, YOU are not trying to make it work. You will have to debug the circuit while alive and sure put your life in danger.

    How many pcs are you going to sell? If it is say low quantity, for sure you will be paid by your time to develop the system. That money should be more than enough to let you put that transformer without second thought.

    In my country people say that coward's mother will never cry over the grave! Of course it sounds more elegant in greek than the awkard translation!!!

    Ioannis

  7. #7
    Join Date
    May 2007
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Ioannis / Steve

    Thank you for the wise advice!! I agree 100%.

Similar Threads

  1. calculator-like code entry with matrix keypad and display
    By Dennis in forum mel PIC BASIC Pro
    Replies: 35
    Last Post: - 16th December 2009, 22:58
  2. Need help in matrix keypad coding
    By rano_zen06 in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 24th May 2008, 13:16
  3. I2C PCF8574 4X4 Keypad routine
    By RFsolution in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th January 2007, 21:25
  4. Inconsistent output on a 4x4 matrix keypad
    By markcadcam in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 24th November 2006, 03:54
  5. very basic matrix keypad question
    By kitcat in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 8th July 2006, 21:33

Members who have read this thread : 2

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts