Getting rid of noise of car battery/alternator


Closed Thread
Results 1 to 16 of 16
  1. #1
    Join Date
    May 2007
    Posts
    66

    Default Getting rid of noise of car battery/alternator

    Hi All

    I would like to connect my pic16f73 to my car battery and run the pic while driving.
    I was thinking of using the attached voltage regulator, but I was told that the power in a car is very noisy and I should add additional protection against noise to protect the pic?
    In the attached circuit I'm using a LM7805 to bring the voltage down from +13.8VDC to +5VDC

    Any suggestions what needs to be added to my circuit as to protect my pic, or can I continue to use the circuit in my car as is?
    Any help will be appreciated!
    Attached Images Attached Images  
    Last edited by passion1; - 6th March 2008 at 12:21.

  2. #2
    Join Date
    May 2007
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    In another thread the attached schematic was suggested to monitor voltage of a car battery.
    Am I right in saying that, If I am not monitoring the voltage but merely wants to run my pic from the battery,
    then I only need the portion included in the red box?
    What would be appropriate components/values for Z1, D1, D2?
    For Z1, what is best, a 18V transorb or a zener?
    For D1, D2, is a 1n4007 good enough?

    Thanking you in anticipation!
    Attached Images Attached Images  
    Last edited by passion1; - 6th March 2008 at 13:35.

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


    Did you find this post helpful? Yes | No

    Default

    The only thing I would add to the first circuit and it may not be necessary, just a habit of mine, is a 4700uf on the 5 volt side.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    May 2007
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Dave

    Thank you for the suggestion.
    Is the purpose of the 4700uf on the 5 volt side to smooth out voltage spikes?

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


    Did you find this post helpful? Yes | No

    Default

    Yes and no.
    You should not have spikes coming from the LM7805. Spike being something more than 5V. You can pick up some high frequency noise and the 4700 will help with that.

    The other thing a larger cap will do is help on brown outs. Depending on your app, it may not be a concern.
    Dave
    Always wear safety glasses while programming.

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by passion1 View Post
    Dave
    Thank you for the suggestion.
    Is the purpose of the 4700uf on the 5 volt side to smooth out voltage spikes?
    That, and probably a bit of a temporary power source for when you turn on your headlights and kill main power down to a couple of volts for a split second. It's not much, but it would probably save your PIC from losing it's mind.

  7. #7
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    See picture.


    Best regards,

    Luciano
    Attached Images Attached Images  

  8. #8
    Join Date
    May 2007
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Luciano

    Wow! Thank you for a very comprehensive power supply design!
    Can/should I still add the 4700uf to your circuit as well, as suggested by Dave and Skimask,
    or does your circuit already provide a bit of a temporary power source for when one turn on the headlights?
    Last edited by passion1; - 7th March 2008 at 05:46.

  9. #9
    Join Date
    May 2007
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    That, and probably a bit of a temporary power source for when you turn on your headlights and kill main power down to a couple of volts for a split second. It's not much, but it would probably save your PIC from losing it's mind.
    Skimask

    Thank you for the explanation!

  10. #10
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    All depends from where you get the 13.8V.
    Ignition key switch? Car battery direct?
    Are you using the brown-out detection of the microcontroller?
    How much current is drawn by your circuit?

    Headlights are not a problem unless your car is like a Christmas tree. (Rooflights).
    See picture below. (Starter/battery voltage).

    Best regards,

    Luciano


    (Click to enlarge the picture).
    Last edited by Luciano; - 7th March 2008 at 12:06.

  11. #11
    Join Date
    May 2007
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Luciano

    Thank you for the graph!
    I will be using the ignition key switch to activate the circuit.
    My circuit will be driving a load of up to 30A via a mosfet.
    In this case, can/should I still add the 4700uf to your circuit as well?

  12. #12
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    How much current is drawn by your board when the mosfet is not activated?
    Are you using the brown-out detection of the microcontroller?

    Best regards,

    Luciano

  13. #13
    Join Date
    May 2007
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Luciano

    I have not measured it, but it is very little current.
    I am not using the brown out detection.

  14. #14
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi,

    Build a prototype and try it out.
    Enable the brown-out detection.

    Best regards,

    Luciano

  15. #15
    Join Date
    May 2007
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Luciano

    Thank you for the advice!

  16. #16
    Join Date
    Mar 2004
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    If you are still having trouble ty adding a choke in series with the incomming supply as well as capacitor on input and output of reg. Cars can be so noisey!

Similar Threads

  1. Car radio (Car radio and electronics support forum)
    By freewillover in forum Forum Requests
    Replies: 1
    Last Post: - 1st July 2009, 19:41
  2. Need suggestions for noise suppression
    By paul.barsamian in forum General
    Replies: 2
    Last Post: - 29th March 2008, 14:37
  3. Slot Car timer with pic 16f84a
    By Snap in forum Serial
    Replies: 4
    Last Post: - 5th July 2007, 04:58
  4. Need help with RC car code
    By rey1867 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th June 2006, 00:18
  5. Remote Car Starter Safety
    By CocaColaKid in forum General
    Replies: 8
    Last Post: - 22nd November 2005, 09:10

Members who have read this thread : 1

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