A small toy thing to remind myself of daily tasks.
It's just a piece of hardware as human interface to make me push a button twice a day.
This is mostly a toy for myself because I wanted to use the lolin board for something. If you're interested in this and the code / documentation is lacking, feel free to open an issue :-)
- A microcontroller with an ESP8266 Wifi module, I'm using a NodeMCU Lolin v3
- Two LEDs (e.g. a green and a red one)
- Resistors for the LEDs
- A button
The circuit is very simple, just connect the LEDs to digital outputs of your micro controller. The lolin has 3.3V outputs, so I got away without any resistors, YMMV. For the button, make sure to connect it to a digital I/O that supports interrupts. D7 on the lolin works for me.
Relevant settings are:
- Board: NodeMCU 1.0 (ESP12E Module)
- Flash size: 4M (3M SPIFFS)
- IwIP variant: v2 lower memory
- CPU frequency: 80 MHz
- Upload speed: 115200 baud
This project got recently converted to platformio, so that should be the easiest way to compile the code. Make sure your ENV variables are set to include the Wifi for NTP syncing.