Software apps and online services
Now connect the relay input to ultra 96 GPIO 27 for valve and GPIO 29 for motor of fertilizer mixer.(NOTE change the GPIO numbering in code according to your ultra 96 board because I haven't receive the ULTRA 96 board it get lost in postal services so I have mad whole project in just assumption and on documentation provided ).
So we are going to make a smart system for agriculture that monitor the crop and automate the cultivation of crop using its intelligent system like watering and adding fertilizers to it. We are going to make a small prototype of that device.
- ULTRA 96
- SOIL MOISTURE SENSOR
- DC MOTOR PUMP
- FLASK FOR STORING FERTILIZERS
- SOLENOID VALVE
- PIPE TUBE
- 5V RELAY MODULE
- 12V DC OUTPUT ADAPTER FOR ULTRA 96 AND SOLENOID VALVE
- BLUETOOTH HC 05
- SOME JUMPER WIRE
STEP 1: Preparing the pipe for watering and spraying fertilizers
First we need to make hole in pipe for drip irrigation and for fertilizers mixing.so make the hole in pipe s in pic and then inset the small copper tube in hole as in pic illustrated.Now our pipe is ready.
Now buy a small containers of liquid fertilizer solution and put a small dc 12v pump in it and connect the same type of pipe as we previously made.
STEP 2:- Preparing the water valve.
Now we are going to prepare the water valve for the automatic irrigation
now attach the pipe with the Solenoid valve and then fix the pipe in with soil near the plants or crops.As in pic below. Then connect the valve +ve to the NO pin of relay module and connect +12v output of dc adapter to relay COM pin you can see the schematic diagram for connection.
Now connect the relay input to ultra 96 GPIO 27 for valve and GPIO 29 for motor of fertilizer mixer.(NOTE change the GPIO numbring in code according to your ultra 96 board because I haven't receive the ULTRA 96 board it get lost in postal services so I have mad whole project in just assumption and on documentation provided ).
Then connect a LDR to GPIO 33 for soil sensor, and program a Arduino board such that if the soil sensor read the water level high it glow the led and then attach the led to LDR attached to ultra96 sensor pin.
First downlode and install the MRAA lib in ultra 96 and setup and prepare the python Mraa lib. Then copy the code and to python attach with it and run it.
Now find the serial COM port of Bluetooth serial in ultra 96 and change the name of same comport in the code for serial data communication.
Now connect the Bluetooth of the phone and ultra96 and send the following command for working
"F "for fertile land the ultra 96 understand the land is fertile and irrigate and spray fertilizers accordingly.
"L" for low fertile
"m" for medium fertile.
send "V" or "v" for manual control of water valve.
edit the time.delay () in code for set the time of opening and closing of valve according to the need of plant and land.
Now our smart Automatic agriculture system is ready.Now send the command for type of soil and crop it will start doing all things automatically.
(NOTE:- I really want to learn the board and use it but I my ULTRA 96 BOARD is lost by postal services and I haven't receive it.Really very pissed of the bad postal service in my country. So I have made whole projects on assumption and documentation provided by 96 boards so I haven't checked it so run all thing carefully and on your own risk DON'T fry four costly board by wrong connection.)