Videoby Kai Yang · XAn ESP32 greenhouse brain with battery-powered ATmega nodes
Six relays, a Blynk dashboard and a field of ATmega8 soil sensors talking over NRF24L01 radio. The whole greenhouse controller is open hardware, down to the Gerbers and 3D-printable enclosures.
Build sheet
- Gateway
- ESP32-WROOM-32 DevKit
- Nodes
- ATmega8 / ATmega88 + NRF24L01
- Outputs
- 6x Omron G5LE-14 relays
- Firmware
- PlatformIO / Arduino IDE
Can I build this?Advanced · AI 3/5 · $100–200
- Difficulty
- Advanced
- AI-buildability
- 3/5
- Time
- A few weeks
- Cost
- $100–200
Firmware for the ESP32 gateway and ATmega nodes is mostly code AI can write, but you still have to order and assemble the PCBs, solder everything, wire relays and sensors, and debug the radio links by hand.
Based on "An ESP32 greenhouse brain with battery-powered ATmega nodes" on Afterware: https://afterware.xyz/p/greenhouse-monitor-with-esp32-gateway-and-atmega-sensor-nodes
Write PlatformIO firmware for an ESP32 DevKit V1 that reads a DHT11 on GPIO32 and a 16x2 I2C LCD at address 0x27. Add four buttons for a menu to set humidity thresholds, and drive a relay on a GPIO with hysteresis control. Receive soil moisture packets from an NRF24L01 module on SPI, using a 2.4 GHz channel and a simple struct payload.
Estimates based on the original write-up. How AI-buildability is scored. Building with an AI assistant? Connect it to Afterware (free MCP server).
Story
This isn't one gadget. It's a full greenhouse monitoring and irrigation system. The hub is an ESP32-WROOM-32 that handles WiFi, a Blynk cloud dashboard and web OTA updates. It reads a DHT11, float switch, MQ-135 air quality sensor, pH probe and BH1750 light sensor. Through a ULN2003 driver, it switches six Omron G5LE-14 relays for pumps, misting, a fan, heating and lighting. A 16x2 I2C LCD and four buttons let you set thresholds on the spot.
Out in the beds, separate nodes do the sensing. Each one pairs an ATmega8 or ATmega88 on its internal 8 MHz oscillator with an 18650 Li-ion cell and TP4056 charging. It supports up to six capacitive soil moisture probes and sends periodic packets back to the gateway over NRF24L01 radio.
You can build the whole thing from the repo. It has EasyEDA and Sprint-Layout PCB sources, Gerbers, printable enclosures and brackets, PlatformIO and Arduino IDE firmware, and docs for assembly, wiring, testing and known issues. Everything is MIT-licensed.
Resources · 4
Videoby Kai Yang · X












