The problem
Propagating seedlings is a climate-control problem in miniature. Cuttings and young seedlings need warm, humid air to root and grow, but an unheated cold frame swings between cold nights that stall growth and midday spikes that stress tender leaves, while dry air desiccates them between manual mistings. Watering on a schedule rather than on plant need means the chamber is either too wet or too dry for most of the day. This project closes the loop: an ESP32 continuously reads temperature and humidity from a DHT22 sensor and drives two independent relay outputs — a heat lamp for warmth and a mist pump for humidity — each against its own adjustable setpoint with hysteresis to prevent relay chatter. A 16x2 LCD reports temperature, humidity, operating mode and which actuator is on, so the student sees the control loop working in real time. The prototype is built breadboard-style with handwritten masking-tape labels, and everything — firmware, wiring diagram, calibration procedure — is documented for the viva.
DHT22 reporting temperature and humidity on a timed read cycle of about 2 seconds.
Follow the working sequence
How it works
- The DHT22 sensor reports temperature and humidity to the ESP32 on a timed read cycle (approximately every 2 seconds).
- Firmware compares each reading against its setpoint: heat switches on below the temperature setpoint minus the hysteresis band and off above the setpoint plus the band; mist follows the same pattern for humidity.
- Two channels of the 4-channel relay module switch the heat lamp and the mist pump independently.
- The LCD refreshes each cycle with the current readings, the mode, and the on/off state of each output.
- In MANUAL mode the automatic logic is bypassed and each output is toggled directly for testing and demonstration.
- On power-up the controller boots into AUTO with the last-used defaults and resumes control without user input.
Tech stack:
- ESP32 DevKit (Arduino/C++ firmware)
- DHT22 temperature/humidity sensor
- 4-channel 5 V relay module
- 16x2 character LCD (I2C)
- Heat lamp + mini mist pump actuators
- Breadboard wiring, 5 V DC supply
| Parameter | Value |
|---|---|
| Controller | ESP32 DevKit (design) |
| Temperature sensing | DHT22, ±0.5 °C typical (datasheet) |
| Humidity sensing | DHT22, ±2–5 %RH typical (datasheet) |
| Relay outputs used | 2 of 4 channels, 5 V module (design) |
| Control law | On/off with hysteresis band, adjustable (design) |
| Display | 16x2 character LCD over I2C (design) |
| Supply | 5 V DC regulated (expected) |
Project features
- [Automatic heating control] The ESP32 switches a heat lamp through a relay when the DHT22 temperature falls below the setpoint, with a hysteresis band so the lamp does not flicker at the threshold.
- [Automatic mist control] A second relay channel drives a mist pump when humidity drops below its own setpoint, holding the chamber in the humid band seedlings need.
- [Live LCD status] A 16x2 LCD continuously shows temperature, humidity, AUTO/MANUAL mode and which output (HEAT/MIST) is currently on.
- [Adjustable setpoints with hysteresis] Temperature and humidity thresholds are firmware constants with sensible seedling defaults, so the student can retune the chamber for different plant types.
- [Manual override mode] A mode switch bypasses the automatic logic so each actuator can be driven directly — useful for testing and for the viva demonstration.
- [Isolated relay switching] The low-voltage control side is electrically isolated from the switched loads through the relay module, and the wiring guide documents safe lab practice.
- [Viva-ready documentation] Report, PPT and Q&A cover sensor interfacing, relay driving, hysteresis control logic and the calibration procedure.
What is included
- Working propagator prototype (ESP32, DHT22, relay module, LCD, heat lamp, mist pump)
- Arduino firmware with adjustable setpoints and AUTO/MANUAL modes
- Wiring diagram and connection list
- Sensor check and calibration procedure
- Project report PDF, PPT presentation and viva Q&A document
Limitations & prerequisites
- On/off control only — no PID; temperature swings within the hysteresis band (a few degrees, design target) are normal behaviour.
- DHT22 accuracy is ±0.5 °C / ±2–5 %RH per its datasheet; readings are indicative, not laboratory-grade.
- The demo heat lamp and mist pump are low-power units; a full-size greenhouse would need higher-rated switching with proper isolation — documented as future scope.
- Any mains-powered heater must be switched only through an appropriately rated relay and under lab supervision.
- Humidity responds slowly (minutes); the control loop is best observed over a 10–15 minute demo cycle.
Frequently Asked Questions
How does the controller avoid rapid relay switching?
Each output uses a hysteresis band around its setpoint: heat turns on below setpoint minus the band and off above setpoint plus the band. The band is a few degrees wide and configurable in firmware, so the relay settles instead of chattering at the threshold.
Can the temperature and humidity targets be changed?
Yes — both setpoints and hysteresis bands are firmware constants with sensible defaults for seedlings, documented in the code so the student can retune them for different plants and explain the values in the viva.
Why a DHT22 instead of a more accurate sensor?
The DHT22 is the standard student-lab choice: digital output, no ADC calibration, and adequate ±0.5 °C / ±2–5 %RH accuracy for a teaching control loop. The report discusses its limits honestly and names the SHT-series upgrade path as future scope.
Is the mist pump safe around electronics?
The pump is a low-voltage DC unit switched through the relay module, and the wiring guide keeps the wet side physically separated from the control board. Mains-powered equipment is excluded from the demo build.
What does the LCD show?
Live temperature and humidity, the current mode (AUTO or MANUAL), and the on/off state of the HEAT and MIST outputs — so an examiner sees the control decision at a glance.
Is this project suitable for a final-year project?
Yes — for Electronics, Electrical and IoT & Embedded programs. It demonstrates closed-loop control, sensor interfacing, relay actuation and a documented calibration procedure. Suitable for B.E./B.Tech final-year projects in Electronics, Electrical and IoT & Embedded.
Components & software requirements
- ESP32 DevKit (Arduino/C++ firmware)
- DHT22 temperature/humidity sensor
- 4-channel 5 V relay module
- 16x2 character LCD (I2C)
- Heat lamp + mini mist pump actuators
- Breadboard wiring, 5 V DC supply
Delivery information
Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.
Support terms
Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.
Download free synopsis (PDF)
Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.