uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« on: January 25, 2013, 06:41:24 am » |
hi ive got a requirement to add a clock to a 328, so i need a battery backup for it if the power goes out just wondering what is the most common surface mount 100ma regulator i could use / most popular one. or maby is there a more suitable one that i could use for such a small current?
i did measure a single 328 running think it was about 15ma if i remember
my first choice would be a 78L05L just wondering if this is a common regulator
thank you
|
|
|
|
« Last Edit: January 25, 2013, 06:53:35 am by jonisonvespa »
|
Logged
|
|
|
|
|
Offline
God Member
Karma: 9
Posts: 836
|
 |
« Reply #1 on: January 25, 2013, 06:53:49 am » |
Your question is unclear, are you trying to power the microcontroller, or the real time clock, or charge up the battery ?
|
|
|
|
|
Logged
|
|
|
|
|
Valencia, Spain
Offline
Edison Member
Karma: 65
Posts: 2227
|
 |
« Reply #2 on: January 25, 2013, 06:55:11 am » |
hi ive got a requirement to add a clock to a 328, so i need a battery backup for it if the power goes out just wondering what is the most common surface mount 100ma regulator i could use / most popular one. or maby is there a more suitable one that i could use for such a small current?
i did measure a single 328 running think it was about 15ma if i remember
my first choice would be a 78L05L just wondering if this is a common regulator
thank you
What are your requirements for dropout voltage, etc.?
|
|
|
|
|
Logged
|
|
|
|
|
uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« Reply #3 on: January 25, 2013, 07:02:59 am » |
mmm maby i have to think about this a bit more, ok drop off voltage not a problem as the battery backup will be a 12v.
im just trying to power the microcontroller, for when the power goes off.
i have 2 328's in the same circuit i would like to isolate 1 and run it using using a rechargeable battery
|
|
|
|
« Last Edit: January 25, 2013, 07:23:27 am by jonisonvespa »
|
Logged
|
|
|
|
|
United Kingdom
Offline
Faraday Member
Karma: 130
Posts: 4643
|
 |
« Reply #4 on: January 26, 2013, 02:13:35 pm » |
What is powering the circuit the rest of the time? You need to design it so that there is an orderly handover of power from the PSU to the battery. The usual solution is to feed the voltage regulator from the PSU through a diode and from the battery via another diode.
|
|
|
|
|
Logged
|
Formal verification of safety-critical software, software development, and electronic design and prototyping. http://www.eschertech.com
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15309
Measurement changes behavior
|
 |
« Reply #5 on: January 26, 2013, 02:20:39 pm » |
No need to have battery power for the 328p just to maintain time/date information. Do what most do and add a simple I2C RTC module that has it's own battery back-up protection. https://www.adafruit.com/products/264
|
|
|
|
|
Logged
|
|
|
|
|
the land of sun+snow
Offline
Edison Member
Karma: 78
Posts: 2089
|
 |
« Reply #6 on: January 26, 2013, 02:50:16 pm » |
The other thing is, the 78L05L v.regs have a 5mA or so quiescent [bias] current, so not great for low-power apps. Better choice would be something like an LP2950.
|
|
|
|
|
Logged
|
Murphy's Corollary: the "real" problem is usually what they don't tell you about, which leads to endless second-guessing. m
|
|
|
|
Valencia, Spain
Offline
Edison Member
Karma: 65
Posts: 2227
|
 |
« Reply #7 on: January 26, 2013, 03:39:20 pm » |
I've just been using some TI LM2936Qs, they seem to have the characteristics you're looking for.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 114
Posts: 2205
|
 |
« Reply #8 on: January 26, 2013, 07:46:54 pm » |
i did measure a single 328 running think it was about 15ma if i remember That's about right. I usually use 20ma as the practical upper limit. As to regulators, if you are only power the mcu, you may think if a) you need a regulator; and b) you need a beefy one. A 78L05 would be a good choice here, or the 1117s - they are much cheaper.
|
|
|
|
|
Logged
|
|
|
|
|
uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« Reply #9 on: January 27, 2013, 05:48:06 am » |
thanks for the input, i think i will use a ti LM2936MP-5.0/NOPB
my only concern is the max regulation 50ma, is a bit close to the currents ive measured of a running 328 ie 20ma not leaving much margin for error
my 328 will be idle as power to the circuit will be turned off
will this be ok?
|
|
|
|
« Last Edit: January 27, 2013, 05:56:19 am by jonisonvespa »
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 4
Posts: 59
|
 |
« Reply #10 on: January 27, 2013, 02:28:22 pm » |
Have you tried entering your requirements on webench and checking out TI's suggestions? http://www.ti.com/ww/en/analog/webench/power.shtmlJust tell 'em your voltage/current requirements and optimize for price/footprint/efficiency. Requires registering at TI I think, but it's well worth it.
|
|
|
|
|
Logged
|
|
|
|
|
uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« Reply #11 on: January 27, 2013, 05:08:22 pm » |
thats amazing thanks
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 114
Posts: 2205
|
 |
« Reply #12 on: January 27, 2013, 05:51:54 pm » |
not leaving much margin for error That can be a huge plus and a life-saver sometimes.
|
|
|
|
|
Logged
|
|
|
|
|
the land of sun+snow
Offline
Edison Member
Karma: 78
Posts: 2089
|
 |
« Reply #13 on: January 28, 2013, 03:56:50 am » |
I just happened to tabulate 9 TO-92 v.regs today for a project I'm working on. Here is the list versus current spec [not exhaustive - just the datasheets I had on file, BTW].
50 ma: LM2936 78 mA: Seiko-817 100 ma: 78Lxx, LP2950, LM2931, Seiko-812, Toko-TK711xx 250 mA: MCP1702, L4931
Note - some of these parts have "unusual" pinouts. There are also a lot of smt v.regs that I wasn't interested in here.
Thermal resistance for TO-92 is 200 degC/W, so you have to be a little careful about over heating at the higher currents. Eg, with Pd = Vdrop * Iload = 0.5W, and you limit Vdrop to 0.5W/.25A = 2V, it'll still burn your finger.
|
|
|
|
|
Logged
|
Murphy's Corollary: the "real" problem is usually what they don't tell you about, which leads to endless second-guessing. m
|
|
|
|
uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« Reply #14 on: January 28, 2013, 11:26:03 am » |
ok LM2931 wins, looks exactly what i need many thanks for the help.
|
|
|
|
|
Logged
|
|
|
|
|
|