Automatic plant watering.
This is the next evolution from the original ATtiny13 Plant.
- WiFi (Web Interface) 🌱 View Demo
- Battery Deep Sleep (20μA)
- Modular PCB (ESP8266/ESP32, TP4056)
SSID: Plant
Password: (blank)
Interface: http://192.168.8.8
Sketch (Firmware)
- Install Arduino IDE
- Arduino/File -> Preferences -> Additional Boards Manager URLs:
https://espressif.github.io/arduino-esp32/package_esp32_index.json, https://arduino.esp8266.com/stable/package_esp8266com_index.json
- Tools -> Boards -> Board Manager -> esp8266/esp32 -> Install
- Tools -> Boards -> NodeMCU -> Flash Size -> 4M (2M SPIFFS)
- Sketch -> Export compiled Binary
Additional Libraries
- https://github.com/me-no-dev/ESPAsyncWebServer
- https://github.com/devyte/ESPAsyncDNSServer
- https://github.com/me-no-dev/ESPAsyncTCP
- https://github.com/me-no-dev/ESPAsyncUDP
- https://github.com/mobizt/ESP-Mail-Client
File System (Web Interface)
- Run "littlefs-build-mac" (Mac) or "littlefs-build-win.ps1" (Windows) to build. LittleFS Binary:
build/flash-littlefs.bin
Note: Files must be GZIP'ed. HTTP server sends compressed code to the Browser for decompression.
response->addHeader("Content-Encoding", "gzip");
Flashing Options:
- Wireless - Web Browser http://192.168.8.8/update
- USB-Serial/TTL - Arduino LittleFS Plugin
- USB-Serial/TTL - Script "littlefs-flash-mac" (Mac) or "littlefs-flash-win.ps1" (Windows)