I have found a library that overclocks the Arduino Due (Due overclocking library) and am wondering if anyone else has any experience with it. I am working on an enviromental monitoring program which needs to last a very long time on 1 battery. How much can I UNDERCLOCK the Due using that library before it starts failing?
Hi @e7ethan
It's usually easier run the processor at normal speed and then put it to sleep once all the processing is done.
For maximum battery life, you may need to put peripherals as well as the processor to sleep.
An alternative approach, which also saves the most power, is to power down the entire setup and periodically wake it up, using a timer module like this one:
Adafruit TPL5110 Low Power Timer Breakout : ID 3435 : $4.95 : Adafruit Industries, Unique & fun DIY electronics and kits.
Not just easier - also generally gives far better results!
Also, what's the reson(s) for choosing the DUE?
I wouldn't have thought it was the best choice for lowest power?
Yes, however I am also using a library whoch saves data to the Dues flash, ans this gets wiped when powered off
The number of IO ans Analog pins it has
(For reference I need to take a reading from 3 connected things every 12 hours for 6-12 months)
If it's saved to Flash then it should not get wiped at power off - that's the whole point of writing to flash!
So you only need 3 analogue inputs?
How many digital pins do you need?
So you should definitively have the device sleeping (or powered off) between readings
Hard to imagine how that might happen. More likely, you are confused about what the library does, or how to use it. Please post a link to it.
The storage library
"Non-Volatile" means "not lost over a power cycle"
So if yours is being lost, you're doing something seriously wrong!
From the GitHub page:
So were you also uploading new sketches?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.