Рет қаралды 48,558
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:
kck.st/2M2KeRr
---
All links, sketches and other information:
github.com/Ral...
The 18650 Battery Charge Shield:
www.aliexpress...
The official ATmega28P data sheet:
ww1.microchip.c...
The FP6298 PWM converter datasheet:
www.feeling-tec...
Arduino pin mapping (GPIO numbers vs Chip numbers):
www.arduino.cc...
---
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
ralphbacon.blog
------------------------------------------------------------------