Greenhouse vent and irrigation controller

Opens the vent or starts the fan by temperature and humidity, checks the soil moisture, and keeps a daily log for the whole season.

Climate & heating Board: ESP32 DevKit V1 (WROOM-32) Level: ●●○ ⏱ 2–3 h

⚠ Caution

Switch only low-voltage loads yourself. For mains loads use a certified isolated module in a box or call an electrician.

The greenhouse that opens itself at the right moment

On a sunny day a closed greenhouse can heat up in minutes, and a few hours of heat at the wrong time hurt more than a cool day. A controller that opens the vent or starts a fan at a set temperature, and closes it again with hysteresis, saves plants when you are at work.

What makes it reliable

Use two limits: a temperature at which to open and a lower one at which to close, and a humidity limit, because high humidity after rain invites fungus. A linear actuator that opens a window needs two relays, one for each direction, and end stops so that it does not stall. Close the vent at night when it is cold, and protect against wind with a maximum opening.

  • Put the sensor in a small shield in the shade; in direct sun it measures itself.
  • Moisture and condensation destroy bare electronics: use a sealed enclosure with cable glands.
  • The soil probe can limit irrigation, but keep a maximum run time as in the watering idea.
  • Wi-Fi at the end of a garden is weak. A better antenna board, or a repeater, is cheaper than a dead controller.

Components

  • ESP32 DevKit V1 (30 pin, WROOM-32)
  • BME280 I2C module (3.3V)
  • Capacitive soil moisture sensor v1.2
  • Relay module 1-channel 5V (opto-isolated)
  • USB charger 5V 2A
  • Inline fuse holder + fuses

What you need

Buy the parts kit · Estimated total: $15.50

ESP32 DevKit V1 (30 pin, WROOM-32) × 1
$4.00
Buy at AliExpress Buy at Amazon.com
BME280 I2C module (3.3V) × 1
$3.00
Buy at AliExpress Buy at Amazon.com
Capacitive soil moisture sensor v1.2 × 1
$1.50
Buy at AliExpress Buy at Amazon.com
Relay module 1-channel 5V (opto-isolated) × 1
$1.50
Buy at AliExpress Buy at Amazon.com
USB charger 5V 2A × 1
$4.00
Buy at AliExpress Buy at Amazon.com
Inline fuse holder + fuses × 1
$1.50
Buy at AliExpress Buy at Amazon.com
🇺🇦 Ukraine🌍 Other countries

Ukraine: we buy and sell these parts ourselves, order them on this site.

Some links are affiliate links: we may earn a commission at no extra cost to you.

Related ideas

⛔ High risk

Mains 220–230 V can kill. Work with the power off, use certified isolated modules in an enclosure, fuse the line, and ask a qualified electrician if you are not sure.

Cellar or basement dehumidifier controller

Switches a dehumidifier or a fan by humidity with hysteresis and a dew-point safeguard, and logs the climate of the room.

  • Board ESP32 DevKit V1 (WROOM-32)
  • Level ●●○ Intermediate
  • Build time 2–3 h
Pick parts / kit
⚠ Caution

Switch only low-voltage loads yourself. For mains loads use a certified isolated module in a box or call an electrician.

Smart watering timer

Waters plants by soil moisture or schedule with a 12 V pump and sends a notice when the tank is empty.

  • Board ESP32 DevKit V1 (WROOM-32)
  • Level ●●○ Intermediate
  • Build time 2–3 h
Pick parts / kit
⛔ High risk

Mains 220–230 V can kill. Work with the power off, use certified isolated modules in an enclosure, fuse the line, and ask a qualified electrician if you are not sure.

Humidity-controlled bathroom fan

Starts the fan when the humidity rises faster than normal and stops it when the room returns to its usual level, learning the baseline by itself.

  • Board ESP32-C3 SuperMini
  • Level ●●○ Intermediate
  • Build time 2–3 h
Pick parts / kit

← All module ideas →

Comments

No comments yet. Share your experience or ask a question.

Comments are moderated.