Skip to content
/ plant Public

A house plant monitoring and watering system which keeps plants alive and monitors air quality

License

Notifications You must be signed in to change notification settings

etinaude/plant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🪴 Plant 🪴

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.

Monitors

  • 💧 Soil Moisture (used to water plant)
  • ☀️ Light (used to turn on glow lights)
  • 🌡️ Air Temperature
  • ☁️ Air Quailty (CO2 and VOC)
  • 💦 Air Humidity

📈 Dashboard

✔️ Prerequisite

  • BunJs or npm
  • Set up Firebase with a real-time database
  • Add firebase keys to webapp/src/keys.json

📚 Install Libraries

bun i

🏃 Run

bun run dev

⚡ Electronics

🔋 Components

🧮 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

💾 Embedded System

✔️ Prerequisite

📚 Install Libraries

Install the platform IO libraries:

🏃 Run

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

📸 Images

🔋 PCB ⚡ Electronics 📈 Dashboard
PCB Electronics graph