A simple greenhouse monitoring system made in ESP32. The system detects possible risks for plants, such as: temperature, humidity and light. The user will be warned whenever one of the conditions is inappropriate. In addition to showing sensor data on the display, the project also sends the data to a dashboard on the adafruit.io platform via an MQTT connection.
| TEST BY CLICKING HERE |
- The system has 2 sensors: DHT22 for monitoring temperature and humidity and the Photoresistor (LDR) sensor for measuring luminosity;
- The buzzer will sound whenever the system enters an alarm situation;
- Alarm situations:
- Temperature < 10º or Temperature > 20º
- Humidity > 60%
- Luminosity < 500
- If the system enters any alarm situation, the blue button next to the buzzer can be activated so the buzzer stops sounding;
- The button can also be pressed at any time to disable the alarm system if the user does not wish to be notified.
Compenent | Component Pin | ESP32 Pin |
---|---|---|
Photoresistor (LDR) | ldr1:AO | esp:34 |
Photoresistor (LDR) | ldr1:GND | esp:GND.2 |
Photoresistor (LDR) | ldr1:VCC | esp:VN |
DHT22 | dht1:VCC | esp:3V3 |
DHT22 | dht1:SDA | esp:23 |
DHT22 | dht1:GND | esp:GND.2 |
LCD 20x4 (I2C) | lcd1:GND | esp:GND.3 |
LCD 20x4 (I2C) | lcd1:VCC | esp:5V |
LCD 20x4 (I2C) | lcd1:SDA | esp:21 |
LCD 20x4 (I2C) | lcd1:SCL | esp:22 |
Buzzer | bz1:1 | esp:GND.1 |
Buzzer | bz1:2 | esp:12 |
Pushbutton | btn1:2.r | esp:GND.1 |
Pushbutton | btn1:1.r | esp:14 |