Low Power Arduino - Sleeping at 0.3mA perfect for batteries (Arduino Nano deep sleep)
How to make your Arduino Nano run on 3mA and sleep on only 0.3mA. In deep sleep mode you can make your arduino nano run on batteries for a long time.
We are going to test:
- which PIN is best for powering the Arduino
- remove the LED to save energy
- slow down the Arduino (clock prescaler)
- lower the voltage
AND
- Remove the voltage regulator and put the Arduino in sleep mode.
Note that the VIN pin do not work when the regulator is removed.
The same results can be expected from the Arduino Pro Mini as well.
Perfect when you want to run your low power arduino on a battery.
Code for sleep
***********************
Code for sleep
***********************
#include (insert Angled brackets)avr/sleep.h(insert Angled brackets)
void setup() {
CLKPR = 0x80;
CLKPR = 0x01;
}
void loop() {
set_sleep_mode(SLEEP_MODE_PWR_DOWN);
sleep_enable();
sleep_cpu();
}
Видео Low Power Arduino - Sleeping at 0.3mA perfect for batteries (Arduino Nano deep sleep) канала DIY TECH BROS
We are going to test:
- which PIN is best for powering the Arduino
- remove the LED to save energy
- slow down the Arduino (clock prescaler)
- lower the voltage
AND
- Remove the voltage regulator and put the Arduino in sleep mode.
Note that the VIN pin do not work when the regulator is removed.
The same results can be expected from the Arduino Pro Mini as well.
Perfect when you want to run your low power arduino on a battery.
Code for sleep
***********************
Code for sleep
***********************
#include (insert Angled brackets)avr/sleep.h(insert Angled brackets)
void setup() {
CLKPR = 0x80;
CLKPR = 0x01;
}
void loop() {
set_sleep_mode(SLEEP_MODE_PWR_DOWN);
sleep_enable();
sleep_cpu();
}
Видео Low Power Arduino - Sleeping at 0.3mA perfect for batteries (Arduino Nano deep sleep) канала DIY TECH BROS
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
How Long Can An Arduino Run On Batteries? I Tested 6 Of The Most Common BoardsLow Power Arduino! Deep Sleep Tutorial#58 ESP8266 Sensor runs 17 days on a coin cell/transmits data to sparkfun.com and ubidots.comArduino Power Saving Tutorial: Clock Pre-Scale and SleepArduino Interrupts Tutorial#192 Wakey, wakey! Let the DS3231 RTC wake up your Arduino - easy!HOW TO: Use Lithium 3.7v batteries in small Arduino projects.Start your Arduino instantly - no boot time without bootloaderBest power saving mode - Much Deeper Deep Sleep ESP8266Arduino Low Power Project - 200 nA Atmega328pWays to power up Arduino boards#142 Solar Power for the ESP8266, Arduino, etc.Tutoriel Arduino en français - Augmenter l'autonomie de l'arduino nano .#DIYDIY PCBs At Home (Single Sided Presensitized)Arduino Interrupt Tutorial (easy & deutsch) – Monotron Hack E07Arduino Tutorial: Arduino Auto Power off. Make Arduino power off itself!Running your Arduino on a Single AA BatteryESP8266 Deep Sleep with Arduino IDEHow to Make power efficient Arduino Clock, run for years on battery#116 Deep Sleep 💤 Bare-Bones Arduino (using wake up ⏱️ TIMER)