Fruit Fly Catching Robot For Agricultural Applications

Fruit flies are common pests. Fruit flies are known for their small size, red eyes and brown  bodies. Fruit  flies are especially attracted to ripened fruits. These flies damage fruit by laying eggs which release maggots within the fruit or vegetable. The fruit fly pierces the skin of the

2025-06-28 16:27:26 - Adil Khan

Project Title

Fruit Fly Catching Robot For Agricultural Applications

Project Area of Specialization RoboticsProject Summary

Fruit flies are common pests. Fruit flies are known for their small size, red eyes and brown  bodies. Fruit  flies are especially attracted to ripened fruits. These flies damage fruit by laying eggs which release maggots within the fruit or vegetable. The fruit fly pierces the skin of the maturing fruit and lays eggs below the surface.Fruit fly maggots can be found in a large proportion of a harvested crop, even every harvested fruit. The longer a fly is on your food the higher the chance of harmful bacteria, viruses being transferred to it. These flies are especially harmful in late summer and fall.

Our main objective is to stop the fruit flies from laying eggs on fruits and vegetables. By doing this we can decrease the ratio of  damaged fruits and vegetables.So for this problem we aim to design a intelligent robot. A fruit fly trap will be attached with it. The robot will be intelligent enough to move through the fields/gardens and the fruit fly trap will attract the fruit flies towards it and then it will capture them. By doing this we can stop the fruit flies from laying eggs on fruits and we can decrease the ratio of  damaged fruits.

Project Objectives

We have set some objectives to achieve in our project.These objectives are:

Project Implementation Method

We have divided our work in four parts. These are preparation of robot prototype,development of motor driver controller,to setup path tracking using ultrasonic sensors,integration of all modules.

First we will make the prototype of our robot.We will make the body of our robot.Then we will make the motor driver controllers.The motor driver controller will be used in controlling the direction and speed of our motors. Then we will setup the path of robot using ultrasonic sensor,The ultrasonic sensor will detect the hurdles which will come in the path of our robot.If ultrasonic sensor detects any hurdle in the path then it will give the information to controller and then controller will run the motors according to the information which the sensor will provide means robot will change its direction.In the end we will do the integration with the remote end.

Benefits of the Project

When we think of fruit flies, we picture harmless little insects that gather and circle around ripe fruit. They are a complete nuisance to humans as they hover over items that are left out, like fruits.They can be a year-round problem but are most common in summer and fall. The reason they can stick around all year is that they can breed inside drains where they reproduce rapidly and in huge numbers.There are hidden dangers that most people are unaware of, that make these tiny little fruit flies a human health hazard. Dangerous bacteria and other germs can stick to their hairy bodies, that can get on our food or hands and spread illnesses that cause health problems, especially diarrhea.

So in our robot a fruit fly trap is attached with it.In fruit trap trap there is a filter which have specific smell so fruit flies will be attracted towards it and then these flies will be trapped in the fruit fly trap.By trapping fruit flies we can stop fruit flies from laying eggs on fruits.By doing this we can decrease the ratio of  damaged fruits.By trapping fruit flies we can stop them from spreading harmfull bacteria and illnesses that cause health problems, especially diarrhea.One more advantage of our robot is that it will move all around the graden/farm so it can trap almost all the flies which are present in the farm.

Technical Details of Final Deliverable

First we have designed the mechanical robot prototype. It is the body of our robot.

Secondly we have designed the motor drivers. Motor drivers will help us to control the direction of our motors. The direction in which a motor rotates is determined by which side of the motor is connected to the positive and negative terminals. Swapping the positive and negative terminals will cause the motor to rotate in the opposite direction. To force a motor to switch in two directions, one requires minimum of 4 switches.We have used 2 n-channel and 2 p-channel power mosfets in it. The current rating of our mosfets are 23A.

Third we have integrated the ultrasonic sensor with servo motor. We have used the ultrasonic sensor to detect the hurdles which will come in our robot path.  Ultrasonic sensor will be connected with servo motor. When the ultrasonic sensor senses any hurdle in it’s path then it gives signal to controller about hurdle then the controller will send the instructions to servo motor then the servo motor will start to move left and right at 180 degree angle. Ultrasonic sensor will also rotate left and right as it is connected with servo motor. Sensor will check if there is any hurdle in left or right path. After sensors senses the paths then the controller will run the DC motors based on above measurements.

A fruit fly trap will be connected to trap the fruit flies. There is a filter placed inside a fruit fly trap. That filter have a specific smell which attracts fruit flies towards it and then fruit flies are trapped.

Final Deliverable of the Project HW/SW integrated systemCore Industry AgricultureOther Industries Food , Health Core Technology RoboticsOther Technologies RoboticsSustainable Development Goals Decent Work and Economic Growth, Responsible Consumption and ProductionRequired Resources
Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Total in (Rs) 29420
Power Mosfet (P-Channel) Equipment4100400
Power Mosfet (N-Channel) Equipment480320
Printed Circuit Board (PCB) Equipment1900900
Arduino Board Equipment115001500
Servo motor Equipment1500500
Battery Equipment115001500
Heat Sink Equipment920180
diodes Equipment820160
connecting wires Equipment1600600
Mechanical Robot Prototype Equipment11000010000
carolic sheets Equipment215003000
Breadboard Equipment1200200
optocouplers Equipment820160
Ultrasonic sensor Equipment1700700
Ferric chlordie solution Equipment1300300
DC gear motors Equipment216003200
resistors Equipment81080
Fruit fly trap Equipment1700700
nuts Equipment10220
connector Equipment18080
terminal blocks Equipment81080
scoth bright Equipment16060
lcd display Equipment1200200
aluminium sheet Equipment135003500
tyres Equipment470280
pcb print Equipment2400800

More Posts