How powering PIC in auto ?


Closed Thread
Results 1 to 20 of 20

Hybrid View

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

    Default How powering PIC in auto ?

    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 !
    Attached Images Attached Images  

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


    Did you find this post helpful? Yes | No

    Default

    Can we see the remainder of the schematic?

    Yes, that is a very basic power supply as one can get but I will bet you are getting a spike from someplace else.
    Last edited by mackrackit; - 11th October 2009 at 00:58.
    Dave
    Always wear safety glasses while programming.

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

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

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

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

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

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