logger power stays ~42,7ma at 10 sec cycle time to ~42.7ma / 60 sec cycle time to -42.7ma at 10min cycle time. hence no savings when minimizing data logging, The power down function only reduced power to ~36.8ma. which is a 14% saving... not enough when you are logging a DHT sensor/logger system with a 9V battery for 3-5 months not 40 hours not even 2 days...
UPDATE 10-2013 :
the WDT and AVR sleep reduces the current to 10-11 ma. Is there a MCU board which connects to the logger and programed from a pc that reduces this to below 1 ma when in a power down mode using 4 AA (4.6V) power….
Final update 1-8-2014... the fully assembled logger takes less current than the old unit. The new one has the LED disabled to reduce the current to about a mill. with a 1511 cycle for statement to sleep for 4 hours, the system was installed in the field. I will be retrieved in 2 months.
logger power , sleep power
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 61
- Joined: Sat Apr 28, 2012 6:23 pm
logger power , sleep power
Last edited by bethesdakid on Wed Jan 08, 2014 10:17 pm, edited 2 times in total.
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: logger power , sleep power
There are some notes on WDT usage here: http://letsmakerobots.com/node/24536. But one of the bigger problems with trying to save power on the Arduino is the 7805 linear voltage regulator. With a 9v power source, you are only about 55% efficient. You might consider using 4x NiMh (4.8v) as a power source, or using a more efficient 'buck' regulator such as this one to bypass the 7805:
- pgrunwald
- Posts: 36
- Joined: Tue Jul 14, 2009 10:32 pm
Re: logger power , sleep power
How does this method compare to using this: http://code.google.com/p/narcoleptic/ ? Does one have advantages over the other?
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: logger power , sleep power
The narcoleptic library looks like a good one. But it doesn't address the fundamental inefficiency of the 7805 voltage regulator. With a 9v source, you are throwing away almost half your available power. To maximize battery life, you would want to combine your low-power sleep strategy with a more efficient voltage source.How does this method compare
- pgrunwald
- Posts: 36
- Joined: Tue Jul 14, 2009 10:32 pm
Re: logger power , sleep power
Thank you, do I have to use NiMH or could I use Lithium? (do I have to stay below 5V?).
Thanks,
Paul
Thanks,
Paul
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: logger power , sleep power
You do want to keep it below 5v. (The absolute max rating for the Atmega is 5.5v). But you can get an Arduino to run on 3.3v, so it would probably be OK running on a single lithium cell. Not sure about the logger though. The on-board 3.3v regulator need some 'headroom' to regulate properly. The other option would be to go with 2 lithium cells and one of these: http://www.adafruit.com/products/1065
-
- Posts: 61
- Joined: Sat Apr 28, 2012 6:23 pm
Re: logger power , sleep power
thanks ada support. .. I did change to a 4ea 1.2V, 2450mAh battery producing 4.6V, 2450 mAh supply that reduced current of ardun/log w/ DHT 22 that resulted in a current of 20.1 mA. That will extend operating time to about 5 days. Now what can be done to get at least 3-5 months.
UPDATE 10-2013 :
the WDT and AVR sleep reduces the current to 10-11 ma. Is there a MCU board which connects to the logger and programed from a pc that reduces this to below 1 ma when in a power down mode?
UPDATE 10-2013 :
the WDT and AVR sleep reduces the current to 10-11 ma. Is there a MCU board which connects to the logger and programed from a pc that reduces this to below 1 ma when in a power down mode?
Last edited by bethesdakid on Sat Oct 12, 2013 3:13 pm, edited 2 times in total.
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: logger power , sleep power
Although the Arduino may be sleeping, the logger and probably your DHT 22 are still powered. You might consider using something like a MOSFET to switch power to the shield/'sensor only when the processor is awake.
The PIR sensor in the store will detect animal movement: https://www.adafruit.com/products/189
The PIR sensor in the store will detect animal movement: https://www.adafruit.com/products/189
- pgrunwald
- Posts: 36
- Joined: Tue Jul 14, 2009 10:32 pm
Re: logger power , sleep power
Any idea when the shields will be in? they have been on back order for a while.
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: logger power , sleep power
will be any day now!
-
- Posts: 61
- Joined: Sat Apr 28, 2012 6:23 pm
Re: logger power , narcoleptic sleep power
A test of narcoleptic was done with just the Arduino board and 4 ea 2000 (duracell) rechargable AA batteries. The nominal current was 27ma. Running the narcoleptic (MerlinTheCat) Power-down reduced the current to 19ma. Basically, the Arduino Uno R3 CPU, the Atmega328d, becomes inactive reducing the power consuption. So, the 8 ma reduction only shuts down the ATmega328d.
Other board systems are obviously still operating.
So the questions are:
A. how can the other systems on the board be reduced in power if the Arduino is to operate several times a day with only a DHT sensor and an IR detector ( several = 1 to 4 times) ? what other programs are necessary to do that?
B. This device is to be used with a logger shield. The total operating current is about 43 ma. Hence the shield takes 16ma. Can it be shut down to conserve power? What program will do that?
Other board systems are obviously still operating.
So the questions are:
A. how can the other systems on the board be reduced in power if the Arduino is to operate several times a day with only a DHT sensor and an IR detector ( several = 1 to 4 times) ? what other programs are necessary to do that?
B. This device is to be used with a logger shield. The total operating current is about 43 ma. Hence the shield takes 16ma. Can it be shut down to conserve power? What program will do that?
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: logger power , sleep power
As suggested earlier in the thread, you might consider using a MOSFET to switch power to the shields. This would involve cutting the trace from the 5v pin that supplies power to the shield and switching it via the MOSFET. If you have space left in the prototyping area of the shield, that would be a good location for the MOSFET.
The MOSFETs we carry in the store can be switched with a 5v logic signal. The Arduino can drive the signal high when it is active and let it be pulled low when it goes to sleep.
https://www.adafruit.com/products/355
The MOSFETs we carry in the store can be switched with a 5v logic signal. The Arduino can drive the signal high when it is active and let it be pulled low when it goes to sleep.
https://www.adafruit.com/products/355
-
- Posts: 61
- Joined: Sat Apr 28, 2012 6:23 pm
Re: logger power , sleep power
the test without the logger shows that the AA's will run a max of 5 days... need to reduce the power to at least 5ma for 20 days, optimum is 1 ma.
what software will do this?
I have a MOSFET that will be used when I install the logger shield...
what software will do this?
I have a MOSFET that will be used when I install the logger shield...
- gordiegii
- Posts: 137
- Joined: Fri Jan 04, 2013 8:26 pm
Re: logger power , sleep power
You need to modify the existing sketch to turn off the FET(s) before putting the Arduino to sleep and turn the FET(s) back on when it wakes up. Then you _might_ need to re-initialize the logger and/or your DHT 22 before you use them. It sounds like a lot of hassle, but should save a lot of power.
You also might look into using an Arduino Pro. I've heard they use less power. I don't know whether there would be any other ramifications to your project.
Gordie.
You also might look into using an Arduino Pro. I've heard they use less power. I don't know whether there would be any other ramifications to your project.
Gordie.
-
- Posts: 61
- Joined: Sat Apr 28, 2012 6:23 pm
Re: logger power , sleep power
The guru stated that 4ea AA rechargeables produce 4.6V which will reduce the current loss.
Wrong!
First set produced 5.8 V.
Second set was 4.8V
so... with 4.8V batteries,
First, run the UNO rev3 by itself. Check power.
Second, same setup, with Narcoleptic sleep. check power
Third, add Logger, check power
Wrong!
First set produced 5.8 V.
Second set was 4.8V
so... with 4.8V batteries,
First, run the UNO rev3 by itself. Check power.
Second, same setup, with Narcoleptic sleep. check power
Third, add Logger, check power
Please be positive and constructive with your questions and comments.