Рет қаралды 29,057
We covered the Arduino's Deep Sleep in videos #115 & #116 so now it's the turn of the ESP8266 to have a snooze.
It works differently to the Arduino ATmega328P so be prepared to implement your solutions differently with an ESP8266. It's not difficult at all but does require some thinking about how to continue where you left off.
We also explore how much current an ESP8266-12E takes when in Deep Sleep mode (spoiler alert: not much). But remember the ESP8266 is a power-hungry beast at the best of times with all that Wi-Fi connectivity.
In order to measure the current, we have to build a Bare Bones version of the ESP8266 board using a simple breakout PCB, making it very easy to mount on a breadboard.
As usual, all links will be found in the GitHub and repeated here too.
github.com/Ral...
-----------------------------------------------------------------------------------
LINKS LINKS LINKS LINKS LINKS LINKS
-----------------------------------------------------------------------------------
ESP8266 (supports various modules) Vertical Breakout Board (UK Seller but generally available)
www.ebay.co.uk...
Same as above but WITH an ESP8266-12f module to solder onto it (very easy)
www.ebay.co.uk...
Behind the scenes ESP library containing (among many other useful things) the function to determine why the module woke up
Note, these two files are part of a much larger library for the ESP8266, but linked here for reference.
github.com/esp...
github.com/esp...
Everything you ever need to know about the ESP8266, published on May 14, 2017 by Ivan Grokhotkov
media.readthed...
Espressif's own short document on lower power solutions, v1.1, published 2016.
www.espressif....
Have I missed any links? Let me know in the comments section below the video!
---
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
------------------------------------------------------------------