Agriculture is considered the backbone of Pakistan's economy as it contributes 18.9% to gross domestic product (GDP) and provides employment to around 42.3% of the labor force. However, the Production of crops decreases significantly due to the direct attack of diseases, pests, and weeds at differen
Machine Vision based Smart Spraying System for Weed and Disease Control of Vegetables
Agriculture is considered the backbone of Pakistan's economy as it contributes 18.9% to gross domestic product (GDP) and provides employment to around 42.3% of the labor force. However, the Production of crops decreases significantly due to the direct attack of diseases, pests, and weeds at different growth stages. The dangerous disease effects are reduced by spraying agrochemicals in the fields. On the contrary, farmers practicing conventional spraying methods face several health issues due to direct exposure to agrochemicals, aquatic life, and the ecosystem is being affected.
A cost-effective smart prototype for variable-rate spraying could be a flexible solution to this challenge. Because it can only spray on the affected crop, resulting in the reduced usage of agrochemicals. The spraying system is based on deep-learning techniques and includes a solar-powered farm vehicle that can roam around the fields. A microprocessor and cameras are used to capture and process real-time images, and a microcontroller is used to control the solenoid valves and nozzles.
Throughout this phase processed images are transmitted from raspberry pi to Arduino then Arduino creates the spraying control signal which directed through the USB port activates the relay and solenoid valve opens as solenoid valve opens spraying liquid starts flowing towards spraying nozzle and applied on desired plants.
The sprayer will be tested in real-time for detecting and spraying on early-blight and late-blight-affected potato plants. The major purpose of this study is to reduce the usage of agrochemicals, which will result in fewer health risks and lower agricultural input costs.
The functions of the smart spraying system will be automated with the help of a relay and a microcontroller connected via a serial connection and an Arduino script. The trained models infer the findings in the form of bounding boxes around the targets after image acquisition by cameras. The microprocessor receives the signal from the detected targets, which triggers the relays and solenoid valves. The spraying nozzle is triggered and the spraying liquid is applied to the target as the solenoid valve opens. The serial data from the computational unit containing the "target to be sprayed" will be read using an Arduino script.
When the target is detected, the Arduino sends a 5V signal to the relay, which activates the relay module, which then opens the 12V solenoid valve. The control unit receives no signal if no target is captured by the cameras, hence the solenoid valves and spraying nozzles remain switched off.

Our final product will be a software and hardware-based system which will process captured images of the potato plant and spray on diseased plants. The model will process the image for enrichment first, then Feature extraction techniques are used to extract features such as boundary, shape, color, and texture for the disease spots to recognize the diseases. After recognizing diseases, our model will spray the agrochemicals on the diseased plants which will help to get rid of the diseases with lesser usage of agrochemicals.
For this variable rate spraying system, we are using deep learning-based algorithms along with the following components; A spraying tank for agrochemical storage, the pump for supplying agrochemical continuously to nozzles, solenoid valves along with relay modules to actuate the spraying nozzles, and lastly, web cameras for image capturing.
| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Raspberry pi | Equipment | 1 | 25000 | 25000 |
| Arduino UNO | Equipment | 1 | 1800 | 1800 |
| Camera | Equipment | 2 | 5000 | 10000 |
| Raspberry pi adapter | Equipment | 1 | 700 | 700 |
| Relay module | Equipment | 2 | 500 | 1000 |
| Micro SD Card | Equipment | 1 | 1500 | 1500 |
| Solenoid Valve | Equipment | 4 | 2000 | 8000 |
| Water Diaphragm Pump | Equipment | 1 | 3000 | 3000 |
| Nozzle | Equipment | 4 | 500 | 2000 |
| Minor pieces of Stuff | Miscellaneous | 1 | 6000 | 6000 |
| Traveling | Miscellaneous | 1 | 4000 | 4000 |
| Total in (Rs) | 63000 |
It work on humidity sensor and tep sensor .it sepecliy desion for water control . Projec...
The name of Project is Green line Project. This type of project lies in rare case in the c...
The proposed project idea is an android based mobile application which prevents accidents...
Population growth has typically increased the need for beforehand planning of crop product...
Programmable Logic Controller (PLC) is a necessity and demand of every running commercial...