Simple embedded application to control GPIO based on an internal timer.
[Defaults: 10 seconds on, 10 seconds off]
Timeouts can be changed via web.
The device provides an Access point for easy usage.
- GPIO2: Turn on for 500ms, wait for 20seconds
- GPIO3 Wait for 10seconds, turn on for 500ms, wait again for 10seconds
- GPIO42: Turn on for 10seconds, wait for 10seconds
- Plugin the device
- Connect to the Access Point named ESP32
- Enter the access point password: 12345678
- Open the website: http://192.168.71.1 in a browser
- Enter the timeouts you prefer and press save
Install the matching IDF Version to build the
mkdir -p ~/esp
cd ~/esp
git clone -b v5.1.3 --recursive https://github.com/espressif/esp-idf.git
Run the IDF setup
cd ~/esp/esp-idf
./install.sh esp32
cargo build
espflash flash target/<mcu-target>/debug/<your-project-name> --flash-size 8mb
espflash monitor