Introduction: Automatic Soil Moisture Detector and Watering Sytem
This instructable shows the working model of soil moisture detection system.
Step 1: THE MATERIALS
In the soil moisture detector activity numerous number of materials are required, but most of which are easily available. These are :-
Hot glue gun, duct tape, solder iron, arduino uno, connecting wires(need both male to female and male to male), a drip dc motor,a screwdriver, 9 volt battery, 9 volt connecting wire.
Step 2: CONNECTING SENSOR TO THE ARDUINO
First, of all we need to connect the sensor to the arduino. But for the data to be read we need to first connect it to a receiver/transmitter. Connect them both using two female to female wires.Now, connect the r/t to the arduino using three male to female wires. As i did not have three male to female wires, i connected a male to male wire to a female to female wire. Next i connectedthose three wires to the respected pins. Those are 5 volts, ground and a0.
Step 3: CONNECTING THE MOTOR TO THE ARDUINO
Looking at the above diagram we can see that i am using an l239d. In this we must connect the two output pins of the l239d to the two programed pins on the arduino. Also we must connect the vcc pin to 5 volts which provides power to the l239d.
Step 4: ATTACHING WIRES TO THE MOTOR.
In the motor i bought there were no wires connected to it. This is why i had to use a solder iron and glue gun. I first soldered the wires on and then with a glue gun i gave it an overcoat just to be safe.
Step 5: CONNECTING THE MOTOR TO THE L239D
And now the final connection is to connect the motor to the l239d. to do this we must unscrew the screws on the side of the l239d which connects to the arduino. Next we have to keep the wires inside of it and the screw the screws back in.
Step 6: MAKING THE PROJECT CLEAN(optional)
Now if you want to keep the project clean just tape all the wires up together.