burning pins


Closed Thread
Results 1 to 8 of 8

Thread: burning pins

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    I did add 5k resistor between the pin and the gate. I also added a 100k resistor to the ground from the gate so that it stays at zero volt when not used. I found out that some relays where turning on for no apparent reason, with the 100k resistor it fixed that problem.
    could there be spikes from the ground coming from the coil in the relay when it collapse. (shutting down)

    k

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by lerameur View Post
    could there be spikes from the ground coming from the coil in the relay when it collapse. (shutting down)
    YES
    Do you have a "flyback"diode across the relay coil?
    http://en.wikipedia.org/wiki/Flyback_diode
    http://www.4qdtec.com/catch.html
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default

    flyback .. no

    ok here are the parts I have
    pin----5.1k-----gate
    drain ----100k-----source
    source----ground
    12v---coil----220ohm-----drain

    I will add a flyback thanks

    k

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Doin' good so far...'cept for the missing flyback diode always use one...make sure you get it in the right way!
    Are you using an N-channel MOSFET? Using the PIC to add a ground to the coil? The 100k resistor is bleeding off any leakage coming thru the MOSFET. N-channel aren't so bad for this, P-channel's are worse (and you have to pull the gate the other way)...that's probably why the MOSFET would turn on for no apparent reason.

Similar Threads

  1. 16F877A Pullups/Pulldowns and unused pins
    By DavyJones in forum General
    Replies: 6
    Last Post: - 17th April 2009, 01:39
  2. Change On Interrupt, PIC16F884
    By elec_mech in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 14th November 2008, 17:25
  3. PIC - 8 Pins - 6 Output Pins ?
    By DanPBP in forum Off Topic
    Replies: 0
    Last Post: - 22nd October 2007, 00:23
  4. I2C Effects on other PortA pins
    By kenmac in forum General
    Replies: 2
    Last Post: - 11th July 2005, 05:36
  5. PIC PORT 'special' pins
    By barkerben in forum General
    Replies: 1
    Last Post: - 18th January 2005, 21:40

Members who have read this thread : 0

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