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

sidthetrue

@sidthetrue

Joined June 4th, 2026

  • 2Devlogs
  • 2Projects
  • 1Ships
  • 15Votes
Ship 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
Open comments for this post

20m 6s logged

Hey everyone This is the start of my project. Right now, I’m working on a virtual environment on Wokwi using an ESP32 microcontroller to simulate a very rough outline of the automated plant life support before I touch any real hardware.The Setup: I’ve got an ESP32 wired up to a DHT22 Sensor along with three LED indicators: a purple Grow Light, a blue Water Pump, and a yellow Mister.The Climate : The code automatically starts going off in daytime mode, which keeps the Grow Light glowing. By clicking the weather sensor, I can manually drag the humidity sliders up and down. If the humidity drops below 65%, the ESP32 instantly triggers the Mister to bring the moisture back up. Once it hits 75%, it shuts it off safely.Water system: To test the Water Pump without an actual soil sensor plugged in yet, I wrote code that simulates the code as really dry. The second the simulation boots, the ESP32 detects the dry soil it gives a quick 3 second micro burst from the Water Pump to water the plant, and then turns off automatically to prevent flooding.This helps me understand all the core fundamental logic. Next up is taking these ideas out of wowki and sketching out the physical layout and component design for the actual enclosure

0
0
18

Followers

Loading…