You are browsing as a guest. Sign up (or log in) to start making projects!

PART 1 PLANT LIFE SUPPORT

  • 1 Devlogs
  • 1 Total hours

An automated plant desktop environment monitoring and watering system built with MicroPython. It uses an ESP32 microcontroller simulation to maintain optimal plant climate conditions through heat safety logic, a humidifier cycle, and timed soil watering loops.

Ship #1 Changes requested

A plant growing automation system simulated on an ESP32 using MicroPython on Wokwi. This project is a milestone for my bigger project incorporating hardware and software. It controls a grow light, water pump, mist maker, and soil health indicator using a DHT22 sensor. Something that was challenging was getting all 3 systems to run at the same time without one breaking the others. The water pump originally used a blocking delay which made the heat emergency check go completely blind while it ran. Had to replace it with a non blocking timer so everything stays responsive. I am proud of the LED blink language I created the serial monitor couldn't work for me and using an LCD screen added too much complexity, so I developed a blink language where each LED has its own pattern that tells you exactly what the system is doing at a glance. For example the heat emergency mode triggers all 4 LEDs at once and locks everything down . Open the demo, hit play, then click the DHT22 sensor and adjust the sliders. Drag temperature above 32°C to trigger the heat emergency. Drag humidity below 65% to activate the mister. Wait about 6 seconds and the pump fires automatically as the soil dries out.

  • 1 devlog
  • 1h
Try project → See source code →
Open comments for this post

41m 13s logged

Shipping Part 1 of the Smart Desktop Plant ICU Built a full plant automation system on an ESP32 using MicroPython, simulated on Wokwi. The setup is an ESP32 wired to a DHT22 sensor with 4 LEDs representing the  hardware a grow light, water pump, mist maker, and a soil health indicator. Instead of a serial monitor I gave each LED its own blink language so you can read the whole system at a glance:— Purple solid = daytime, grow light running— Blue 3 flashes then solid = pump firing a watering burst— Yellow solid = misting because humidity dropped below 65%— Red blinking = soil getting low, pump about to fire— All 4 rapid flash together = heat emergency, everything locks down The code handles 3 systems at once. The watering runs automatically as the soil moisture decays over time. The mister turns on at 65% and only shuts off at 75%  prevents the relay from clicking on and off constantly. The grow light follows a day/night cycle and cuts instantly if temperature goes above 32°C.All the safety logic is interlocked  the pump is blocked during a heat emergency, and the mister only runs during the day so wet leaves at night don’t cause mold demo https://wokwi.com/projects/467922476236614657 — click the DHT22 sensor and drag the sliders to trigger everything in real time. Part 2 is the physical build — a sealed acrylic cabinet with real sensors, a water pump, and a camera for time lapse photography.

0
0
4

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…