A clock that counts down until your bedtime, reminding you of the little time left.
This is a simple project of mine where I plugged a MAX7219 to an ESP8266 NodeMCU that has MicroPython on it. The main.py file should be edited to customize the counter to your needs. I have implemented aiorepl into the library for debugging. Sometimes it works, sometimes it does not. The script uses Central European Time.
- Buy the necessary hardware.
- Flash MicroPython onto your ESP8266.
- Install mpremote for REPL access and file operations.
- Clone my repository, edit
main.py
and transfer the python files withmpremote cp main.py :
- Modify boot.py to include
import main
. - Connect the ESP8266 to your network, then assemble everything to observe it in action.
Special thanks to:
- The MicroPython team, sparing me from having to learn C.
- enchant97 for the Max7219 library.
- JumpZero for making the CET time script.