I have some small battery powered Arduino sensors in plastic cases about the house.
My thinking is I would like to drill a small hole and put an led behind it to add a small indicator led to each so when I look up at them and the led is lit I know the battery is not dead yet.
The Arduino runs on low power and only wakes up on an interrupt. With a T5 led ran for about 10 days. The Arduino has an led and so far it has run 90 days.
When you measure Arduino current lift the power pin on the Arduino as the
board uses current for the RS232 interface and other stuff. If you want its real
current measur.re it there.
Depends on the board/proto setup you are working on.. Note you want
the LED driven by the Arduino so its power is supplied thru Arduino supply pin.
Or make sure where you decide to measure current the LED is supplied with
power.
Note a DSO also makes it easy to measure total power consumed over time
with its math functions.
As I suggested testing in post #20 - I suspect you will be surprised how short a flash you can get away with. Depending exactly what your application is you may be able to add extra functionality by flashing at different speeds or intervals, I use this on a device we manufacture to give an indiction of battery life - slow flashing when fully charged, getting faster as it discharges.
I monitored the battery charging and discharging voltages and currents, and send them out the serial port to a PC and wrote them to a comma delimited file. Then I used EXCEL to generate graphs based on the charge and discharge characteristics (you only need voltage for discharge), then simply grabbed values at 100%, 90% etc. down to 10%. Once it gets to the 0% point everything is turned off.
Our discussion has been interesting, but I do not feel that I am any farther ahead than when I started.
I remain uncertain that continuously powering up the processor for a blink will save battery power instead of running a very low power LED all the time.
My Arduino processor has a built in power LED. So far, my test with it on all the time has run now for nearly 120 days. I felt that making up an indicator with a tiny one like that might be the way to go for now and I'll look into processor blinking later.
So, I took one of the Arduino LEDs off a non-working board but I am finding very hard (near impossible) to work with because it is so small.
Am I right in assuming that the Arduino's LED consumes less power?
I do not know what to look for in the hundreds of types available.
Can you suggest a blue one of similar specs that I can work with?
Our discussion has been interesting, but I do not feel that I am any farther ahead than when I started.
I remain uncertain that continuously powering up the processor for a blink will save battery power instead of running a very low power LED all the time.
How can you be 'uncertain'?- an LED on all the time uses ten times the power of one that's only on 10% of the time - so will only last 1/10th of the time. You don't 'continuously power up the processor', it's in sleep almost all the time, which presumably it already is anyway?.
Nope! You want the one with the lowest current that will produce an acceptable level of illumination. Since the LED will have a persistence when the current is removed you want to find a duty cycle that will give the visible illumination required with the minimum possible current.
How can you be 'uncertain'?- an LED on all the time uses ten times the power of one that's only on 10% of the time - so will only last 1/10th of the time. You don't 'continuously power up the processor', it's in sleep almost all the time, which presumably it already is anyway?.
Nope! You want the one with the lowest current that will produce an acceptable level of illumination. Since the LED will have a persistence when the current is removed you want to find a duty cycle that will give the visible illumination required with the minimum possible current.