As I said in your other post, go to a battery manufacturer's website and look at the detailed datasheets.
A battery voltage drops as it runs down. Therefore the LED (not lead) will get dimmer and dimmer. Transistors or an IC can be added to keep the brightness constant.
A 9V alkaline battery voltage drops to 6V in about 16 hours when it starts brightly with a 40mA load. The voltage drops quickly when it is less than 6V.
My red LEDs have an absolute max continuous current of 40mA. I never operate them at more than 30mA so they can last longer.
Like I said, look at the datasheet for a 9V battery on the website of a battery manufacturer like Energizer.
The datasheet show curves of the battery voltage dropping at a certain current.
The voltage drops quicker at higher current.
Here is a 9V alkaline battery with a 53mA load and with a 400mA load:
On the datasheet for Energizer's 9V alkaline battery there is a graph showing mAh from 625mAh when the current is 25mA to 300mAh when the current is 500mA.
They have a graph of how long it takes for the discharging battery voltage to drop to 4.8V and 6.0V when the load resistance is as you select on the graph.
They have a graph of how long it takes for the discharging battery voltage to drop to 4.8V and 6.0V when a constant load current is as you select on the graph.
They have graphs showing the voltage dropping with time when the battery powers a 620 ohm radio, a 270 ohm toy and a low current smoke detector.
I thought Batterys had a set mA just as they have a set Voltage.
How does this work then if the Current is allways diferant and the Voltage is say 1.5 Volt??
Now you need to look at the datasheet for a 1.5V battery.
Energizer's AA alkaline cell is 1.5V only when it is brand new. Its voltage drops as it runs down because its internal resistance increases.
Its datasheet shows that its capacity is 2750mAh when its load current is only 25mA and drops to 1500mAh when its load current is 500mA.
The datasheet has graphs for constant power and constant current.
It has graphs showing the voltage dropping with time when it powers a remote, a radio, a light, a toy, a CD player, a tape player, a digital camera and a photoflash.
Energizer have some fairly new and fairly expensive AA and AAA lithium cells. Their voltage stays near 1.5V for most of their life and they have a higher capacity than alkaline cells.
Ok I think the best thing for me to do is to start off new here and forget everything I asked.
You know I want to have a LED light up and I will be useing a 9. Volt Battery.
The LED needs 2 Volts at 40 mA to light up. And I know the 9. Volt Battery will be to mutch for it.
So to findout how mutch Resistance I will need I will use Ohms Law.
E over I = R
E = the Voltage 9 Volts and the I = Current that will be the Load 40 mA
So 9 Divided by .040 will be my Resistance YES or NO??
Just tell me if I have this mutch right if I don't just tell me NO and I think I will get it.
Ok I think the best thing for me to do is to start off new here and forget everything I asked.
You know I want to have a LED light up and I will be useing a 9. Volt Battery.
The LED needs 2 Volts at 40 mA to light up. And I know the 9. Volt Battery will be to mutch for it.
So to findout how mutch Resistance I will need I will use Ohms Law.
E over I = R
E = the Voltage 9 Volts and the I = Current that will be the Load 40 mA
So 9 Divided by .040 will be my Resistance YES or NO??
Just tell me if I have this mutch right if I don't just tell me NO and I think I will get it.
No.
The resistor will not have 9V across it. It will have only 7V across it when the 9V battery is brand new.
I think 40mA is the absolute max for the LED. Use 30mA and the LED will last much longer.
The battery also will last longer.