Follow these steps to wire your Arduino Uno, sensors, and pump using a breadboard.
This allows all sensors to draw power from these common lines.
| Component | VCC / (+) | GND / (-) | Signal / Data |
|---|---|---|---|
| DHT11 | (+) Rail | (-) Rail | Digital Pin 2 |
| Relay (IN) | (+) Rail | (-) Rail | Digital Pin 3 |
| Soil Moisture | (+) Rail | (-) Rail | Analog Pin A0 |
| Light Sensor | (+) Rail | (-) Rail | Analog Pin A1 |
When Digital Pin 3 goes LOW, the Relay closes the circuit and the pump turns on.
Generated by Gemini CLI for Surendran's Smart Garden Project