Pages: [1]   Go Down
Author Topic: smd regulator for running a single 328 ic?  (Read 876 times)
0 Members and 1 Guest are viewing this topic.
uk
Offline Offline
Sr. Member
****
Karma: 0
Posts: 314
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Faraday Member
**
Karma: 62
Posts: 3080
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Faraday Member
**
Karma: 150
Posts: 5661
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

uk
Offline Offline
Sr. Member
****
Karma: 0
Posts: 314
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Tesla Member
***
Karma: 227
Posts: 6637
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17301
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Faraday Member
**
Karma: 159
Posts: 2916
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 150
Posts: 5661
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've just been using some TI LM2936Qs, they seem to have the characteristics you're looking for.
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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 Offline
Sr. Member
****
Karma: 0
Posts: 314
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Jr. Member
**
Karma: 4
Posts: 67
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you tried entering your requirements on webench and checking out TI's suggestions?

http://www.ti.com/ww/en/analog/webench/power.shtml

Just 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 Offline
Sr. Member
****
Karma: 0
Posts: 314
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thats amazing thanks
Logged

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
not leaving much margin for error

That can be a huge plus and a life-saver sometimes.
Logged

the land of sun+snow
Offline Offline
Faraday Member
**
Karma: 159
Posts: 2916
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

uk
Offline Offline
Sr. Member
****
Karma: 0
Posts: 314
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ok
LM2931 wins, looks exactly what i need many thanks for the help.
Logged

Pages: [1]   Go Up
Jump to: