Get Months of Battery Life from an ESP8266!
45.2 هزار بار بازدید -
7 سال پیش
-
EDIT: By using ESP.deepSleep(time to
EDIT: By using ESP.deepSleep(time to sleep or 0); rather than
ESP.deepSleep(time to sleep, WAKE_RF_DEFAULT); the power usage is even lower, like 0.02mA or 22uA!!! The Arduino sketch has been updated to reflect is change.
By putting an ESP8266 into deep sleep mode you can get months (if not years) of battery life on a single charge. In this video I go through how to do this and show you guys all a cool program to send push notifications to your phone at the same time!
Links to the schematics for both regular deep sleep mode as well as internal interrupt based deep sleep
Button Deep Sleep: github.com/ItKindaWorks/Bits-Pieces/blob/master/ES…
Internal Interrupt Deep Sleep: github.com/ItKindaWorks/Bits-Pieces/blob/master/ES…
Link to Arduino Sketch:
gist.github.com/ItKindaWorks/fa75b037207ab2c76ccc6…
Links to the libraries used in this video:
ESPHelper: github.com/ItKindaWorks/ESPHelper
EspProwl: github.com/marcos69/EspProwl
WiFiUdp: github.com/esp8266/Arduino
Metro: github.com/thomasfredericks/Metro-Arduino-Wiring
TimeLib: github.com/PaulStoffregen/Time
Support the It Kinda Works Patreon (And help keep IKW going!!!): www.patreon.com/itkindaworks
Subscribe for more weekly videos!
Follow me on Twitter @itkindaworksinc
My site with even more tutorials is itkindaworks.com!
7 سال پیش
در تاریخ 1396/02/10 منتشر شده
است.
45,237
بـار بازدید شده