Start a Garden

Make a Self-Watering Microgreen Tray with Moisture Sensors

Growing microgreens can be simple, fast, and highly rewarding. However, maintaining consistent moisture is critical for healthy, mold-free growth. A self-watering tray with moisture sensors automates the irrigation process, ensuring your microgreens receive just the right amount of water — no more, no less.

In this comprehensive DIY guide, you’ll learn how to build your own automated microgreen watering system using soil moisture sensors, a microcontroller, and a water pump. This setup saves time, improves germination rates, and ensures steady growth for your greens.


What Is a Self-Watering Microgreen Tray?

A self-watering microgreen tray uses sensors and automation to supply water only when the growing medium becomes too dry. The system typically includes:

  • Moisture sensors to detect soil dampness
  • A small water pump connected to a reservoir
  • A microcontroller (e.g., Arduino) to read the sensor data and activate watering
  • A watering mechanism like drip or bottom-watering

This setup is ideal for both home growers and small-scale indoor farms.


Why Automate Microgreen Watering?

Manual watering can lead to:

  • Overwatering, causing root rot or mold
  • Underwatering, leading to wilting or slow growth
  • Inconsistent growth between trays
  • Increased labor for daily watering

Key Benefits of a Moisture Sensor-Based System:

  • Consistent moisture for healthier plants
  • Improved germination and yield
  • Reduced risk of mold or damping-off disease
  • Water conservation
  • Hands-free growing for busy gardeners

Materials You’ll Need

Here’s what you need to build the system:

Electronics:

  • Arduino Uno or Nano
  • Capacitive soil moisture sensor (more accurate than resistive types)
  • 5V mini water pump
  • Relay module or transistor (for pump control)
  • Breadboard and jumper wires
  • Power source (USB or 9V adapter)

Grow Tray Setup:

  • Microgreen tray with drainage holes
  • Bottom tray for catching or holding water
  • Growing medium (coco coir, soil, hemp mat)
  • Clean water reservoir (bottle or container)

Optional:

  • OLED screen (for reading moisture levels)
  • Buzzer or LED (alerts when water is low)

How the System Works

  1. The moisture sensor checks the water content in the growing medium.
  2. When the moisture falls below a preset threshold, the Arduino activates the water pump.
  3. The pump draws water from a reservoir and irrigates the tray until the soil reaches the desired moisture level.
  4. Once optimal moisture is detected, the system turns the pump off.

This continuous loop provides hands-free irrigation that adapts to plant needs.


Step-by-Step Build Instructions

Step 1: Connect the Moisture Sensor

Use a capacitive sensor to reduce corrosion. Wire the sensor to the Arduino as follows:

  • VCC → 5V
  • GND → GND
  • AOUT → A0

Insert the sensor halfway into the growing medium for reliable readings.

Step 2: Set Up the Water Pump

Use a 5V submersible pump placed in a clean water reservoir. Connect the pump to a relay module or transistor circuit so the Arduino can switch it on and off.

Basic pump connection using a relay:

  • Relay IN → Digital pin (e.g., D7)
  • Relay VCC → 5V
  • Relay GND → GND
  • Connect the pump power wires through the relay’s normally open (NO) terminal

Step 3: Program the Arduino

Upload a simple sketch to monitor moisture and control the pump:

cppCopyEditint moisturePin = A0;
int relayPin = 7;
int moistureValue = 0;
int threshold = 600; // adjust based on sensor type

void setup() {
  Serial.begin(9600);
  pinMode(relayPin, OUTPUT);
  digitalWrite(relayPin, LOW);
}

void loop() {
  moistureValue = analogRead(moisturePin);
  Serial.println(moistureValue);

  if (moistureValue > threshold) {
    digitalWrite(relayPin, HIGH); // turn on pump
  } else {
    digitalWrite(relayPin, LOW); // turn off pump
  }

  delay(2000);
}

Use the Serial Monitor to check raw sensor values and fine-tune the threshold.


Setting Up the Watering System

Tray and Medium Prep:

  1. Fill your tray with a well-draining medium like coconut coir.
  2. Sow microgreens evenly across the surface.
  3. Insert the moisture sensor halfway into the medium.

Watering Method:

  • Place the tray above a second tray that collects excess water.
  • Route the pump output to drip into the grow tray or into the bottom tray for capillary watering.
  • Ensure water doesn’t pool, which may attract mold.

Optional Features to Upgrade Your System

Once your basic system is working, add these enhancements for smarter growing:

1. OLED Display:

Shows real-time moisture readings and pump status.

cppCopyEdit#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

2. Buzzer or LED Alert:

Warns you when the water reservoir is low.

3. Wi-Fi Monitoring:

Use ESP8266 or ESP32 to track your microgreens remotely via Wi-Fi or an IoT dashboard.

4. Timer Control:

Prevent watering at night or during specific times with a Real-Time Clock (RTC) module.


Maintenance Tips

  • Clean the pump weekly to prevent clogging.
  • Rinse the moisture sensor between uses to avoid buildup.
  • Keep the sensor in the same position to ensure consistent readings.
  • Sanitize trays between harvests to prevent mold or disease.
  • Check wire connections regularly for corrosion or damage.

Trusted Resources

For further reading and official documentation, refer to:


FAQs: Self-Watering Microgreens Tray with Sensors

Q: Which moisture sensor is best for microgreens?
Use a capacitive sensor, which is less prone to corrosion and provides more stable readings than resistive types.

Q: How often does the system water the tray?
It depends on the sensor readings and your threshold. The pump only activates when the soil is dry, then stops automatically.

Q: Can I use this system outdoors?
Yes, but you must protect electronics from water and weather using enclosures and waterproof components.

Q: How do I know what sensor value to use for watering?
Insert the sensor in moist soil and note the reading. Adjust the threshold a little below that to trigger watering when it starts to dry.

Q: Can this be used for hydroponic microgreens?
Not directly. Hydroponic systems use constant water or mist. However, you can adapt it with a water level sensor to keep the reservoir full.


Final Thoughts

Building a self-watering microgreens tray with moisture sensors is a practical, beginner-friendly automation project. Whether you’re a tech enthusiast or a gardener aiming to simplify your routine, this system improves your growing results while saving time and effort.

By understanding your microgreens’ needs and combining them with simple electronics, you can enjoy fresh, vibrant greens with minimal maintenance — right from your windowsill or grow shelf.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top