Published by NST on the Jan. 22, 2025, 7:35 p.m. view all posts
Plant Monitring System (Basic setup)

Simple plant monitoring system - Arduino project
I am starting with this simple project that I'll be expanding on in future. I found the following circuit on Tinkercad and remixed it by adding a soil moisture sensor, light sensor and temperature sensor. I connected these all to the analogue pins of the arduino.
This project monitors soil moisture, temperature, and light levels using sensors connected to an Arduino Uno. It also includes a motor (sprinkler) and a buzzer for feedback based on sensor readings. The system can send data to ThingSpeak via Wi-Fi using the ESP8266 module.
Wiring Instructions
1. Arduino to LCD (16x2):
RS: Pin 5 EN: Pin 4 D4: Pin 3 D5: Pin 2 D6: Pin A4 D7: Pin A5
2.Soil Moisture Sensor:
VCC: 5V (Arduino) GND: GND (Arduino) Analog Output (A0): Pin A3 (Arduino)
3. TMP36 Temperature Sensor:
VCC: 5V (Arduino) GND: GND (Arduino) Analog Output (A0): Pin A2 (Arduino)
4. Photoresistor (Light Sensor):
One side: 5V (Arduino) Other side: Connect to: Pin A1 (Arduino) (for analog input) A 10kΩ resistor connected between this point and GND to form a voltage divider.
5. Motor (Sprinkler):
Positive: Pin 12 (Arduino) Negative: GND (Arduino)
6. Buzzer:
Positive: Pin 10 (Arduino) Negative: GND (Arduino)
7. ESP8266 Wi-Fi Module:
VCC: 3.3V (Arduino) GND: GND (Arduino) TX (ESP8266): Pin 2 (Arduino) RX (ESP8266): Pin 3 (Arduino)
setupESP8266(): Initializes the Wi-Fi connection and establishes communication with the ThingSpeak API.
readSensors(): Reads the soil moisture, temperature, and light levels, then displays this data on the LCD.
sendDataToThingSpeak(): Sends sensor data to ThingSpeak using the ESP8266 Wi-Fi module (optional).
Comments...
No comments here yet :(