Skip to content

rahularepaka/Project-Cyclops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project-Cyclops: Laser Attachment for FarmBot Genesis

Project Cyclops is an innovative laser attachment designed to enhance the weed removal capabilities of the FarmBot Genesis v1.3 by utilizing a 500mW laser.

Project Cyclops was rigorously tested at the Center of Excellence for Artificial Intelligence and Robotics at GEMS Dubai American Academy.

Laser Weeding Process

This cutting-edge tool leverages laser technology for effective weed removal. The system detects weeds using a camera, processes the coordinates, and applies the laser precisely to the targeted weeds.

Laser Details

Laser Details
Model FB03-500
Laser Power 500mW
Wavelength 405nm
Voltage 12V DC
Beam Shape Dot

Wiring to the Farmdunio

Programming the Microcontroller

The following Arduino code snippet sets up the relay pin to control the laser:

int relaypin = 6;

void setup(){
  pinMode(relaypin,OUTPUT);
}

void loop(){
  digitalWrite(relaypin, LOW);
}

Weed Detection

The camera detects weeds, processes their coordinates, and determines which plants to remove.

7 plants detected in image.

4 known plants inputted.
Plants at the following machine coordinates ( X Y ) with R = radius are to be saved:
    (   600   400 ) R = 45
    (   600   500 ) R = 45
    (   700   400 ) R = 25
    (   700   500 ) R = 25

2 plants marked for removal.
Plants at the following machine coordinates ( X Y ) with R = radius are to be removed:
    (   743   541 ) R = 6
    (   654   447 ) R = 6

2 plants marked for safe removal.
Plants at the following machine coordinates ( X Y ) with R = radius were too close to the known plant to remove completely:
    (   651   446 ) R = 7
    (   676   512 ) R = 3

4 detected plants are known or have escaped removal.
Plants at the following machine coordinates ( X Y ) with R = radius have been saved:
    (   700   410 ) R = 31
    (   596   396 ) R = 53
    (   698   485 ) R = 29
    (   600   499 ) R = 42
    
https://software.farm.bot/v14/The-FarmBot-Web-App/photos/weed-detection.html

How Does it Work ? 🤔

Step 1 : On the Farmbot WebApp and click on sequences and create a sequence called “Weed Detection”
Step 2 : Select “Add Command” and choose Find Home to calibrate the farmbot location to home
Step 3 : Upon clicking on the new sequence,then click on “Add Command” and then select “Take a Photo” and choose “All Plants” from the drop-down list
Step 4 : Click on “Add Command” and then select “Detect Weeds” and then automtically the weeds points will be created on the Farmbot Webapp
Step 5 : Select on the “Weeds” from the WebApp and you can find list of active weeds
Step 6 : Run the New Sequence Created to kill the weeds using laser

Test Runs 🧪

Laser Test 1

Laser + Water Test

Plant Test 1 + Water

Plant Test 2 + Water

Plant Test 3 + Water

Plant Test 4 + Water

Top View Laser Test

Laser Test 3

About

Weed Detection and Laser Elimination on Farmbot Genesis.

Topics

Resources

Stars

Watchers

Forks