How powering PIC in auto ?


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by fratello View Post
    I made some schematics with PIC (12F675=windows closer;16F648A=thermometer/thermostat) and I use them in my car. I powered them like in picture...but, sometimes, without any reason, the PIC's are damaged. If I replace them, in the sames boards, these works fine, for a while...(weeks, even month !) and...collapeses again ! Can somebody sugessting one better metod for powering PIC's in auto environment ? Thanks in advance for every reply and sorry for my poor english. All the best !
    Hi Fratello,
    Maybe you are getting a back EMF from the relays or motors, relays are good for over 100v back emf,also; try some decoupling caps across the motor power leads. I am pretty sure you already are using blocking or snubber diodes, perhaps a faster diode.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default

    Thanks for reply ! This is one of schematic that I use : module for up/down windows of my car. The powering is like in previous post. The capacitors for decoupling (10uF & 100nF) are SMD, near at pins of PIC's.
    LE : For relays I use 1N4007.
    Attached Images Attached Images  

  3. #3
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default

    In previous post VR1 is not correct...
    Attached Images Attached Images  

  4. #4
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Post Some trials

    Hi Fratello,

    Can you measure broken PIC's if the IO's have been damaged?
    - are input resistances (IO to GND) at the same level as with new PICs?

    Is there any possibility that ESD would enter the system when swithes are pressed?

    In car environment, you can easily charge up to very high potentials and if you discharge it to switches, PIC it can be damaged.

    1) You could add serial resistors to PIC inputs 4 & 5. Already small resistors (~100 ohm) will damp ESD currents.
    2) 5.1V zeners could be added next to C1 and C2.
    3) Or do both

    BR,
    -Gusse-

  5. #5
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default

    Thank You for reply !
    I have just one damaged 12F675; the resistance from pin 4 to GND are about 9k7, from pin 5 to GND are 9k1, with PIC powering with 5V ; PIC outside from module : pin 4 to GND = 16k3 and pin 5 to GND 13k3. What reveals that ?
    Unfortunate I don't have now one good 12F675 for measuring the IO resistance; I wait for postal messenger from e-commerce.

  6. #6
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Post

    Sounds pretty much broken to me. You could expect ~100kOhm input resistance or in that range (or even higher) for good parts.

    Try to add small resistors and 5.1V zener for switch inputs.

    BR,
    -Gusse-
    Last edited by Gusse; - 13th October 2009 at 19:53.

  7. #7
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default

    I use a Digi-key 497-6469-1-ND Transient Voltage Suppressor
    on every outside lead connected to the circuit.
    I believe they are much faster than old zener clamps.
    Also try to add a 100 ohm resistor or better ahead of each TVS so it doesn't
    have to pull the spike down in the entire system.
    For the power supply their could also be a diode and a 100 ohm resistor in
    series followed by a large capacitor and TVS in parallel to ground ahead of
    the volt regulator.
    The 100 ohm resistor can get hot depending on the current draw.
    You may have to adjust to less than 100 ohm to maintain voltage at peak
    current draw.

    Norm

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 10:00
  2. Replies: 67
    Last Post: - 8th December 2009, 02:27
  3. HSERIN & Interupts (aka controlling PIC programs from a remote PC)
    By HankMcSpank in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 17th June 2009, 14:46
  4. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

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