This is a project to keep my plants from dying! It uses a range of sensors to water and light the plant at an ideal time. It also monitors some environmental factors and uses a fan to remove more CO2 and VOCs from the air. All of these are then made available on a web dashboard. It deactivates during the night so you can have it in a bedroom without the lights or motors waking you up.
- ๐ง Soil Moisture (used to water plant)
- โ๏ธ Light (used to turn on glow lights)
- ๐ก๏ธ Air Temperature
- โ๏ธ Air Quailty (CO2 and VOC)
- ๐ฆ Air Humidity
- BunJs or npm
- Set up Firebase with a real-time database
- Add firebase keys to
webapp/src/keys.json
bun i
bun run dev
| ๐งฎ Logic | โก๏ธ Input | Output โก๏ธ |
|---|---|---|
| Lolin S2 mini (ESP32-S2) | CCS811 Air quality sensor | 5v Pump |
| uln2003 Transistor IC | DHT22 Temperature and Humidity Sensor | 5v Leds |
| 5v 3A PSU | Capacity soil moisture sensor | 5v 40mm fan |
| LDR |
Install the platform IO libraries:
add embedded/keys.h with this content:
#define SSID "" // WiFi SSID #define PASSWORD "" // WiFi Password #define REFERENCE_URL "" // Firebase realtime database reference URL
Make sure the ESP32 has Arduino firmware flashed. Verify the code compiles then upload it to the ESP32
| ๐ PCB | โก Electronics | ๐ Dashboard |
|---|---|---|
| PCB | Electronics | graph |