Automatic Watering System for Plants Using Arduino

by Ur Circuits Hub in Circuits > Arduino

278 Views, 1 Favorites, 0 Comments

Automatic Watering System for Plants Using Arduino

Films & TV 19-06-2021 23_23_23.png

Hey Guys, the objective of this project is to primarily save water, and it saves time as well. So when the sensor senses dry soil, it will pass a signal to arduino which will switch ON the relay, as a result the pump will operate and will water the plants.

Also do watch the complete tutorial on YouTube!

Supplies

  1. Pliers
  2. Scissors
  3. Screwdriver
  4. Heat Shrink Sleeve/ Electrical Insulation Tape
  5. BC547 (NPN Transistor)
  6. 220Ω (Resistor)
  7. 1N4007 (Diode)
  8. Jumper Wires
  9. Breadboard
  10. 5V Relay
  11. Soil Moisture Sensor
  12. Arduino Uno
  13. Submersible Pump

Upload the Code

Arduino Uno.JPG

The code can be found here

1.png

Place the BC547 (Transistor) on the breadboard.

2.png

Connect the 220Ω resistor's one leg to the base of transistor and the other leg to an empty hole on the breadboard.

3.png

Connect the anode of 1N4007 (Diode) with emitter of transistor and cathode (grey band's side) to an empty hole on the breadboard.

4.png

Connect a jumper wire from transistor's collector to GND of Arduino Uno's Power Section.

5.png

Connect a jumper wire from resistor's vacant leg to GND of Arduino Uno's digital (PWM) section.

6.png

Connect the (sensor's) main board VCC to diode's cathode, the GND to GND of Arduino Uno's power section and DO to 8 of Arduino's digital (PWM) section.

7.png

Connect cathode of the diode with the 5V of Arduino's power section using a jumper wire.

8.png

Connect the relays' coil terminals to diodes' cathode and anode respectively.

9.png

Connect one wire of the submersible pump with the neutral of AC mains(220V).

10.png

Connect the live wire (220 V AC) with the common leg of the relay.

11.png

Connect the submersible pump's other wire with the relay's normally open(N/O) leg.

Final Circuit!

12.png