Matrix Keypad routine


Closed Thread
Results 1 to 40 of 135

Hybrid View

  1. #1
    Join Date
    May 2007
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Steve

    Does the same apply to driving a n-channel power mosfet?
    I would like to drive a IRFP250N n-channel mosfet.
    (for this mosfet the static drain-to-source on-resistance Rds(on)=0.075ohm,
    drain-to-source leakage current Idss = 25-250uA)
    Do I also need a resistor inbetween the mosfet and the output pin?
    If so, should I use the same calc as above to determine the ohm value of the resistor?

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


    Did you find this post helpful? Yes | No

    Default

    in theory, you don't need any resistor in between as the gate impedance and their gain(not the right term but.. ) is quite large . BUT if you worry of a Gate to Source short, or else weird stuff, you should use a resistor in serie to 'protect' the PIC.
    Steve

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

  3. #3
    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
    ... you should use a resistor in serie to 'protect' the PIC.
    If your concern is speed then
    this res should be as low as possible, 0-470 Ω.
    Else
    use larger one about 1K
    Endif

    Ioannis

  4. #4
    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.

  5. #5
    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..."

  6. #6
    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

  7. #7
    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.

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