Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 4th August 2008, 01:17 PM   (permalink)
Question Batteries & Chargers

Hello all,
Im trying to figure out or determine what batteries to use for a project and how to charge them.

I need these batteries to supply enough voltage and amperage for:

GLCD
TOUCHSCREEN
PIC
LEDs
External SD

Now i dont know but to me that too much and will die on a 9v battery to fast. so i was thinking instead of using a 7805 i would just use like 3-4 rechargeable 1.2v - 1.5v batteries and make a desk charger for it. Now the thing is i dont know squat about batteries and how to charge them and how to calculate ho long they would last on a single full charge.

That is why i am asking you people lol (guys/gals (if any(no offense)))
Should i use small AA type? C,D type? How do i know which are best.

Please if you recommend a battery... explain why so at least i can learn this stuff lol.

Thanks again.
__________________
My Name: Jason Lopez
My Goal: To learn and Create.
My Micro: PIC and soon AVR or ARM7
AtomSoftTech.com
My YouTube Videos!

My Favorite Stores:
dipmicro Electronics
SparkFun Electronics
Futurlec
BG Micro
AtomSoft is offline  
Old 4th August 2008, 02:37 PM   (permalink)
Default

The more regulation (regulator input-outputV) you use the more power you will be wasting. Unless you use a switching regulator.

LDO (Low dropout regulators) require less voltage difference between the input and regulated output. If you need regulated 5V, 4 AA's with a 5V LDO regulator is where I would start.

How much current you will need depends on the devices. The big one is how many LEDs you will be using and how much you pump through each.

I do not know squat about the touchscreen or SD memory. The slower you can run the PIC the less power it will use. But compared to what a lot LEDs can eat it may be at the level of noise.

EDIT: You left out some important info. Like how long you expect the project to run on a charge.

Last edited by 3v0; 4th August 2008 at 02:38 PM.
3v0 is online now  
Old 4th August 2008, 03:33 PM   (permalink)
Default

I wanted to know how long would it last lol. I have no expectations at this moment since i know nothing about this subject. There will be most likely 2 LEDs. 1 For power and one as a low power warning.

Do you have any links as to learn about LDO Regulator before i google it?

Is there some type of formula i can use to calculate how much current the whole project will use by like adding all current requirements of each component. Like how much current does a LED pull? typical? like 20mA ? if so then 2 would eat 40mA if on at same time right?

If i knew like how to calculate this. Or is that how its done? by adding the current usage? If so then i can simply make like a flow chart for power useage to determin what would be the max current used at any given moment.
__________________
My Name: Jason Lopez
My Goal: To learn and Create.
My Micro: PIC and soon AVR or ARM7
AtomSoftTech.com
My YouTube Videos!

My Favorite Stores:
dipmicro Electronics
SparkFun Electronics
Futurlec
BG Micro
AtomSoft is offline  
Old 4th August 2008, 03:55 PM   (permalink)
Default

Can't you just use four AA cells?

Most PICs will be alright to 6V for short periaods of time and if you're worried about that then use a diode to drop it down to 5.4V and give reverse polarity protection.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 4th August 2008, 04:00 PM   (permalink)
Default

Quote:
Originally Posted by AtomSoft View Post
I wanted to know how long would it last lol. I have no expectations at this moment since i know nothing about this subject. There will be most likely 2 LEDs. 1 For power and one as a low power warning.

Do you have any links as to learn about LDO Regulator before i google it?

Is there some type of formula i can use to calculate how much current the whole project will use by like adding all current requirements of each component. Like how much current does a LED pull? typical? like 20mA ? if so then 2 would eat 40mA if on at same time right?

If i knew like how to calculate this. Or is that how its done? by adding the current usage? If so then i can simply make like a flow chart for power useage to determin what would be the max current used at any given moment.
hi atom,
While it is possible calculate the total current in the circuit, its sometimes more feasible to construct the circuit
[ on a project board if needed] and measure the current taken by the circuit.

In this way you can determine the lowest voltage that gives sure operation and allow +10%
,as you know the local mains supply isnt always whats says on the box.!

The same applies to operating mains transformers at different mains frequencies.

Get the 'worst case' condition for the current and voltage, by using a variable bench psu and add 10% to 15%
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 4th August 2008 at 04:01 PM.
ericgibbs is offline  
Old 4th August 2008, 04:25 PM   (permalink)
Default

Ni-MH batteries are made in AA size with a 2500mAh rating. They can supply 40mA for the LEDs plus 10mA for the circuit for 50 hours. They need a charger circuit that provides enough voltage with the current regulated then the circuit detects when they are fully charged and turns off the charger.
__________________
Uncle $crooge
audioguru is offline  
Old 4th August 2008, 04:31 PM   (permalink)
Default

A simple charger can be built with a resistor, diode and wallwart to provide the battery with a charge current of 125mA but it'll take a day to fully charge the batteries.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 4th August 2008, 04:40 PM   (permalink)
Default

Energizer and Panasonic say to reduce the trickle-charge current to only C/40 which is 62.5mA.
__________________
Uncle $crooge
audioguru is offline  
Old 4th August 2008, 04:46 PM   (permalink)
Default

