Published On Jun 25, 2018
Running an Arduino (Uno/Nano etc) is a general no-no because they consume too much power. But here we explore how to put the ATMEGA328P chip to sleep and then wake up again when a pin goes low (using an interrupt, generated with a switch).
It's very easy to do and as a first stage in getting your Arduino to run on battery power, it's essential that you understand the simple commands that need to be executed.
The power drops quite a bit, but is it enough to run on batteries?
This video, #115, provides the groundwork to part two (video #116) in which a different approach is taken to wake up the ATMEGA328P and in which we show exactly how much power is taken up by a "bare-bones" Arduino - you'll be amazed.
---
Also, have a look at Thijs Ruiter's Kickstarter campaign - if he reaches his goal I'll do a proper review of his sound module:
http://kck.st/2M2KeRr
---
All links, sketches and other information:
https://github.com/RalphBacon/Arduino...
The 18650 Battery Charge Shield:
https://www.aliexpress.com/item/ESP32...
The official ATmega28P data sheet:
http://ww1.microchip.com/downloads/en...
The FP6298 PWM converter datasheet:
http://www.feeling-tech.com.tw/km-mas...
Arduino pin mapping (GPIO numbers vs Chip numbers):
https://www.arduino.cc/en/Hacking/Pin...
---
If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so :)
My channel and blog are here:
------------------------------------------------------------------
/ ralphbacon
https://ralphbacon.blog
------------------------------------------------------------------