Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
f (http://www.autodesk.com)
(https://cdn instructables com/FMR/UYBC/HYNYTKPL/FMRUYBCHYNYTKPL LARGE jpg) (https://cdn instructables com/F2M/ITH5/HYNYTKVY/F2MITH5HYNYTKVY LARGE jpg)
(/member/Rustie0125/)
By Rustie0125 (/member/Rustie0125/)
More by
Follow
the author: (/member/Rustie0125/)
I recently decided that I will investigate the Arduino Sleep Library and see how long I can
get an Arduino to run of a single N size1.5v Battery. Yes ! of a 1.5V battery. if you are
interested here is what you will need.
1) N size battery
http://www.instructables.com/id/Arduino-low-Project-and-code/ 1/11
4/14/2018 Arduino Low Power Project.
the code is written in such a way that when in sleep mode the current drawn is around 4.7
uA and when active around 7mA. but to this we need to do a couple of things to insure
that not extra power is wasted on regulators and leds.
(https://cdn instructables com/FFB/S9B9/HYNYTMTB/FFBS9B9HYNYTMTB LARGE jpg) (https://cdn instructables com/FME/O3MD/HYNYTK0N/FMEO3MDHYNYTK0N LARGE jpg)
Depending on the Version/ Supplier of your Arduino pro mini board there a few mods
needs to be made.
If you bought your pro mini board from spark-fun then you are lucky , there is only one
solder jumper that needs to be removed to disable the on-board power regulator.
Sparkfun board
In the photo you will see there a 3 modes marked, de-solder Mod "1" and you are done ,
this disables the power regulator and drops the current consumption to around 380 uA in
normal operation before the sleep code is uploaded
In the photo attached you need to remove the on-board power led by de-soldering it .the
LED is marked "3" and cut a trace on the board to disable the power regulator. see other
photo for the trace that needs to be cut.
You are one step closer ! this is all the hardware modi cations that needs to be done.
http://www.instructables.com/id/Arduino-low-Project-and-code/ 2/11
4/14/2018 Arduino Low Power Project.
The Photo attached illustrate the minimum wiring required to make your Arduino work. my
project made use of a cheap china data radio connected to pin 11 and pin 9 for power but
you can update the code as you desire.
Step 3: Code
This is the code currently running on my board.
Overview
This code wakes up every hour and reads a analog value on pin A3 and transmits the value
over a data link to a remote station. ( you can remove this code and replace with what ever
you want to do upon wake-up.)
the code has comments that explains everything the code does and should be easy to
modify as you require.
http://www.instructables.com/id/Arduino-low-Project-and-code/ 3/11
4/14/2018 Arduino Low Power Project.
Summary
All battery life predictions that follow is just that predictions and should not be taken as
factual but it should give you a good idea of expected battery life.
At 4.5uA of consumption in sleep mode and 7mA in active mode the maths looks as
follows.
Lets say you use the device once a day for 1 sec before going back to sleep
88200 hours at 1.5v before the step up converter. so divide 88200 by 2 because our
device runs at 3.3v
NOTE: I know there is better ways of doing this and longer times can be achieved by
running at 1.8v but since most sensors run at either 3.3v or 5v I prefer to stick to 3.3v for
now and using a N size battery makes the project very small size and the project stays
small.
SleepCode.inoDownload (https://cdn.instructables.com/ORIG/FFA/S3YE/HYNYTTTH/FFAS3YEHYNYTTTH.ino)
(https://cdn.instructables.com/ORIG/FFA/S3YE/HYNYTTTH/FFAS3YEHYNYTTTH.ino)
Share
Did you make this project? Share it with us!
I Made It!
Recommendations
http://www.instructables.com/id/Arduino-low-Project-and-code/ 4/11
4/14/2018 Arduino Low Power Project.
(/id/Haunted-Robotic-Teddy-Bear/)
http://www.instructables.com/id/Arduino-low-Project-and-code/ 5/11
4/14/2018 Arduino Low Power Project.
(/id/Custom-Macro-Mechanical-Keypad/)
http://www.instructables.com/id/Arduino-low-Project-and-code/ 6/11
4/14/2018 Arduino Low Power Project.
(/id/ISS-Pointer-Robo/)
http://www.instructables.com/id/Arduino-low-Project-and-code/ 7/11
4/14/2018 Arduino Low Power Project.
(/class/Arduino-Class/)
(/contest/spotless/)
http://www.instructables.com/id/Arduino-low-Project-and-code/ 8/11
4/14/2018 Arduino Low Power Project.
(/contest/space2018/)
(/contest/trashtotreasure2018/)
Add Tip
V Ask Question
| Post Comment
13 Comments
http://www.instructables.com/id/Arduino-low-Project-and-code/ 9/11
4/14/2018 Arduino Low Power Project.
For my Nano 5V it says "4:25: fatal error: VirtualWire.h: No such file or directory"
1 reply F
giantpair (/member/giantpair/) 1 year ago
(/member/giantpair/)
Reply
How come it doesn't compile Nano? Does Mini Pro use different code?
nice work. I have similar project with sensors and I will integrate this code for sleep. Easy and simple
and understandable code.
Can You tell me how to receive struc data on other side ?
Thanks!
The sparkfun board has the jumper selection as mentioned in the post and no cutting required. But
yes removing the reg will work the same . Just reminder you will have power the unit externally to
program it
I have looked at a couple of the mini board designs. Looking closely at the Sparkfun board, I don't see
the mod you referred to. The generic board I have on hand, isn't exactly the same as you have so it is
unclear which trace to cut. Will removing the regulator accomplish the same thing?
Thanks for the quick reply! I like the ability to use a smaller form factor battery. So as I understand it,
the voltage regulator draws about 0.3mA when asleep. Doesn't the the step-up transformer draw
current
2 replies F
X Rustie0125 (author) 3 years ago
8 (/member/Rustie0125/)
Reply
Hello ,
It's not not only about efficiency but using all available power , the onboard regulators needs an input
of around 5-12v to supply 3.3v plus the onboard regulator also stays on perms malty and even if The
device is sleeping it still draws 300 micro amps , but when disabled this drops to 4-7micro Amps .
http://www.instructables.com/id/Arduino-low-Project-and-code/ 10/11
4/14/2018 Arduino Low Power Project.
The other reason is size by using a 3.3v battery via a a step up . I am able to use the batter from3.3v
all the way down to 1.5 v and still
Get 3.3v out
Hello
I read your instructible with great interest as I have a low power project I am working on. I would like
to understadn why you replaced the on board regulator with the step-up converter. Is the stepup that
much more efficient?
Post Comment
Newsletter About Us
Let your inbox help you discover our best Who We Are (/about/)
projects, classes, and contests. Instructables Advertise (/advertise/)
will help you learn how to make anything! Contact (/about/contact.jsp)
Jobs (/community/Positions-available-at-Instructables/)
enter email I'm in!
Help (/id/how-to-write-a-great-instructable/)
Find Us Resources
Facebook (http://www.facebook.com/instructables) For Teachers (/teachers/)
Youtube (http://www.youtube.com/user/instructablestv) Residency Program (/pier9residency)
http://www.instructables.com/id/Arduino-low-Project-and-code/ 11/11