Shop OBEX P1 Docs P2 Docs Learn Events
Propeller in a car... — Parallax Forums

Propeller in a car...

jmspaggijmspaggi Posts: 629
edited 2010-07-28 02:53 in Propeller 1
Hi all,

I would like to had some features to my car and I'm planning to use a propeller for that.

What I want to add is:
  • Temperature controller (instead of just an on/off fan with warm air);
  • OGG (Or mp3 if not available) player;
  • Rear alarm (the thing which beep when your bumper is close to the wall);
  • RTC with multiple alarms, countdown;
  • A display and some buttons to control all of that.

If I found other ideas, I will probably at it [noparse];)[/noparse]

My question now is regarding the power suply. I found 12V in the dash and I want to power my board with that. I need to get 5V (The display) and 3.3V from this 12V.

Can I use an LM317 for that? 12V will be enought. But will it be to much and that will overheat? Also, when I start the car, is there some risk to burn the LM317 and/or the prop?

Is there anything I should worrie about with a project like this one?

Thanks,

JM

Comments

  • max72max72 Posts: 1,155
    edited 2010-07-27 14:31
    I used the 12V from the car with protoboards when playing with GPS, and I used 12V gel batteries on the go with the same protoboard. It works fine as long as you don't use too much power.
    Otherwise you need to dissipate the heat generated. The higher it input voltage, the more power goes to heat on the regulator.

    For instance in my case a LCD with back light was too much.

    A switching regulator works fine with me..
  • jmspaggijmspaggi Posts: 629
    edited 2010-07-27 15:07
    Hi Max,

    What I'm expecting to use is:
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Linux? There is worst, but it's more expensive.
  • max72max72 Posts: 1,155
    edited 2010-07-27 15:32
    Linear regulators have an efficiency inversely related to the voltage drop from supply voltage to regulated voltage, and of course proportional to the current draw.
    So heat to be dissipated is proportional to voltage drop and current. The protoboard dissipates heat on the pcb. If you add in your design a heat sink it could be enough and happily live with the linear regulator.

    Swhitching regulators are (in general) a more efficient solution.
    For instance I use linear's LM2594. You need more external components.

    Check the net. The manufacturers usually have designer's guides available for free.

    For instance:
    focus.ti.com/lit/an/slva118/slva118.pdf

    Massimo
  • max72max72 Posts: 1,155
    edited 2010-07-27 15:35
    Check also this other one:

    www.onsemi.com/pub_link/Collateral/HB206-D.PDF

    Massimo
  • jmspaggijmspaggi Posts: 629
    edited 2010-07-27 15:45
    Super, thanks.

    Based on my knowledge with electronic components, I will probably go with a heat sink first [noparse];)[/noparse]

    And thanks a lot for the links! I will start to read the 1 document you sent. I might be able to get something from that.

    JM

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Linux? There is worst, but it's more expensive.
  • max72max72 Posts: 1,155
    edited 2010-07-27 15:53
    Check also the stability of your supply. For instance when switching on the engine there could be a voltage drop, or the power could be shut down for a little bit, resetting your system. If you cannot accept it you must investigate a temporary supply to the key components. Maybe a supercap is enough...

    Have fun!

    Massimo
  • DynamoBenDynamoBen Posts: 366
    edited 2010-07-27 15:55
    I used this on a motorcycle project, you could add the 3.3V regulator to it.

    www.seetron.com/an_vpwr1.htm
  • jmspaggijmspaggi Posts: 629
    edited 2010-07-27 16:37
    Can I use this 5V output on the LM317 input to generate the 3.3V? Or will the LM317 require more than 5V do to 3.3V?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Linux? There is worst, but it's more expensive.
  • soshimososhimo Posts: 215
    edited 2010-07-27 17:27
    jmspaggi said...
    Can I use this 5V output on the LM317 input to generate the 3.3V? Or will the LM317 require more than 5V do to 3.3V?
    You usually want to keep your supplies separate. Heavy current pull on the LM317 can pull down the voltage down which will cause problems with your 3.3 regulator. Also, if your 317 goes out all your power goes out. If you keep your supplies independent you can avoid all of these issues.
  • jmspaggijmspaggi Posts: 629
    edited 2010-07-27 17:54
    Ok. Thanks for the recommandation. So I will keep my +3.3 and my +5V. I will probably go with the LM317 because I know it, and put a common heat sink for the 2.

    JM

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Linux? There is worst, but it's more expensive.
  • Jim FouchJim Fouch Posts: 395
    edited 2010-07-27 23:19
    You may want to take a peek at these...· http://www.ereshop.com/index.php?main_page=product_info&cPath=75&products_id=189

    They are a switching powersupply that will be much better than a linear one. It has a fixed 5V and an adjustable one.

    I'd bypass the linear ones on the proto board and drive it and what ever else you need from this. It will deliver upto 1amp on each the 5V and the adjustable one. I'd replace the pot with a fixed resistor.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jim Fouch

    FOUCH SOFTWARE
  • jmspaggijmspaggi Posts: 629
    edited 2010-07-28 00:27
    Looks good! I like solutions where everything is already done for me! [noparse];)[/noparse]

    I will see what's the best option for my needs.

    Thanks again.

    JM

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Linux? There is worst, but it's more expensive.
  • w8anw8an Posts: 176
    edited 2010-07-28 02:53
    Wow, it's hard to justify making any kind of power supply when you can get that SW5AS for fifteen bucks!
Sign In or Register to comment.