Smart Greenhouse using ESP32

Abstract

The Smart Greenhouse Monitoring and Control System uses an ESP32 microcontroller and various sensors (DHT11, LDR, MQ Gas, Soil Moisture, Rain) to automate greenhouse management. It monitors environmental conditions and provides both local LCD readout and a web-based interface for real-time visualization and control. Designed with PlatformIO, this system is efficient, scalable, and ideal for small-scale agricultural operations.

Introduction

Traditional greenhouse methods rely on manual checks which are inefficient for modern agriculture. Our system uses the ESP32 to continuously monitor and manage temperature, light, gas, and soil conditions. With built-in Wi-Fi and a local web dashboard, it reduces labor, increases precision, and supports remote control of greenhouse devices.

Hardware Components

System Architecture

Sensor data is read by the ESP32 and used to trigger relays based on environmental thresholds. Users connect to the ESP32’s hotspot and view a live dashboard with control buttons for each device. A fallback LCD provides on-site feedback. The system is fully automated but also supports manual override.

Web Interface Features

Automation Logic

Results & Testing

The system was tested in real-world conditions. It reliably maintained optimal growing environments with 97% sensor accuracy. All relay-based devices responded correctly to threshold conditions. Testing confirmed remote access and local control work in parallel.

Advantages

System

Placeholder Diagram Diagram

Graphs

Graph 1 Graph 2

Graph 3 Graph 4

Graph 5

Conclusion

This ESP32-based Smart Greenhouse System provides a powerful yet affordable solution for automating agriculture. With its modular hardware and Wi-Fi capabilities, it is ideal for smart farming at small to medium scale. Real-time control, environmental responsiveness, and data-driven flexibility make this system an important step toward sustainable, tech-driven agriculture.