That's totally ridiculas, at 125mA the batteries will only be dissipating 200mW (charged to 1.6V per cell) so I don't think anything bad will happen, especially if you don't leave them connected for days on end.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 4th August 2008, 04:46 PM   (permalink)
Default

so the formula would be mAh / mA usage = hours?

Like if my circuit has 2 leds @ 20mA ea. thats 40mA
Then the uC:
Code:
LEDs:
2 @ 20mA = 40mA
uC:
Maximum current sunk by all ports (combined)...200 mA
Maximum current sourced by all ports (combined) ...200 mA
Maximum output current sunk by any I/O pin...25 mA

GLCD:
Power Supply Current 15.0 mA
LED Power Supply Current 470 to 560 mA
so thats a whopping 815mA max current:
then

2500 / 815 = 3 hours of operation time? (Using max values)

OR

2500 / 525 = 4-5 hours. (typical values that will be used)

Would this be correct?
Would i use that from the uC datasheet?

Um also i own 2 multimeter and some books on how to measure
current but need look up the info on how to measure current
so just bare with me
__________________
My Name: Jason Lopez
My Goal: To learn and Create.
My Micro: PIC and soon AVR or ARM7
AtomSoftTech.com
My YouTube Videos!

My Favorite Stores:
dipmicro Electronics
SparkFun Electronics
Futurlec
BG Micro
AtomSoft is offline  
Old 4th August 2008, 04:51 PM   (permalink)
Default

i have about 5 - NH15 1.2v 2500mAh Energizer batteries. Can someone make a simplified drawing on how to make this charger? Or is it just resistor & diode in series? (would still like drawing lol) i dont want to explode these good(expensive) batteries
__________________
My Name: Jason Lopez
My Goal: To learn and Create.
My Micro: PIC and soon AVR or ARM7
AtomSoftTech.com
My YouTube Videos!

My Favorite Stores:
dipmicro Electronics
SparkFun Electronics
Futurlec
BG Micro
AtomSoft is offline  
Old 4th August 2008, 04:56 PM   (permalink)
Default

Pins can't both source and sink current at the same time and you're not going to be using all the I/O pins at the same time so you can ignore it, it's an absolute maximum rating for the µC not what it uses. In reality the power consumption of the µC will depend on the clock frequency and what you're doing but it won't be much, let's just assume 10mA.

That just leaves 40mA for the LEDs but I'd run them at 10mA each so the last longer giving just 20mA.

What do you mean 15mA for the power supply, is this the quiescent current for the linear regulator?

This leaves a maximum of 605mA.
__________________
I also post at the following sites:
http://www.stop-microsoft.org http://www.heated-debates.com
Screen name: Aloone_Jonez
And http://www.silicontronics.com, same screen name as here.
Hero999 is offline  
Old 4th August 2008, 04:57 PM   (permalink)
Default

Your micro-controller is driving only two 20mA LEDs, not 10 of them.
The touch screen probably has many LEDs as a back-light so its current is pretty high and the AA cells won't last long for each charge.

Be careful about C and D size Ni-MH cells from Energizer. They have a little AA cell inside.
__________________
Uncle $crooge
audioguru is offline  
Old 4th August 2008, 05:11 PM   (permalink)
Default

Audioguru that sux lol

hero:
I didnt calc for both just showing the info i calc'd for 200mA for max since glcd uses like 11 pins thats 25mA * 11 (or max) but i am most likely wrong since i am indeed a noob to this lol

So what your telling me is that a components like LEDs for example can source a max of 20mA. It depends on what i give it? so if i want i can send it only 5-10mA and brightness with vary i assume but is that how it works. lol (i dont know how i got through all this without knowing this either lol.)

For the "What do you mean 15mA" look at attachment. I will try measuring how much actual current the glcd draws at this moment.
Attached Images
File Type: jpg glcd.jpg (156.6 KB, 12 views)
__________________
My Name: Jason Lopez
My Goal: To learn and Create.
My Micro: PIC and soon AVR or ARM7
AtomSoftTech.com
My YouTube Videos!

My Favorite Stores:
dipmicro Electronics
SparkFun Electronics
Futurlec
BG Micro
AtomSoft is offline  
Old 4th August 2008, 05:17 PM   (permalink)
Default

Quote:
I will try measuring how much actual current the glcd draws at this moment
hi atom,
This is the point I was making about an empirical approach to measuring the current, you will spend ages trying to calculate it precisely and at the end of the day you will still have to measure it to be sure..
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 4th August 2008 at 05:18 PM.
ericgibbs is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Mobile Phone Chargers. lord loh. General Electronics Chat 3 3rd September 2007 07:24 PM
how do ac-dc phone chargers work? maor General Electronics Chat 3 28th July 2007 09:28 PM
Battery Chargers andrew12345678 Electronic Projects Design/Ideas/Reviews 11 12th January 2006 12:49 AM
Quick question about chargers 2camjohn General Electronics Chat 8 22nd October 2004 05:42 PM
Adaptor phugs for D/C Chargers Swiftmud General Electronics Chat 0 25th July 2003 03:27 AM



All times are GMT. The time now is 06:39 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

eXTReMe Tracker