finding how much current the BS2 module draws
Matthew
Posts: 200
How do I find out how much current my BS2 module draws? I've been looking at the datasheets but don't know the difference between "source" and "sink".
Does the current draw depend on how many I/O pins I use? Does it matter what purpose I'm using the pins for, or will they always draw a certain amount of current if in action?
Thanks,
Matthew
Does the current draw depend on how many I/O pins I use? Does it matter what purpose I'm using the pins for, or will they always draw a certain amount of current if in action?
Thanks,
Matthew
Comments
Current is a flow of charge. The net current flowing in to a node must equal the net current flowing out of a node. Here, the node is your BS2. Your BS2 takes a certain amount of current from Vdd and runs it to Vss in order to do its processing (say 10 mA -- I've never measured it). If it is sourcing (outputting) current to an LED (say another 10 mA) then it is pulling that 20 mA total from the Vdd line.
"Sourcing" current is when the BS2's output pin is high, and it is driving a device whose other end is to Vss (or Ground). Thus current flows out of the BS2 at +5 volts, through the device, and into the ground.
"Sinking" current is when the BS2's output pin is LOW, and it is 'sucking' current trough a device whose other end is tied to Vdd (+5). This current flows through the device, into the BS2's pin, and into the BS2's Vss ground.
So, the more I/O pins you have active, the more current you can draw. Now, each BS2 pin has a limit of about 20 mA before it burns out. And the BS2 as a whole can only sink or source 50 mA, so you can't do that 20 mA on more than 2 pins at a time.
Yes, it matters what you are using the pins for.
Ohms Law is stated: V = I x R, which means: The voltage across a device (in volts) will equal the current through the device (in Amps) times the Resistance of the device (in Ohms). The driving force here is Voltage, which is usually +5 volts in BS2 circuits. The variable you have some control over is usually resistance. For a given voltage and given resistance, a resulting current will flow. If that current is too high, things act like a fuse and burn up. "Too high" here is some value above 20 mA.
Finally, the easiest way to find out how much current your BS2 draws is to put an ammeter in the Vdd line to the BS2 and measure it.
I plan on hooking up many devices to one 9v battery. I'm sure there's a limit to how much current it can give before no longer being able to power everything. What is this limit called? Is there a way of finding out?
(mah).· That means it will supply 1ma for 635 hours or 635ma for one hour
or 63.5 ma for 10 hours.· If you are going to run several devices off of one battery you should know how much current each device consumes.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Do you have a Stamp Tester?
http://hometown.aol.com/newzed/index.html
·
Be careful about what kind of chips you interface to.
74LSxxx chips are common, but even the simplest of them can draw more current than your BS2.
Instead, use 74HC or 74AHC chips as these are based on CMOS and therefore draws very little current.
Also, note that the 5V regulator on the BS2 can only deliver a limited amount of power to drive other circuits.
(The BS2 have about 43mA left over to drive external circuits)
If the battery has 635mAh, I'm sure there's a limit to how fast it can discharge, right? It probably can't deliver 1270mA for half an hour, or 38,100mA for one minute. I'm looking to draw about 200mA for all of the various devices.
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Do you have a Stamp Tester?
http://hometown.aol.com/newzed/index.html
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Do you have a Stamp Tester?
http://hometown.aol.com/newzed/index.html
·
a capacity of 11400mah, but only at 1.5 volts.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Do you have a Stamp Tester?
http://hometown.aol.com/newzed/index.html
·
The rate of discharge in a battery is not linear. A battery's amp-hour rating is based upon a predefined discharge rate at a predefined temperature. For example, the batteries for your car, rv, boat, etc. are rated at a discharge rate of 20 amps. If you discharge a battery at a lower rate you will realize a larger number of amp-hours than the rated capacity. Conversely, if you discharge at a higher rate you will get fewer amp-hours.
This affect is defined by Peukert's Exponent. Below is a quote from a pretty clear explanation of it on the web:
Where you will find the rated discharge current and Peukert's Exponent for a 'AA' battery I know not. I'll leave that exercise to you. It may well be that it doesn't really matter to you in your application. But if you are trying to forecast battery life, this is part of that equation.
Jim
Now if you have a single 1.5 volt AA cell, which has a capacity of 2800 mA-Hours, then that's 1.5 Volts * 2800 mA or 4.2 watts.
If you have 4 batteries, that's 4 times the power, or 16.8 watts.
Now, you can have that 16.8 watts at 1.5 volts by putting all batteries in parallel. 16.8 / 1.5 == 11,200 mA-Hours.
You can put them in series, and get 16.8 watts at 6 volts, 16.8 / 6 == 2800 mA-hours.
Oh, look, there's our 2800 mA-hours again. Yes, putting them in series DOES add to the 'power', but you get the same current, just at a higher voltage. Power is conserved.
Now, it is VERY true that the amount of power you get out of a battery depends heavily on the RATE you take that power out. Typical measurement values are 1 mA, 10 mA, 100 mA, etc. The 'Technical' part of the Duracell web-site will show you the curves of current versus time for this. Note that battery capacity is usually measured by the amount of current you get out versus what the output voltage of the battery is.
Since we have NO idea the power needs of your circuit, the fastest brute-force way to solve this is to assume you really do get the 2800 mA-hours (or whatever), build your circuit, then measure how fast the battery voltage falls in use.
And the 4-AA cell really is the best energy density, if you're going to be pulling 200 mA. That seems like a lot for a battery powered circuit.