Design and Implementation of Autonomous Fruit Plucking and Segregation Robot in Vertical Farming

Published Jul 18, 2022
 136 hours to build
 Intermediate

Autonoumous fruit plucking and segregation robot introduced for vertical farming and also in normal farming which replaces the overall manual harvesting without causing any damage to the fruit.

display image

Components Used

Raspberry Pi 4B
Raspberry Pi 4BRaspberry Pi 4B
1
L293D Driver
L293D Driver
1
Servo Motor MG995
Servo Motor MG995
5
PCA9685 Driver IC
LED Display Drivers I2C Bus LED Controller 28-Pin
1
9V Battery
Consumer Battery & Photo Battery 9V RECTANGLE
1
USB Webcam
Cameras & Camera Modules USB 2.0 WEBCAM1080PLNSCVEMICAD
1
DC Gear Motor
AC, DC & Servo Motors 12V DC planetary gear motor, 27 rpm, 1/150 gear ratio, 37mm diameter
4
5V 2A Power bank
Adafruit Accessories USB Li-Ion Power Bank with 2 x 5V Outputs @ 2.1A - 5000mAh
1
Wire
Hook-up Wire 788133 RED 100 FT
1
L-Bracket clamp for DC Gearbox Motor
Adafruit Accessories Motor Mount for TT Gearbox DC Motors - L-Bracket Type
1
Description
  • Enable the webcam access in the Raspberry Pi configuration setting and run the main program, once the main program is started to execute all servos will be in its initial position.
  • Real time object detection is performed on the tomatoes, to find its colour and shape.
  • Once the object is read from the webcam, then it is compared with pre-defined mask values of red, green and yellow colour.
  • If detected tomato is red then, robot locomotion is stopped, webcam is disabled, gripper servo will pluck the tomato and base servo will rotate its base to 0 to 90 degree and drop it in basket 1 and again all servos will reach to its initial position and again camera is enabled to detect the tomato.
  • If detected tomato is yellow then, robot locomotion is stopped, webcam is disabled, gripper servo will pluck the tomato and base servo will rotate its base to 0 to 180 degree and drop it in basket 2 and again all servos will reach to its initial position and again camera is enabled to detect the tomato.
  • If tomato is in green colour, then the robot locomotion will not be stopped, it is continued till it detects either red or yellow colour tomato.

  fig: Interfacing servos with PCA9685

Codes

Downloads

Screenshot_2022-06-03-13-33-18-225_com_whatsapp Download
Comments
Ad