03 / 03 · Embedded systems · Personal project
Solar Grow Rig
A microgreens rig that runs on a 20 W solar panel in my window. An ESP32 watches the soil and the air and runs the water pump and fan on its own, so the trays never need watering by hand.
Overview
The goal was to grow microgreens indoors without watering them by hand, and to power the whole rig from the sun.
An ESP32 reads soil moisture, ambient light, temperature and humidity. When the soil gets dry it runs the water pump, and when the air gets hot it runs a circulation fan. I sized the power system for a 20 W load.
- Type
- Personal project
- Controller
- ESP32
- Sensors
- Soil moisture, ambient light, temperature/humidity
- Outputs
- Water pump, circulation fan
- Power
- 20 W solar panel, mounted in a window
By the numbers
90gMicrogreens per week, on average over the 6-week run
96%Uptime over the 6 weeks
20WSolar panel powering the whole rig
How it works
- 01
Power
A 20 W panel in the window runs the rig.
- 02
Sense
Soil moisture, ambient light, and temperature/humidity sensors.
- 03
Decide
The ESP32 checks each reading against a threshold.
- 04
Act
Waters below 40% soil moisture, runs the fan above 28 °C.
- 05
Track
Yield and uptime, tracked over 6 weeks.
Control rules
| Reading | Threshold | Action |
|---|---|---|
| Soil moisture | Below 40% | Water pump on |
| Temperature | Above 28 °C | Circulation fan on |
Results
Over 6 weeks the rig averaged 90 g of microgreens a week, about 540 g in all, with no watering by hand.
It stayed up 96% of the time. Across the 1,008 hours of the run, that's roughly 40 hours of downtime.