Skip to main content

Agriculture Robot

Agribot – Smartphone Controlled Agricultural Robot

Struggling to take care of your garden and wish that someone else did it for you? Well, this project is here to save your day! Meet Agribot: a smart robot that monitors the moisture level of the soil and waters it wherever the level is low!
 

We’re going to modify the 4-wheel drive robot that we previously made in one of our blog to make the agribot. Click on the link below for finding out how to make the 4-wheel drive robot.
 Ready to make automate gardening? Let’s begin! 

Components for this project:

  • Chassis 
  • Motor clamp
  • Servo motor
  • Servo horn
  • Soil moisture sensor
  • DC water pump
  • Pipe
  • Ice cream stick 
  • Cable tie
  • Li-po battery
  • Relay spacers 
  • Jumper cables 
  • PET bottle
  • Evive
  • Dabble
  • PictoBlox
  • Nuts and bolts
Connections:


Procedure:

Let's begin by setting the servo angle. We will set the angle to 90° using evive’s menu. Connect the Servo to servo Channel 1. Next, from the menu, select Controls, then select servos and finally navigate to Servo 1. Set the servo angle to 90° using potentiometer 1. Now, glue the servo onto theclamp using some hot glue. Attach the clamp to the front of the chassis. Now, let’s test the soil moisture sensor. Connect VCC to evive’s +5v pin. Connect GND to evive's GND. Connect signal pin to evive’s A0 pin. Next, from the menu, select pin state monitor and navigate to analog pins. Observe the reading next to pin A0 when the sensor’s tip is in the open air. The number 1023 will be displayed. Now, dip the sensor into the water. You will observe that the value will decrease. This means that the sensor is working perfectly. Now that we know that the sensor is A-OK,let’s mount it on the robot. Take the this part of the sensor and attach it to the front of the chassis. Now its time for making the connections. Connect VCC to evive's +5V pin. Connect GND to evive's GND pin. Connect Signal Pin to evive's A0 pin. Extend the servo wires. Connect VCC to +5v of evive, GND to GND of evive, Signal pin to evive’s pin 3. Now, let’s make the soil moisture testing assembly. Take an Ice Cream stick and attach it to the servo horn. Next, glue the probes of the Soil moisture sensor to the ice cream stick. Now, let’s assemble the automatic-watering mechanism. Take a soft PU Pipe and glue one of its ends onto the ice cream stick. Now, to switch the motor ON and OFF automatically,we’ll use a relay. Now, we need to add the storage tank. Fasten the 45mm spacers to the chassis. Next, attach the servo horn to the servo head. Now bring the pipe and the jumper cables ofthe relay to the top. And mount the second chassis onto the spacers. Then, fix the relay on the top chassis. Time for connecting it to evive! Connect VCC to evive’s +5V, Connect GND to evive’s GND, Connect Signal to evive’s digital pin 10. We will be using a plastic bottle as our storage tank. Take the bottle that is already cut in half. Then, glue it onto the top chassis. Now, it's time to power up our robot. Attach the Lipo battery to the chassis using cable ties. Next, take the water pump and fit the pipe to the outlet of the pump. Then, place the pump inside the bottle. Now, connect the negative end of the battery to the pump connector. Then, take a small piece of wire and connect it to the positive terminal of the pump. Now, connect the positive end of the battery to common on the relay. Connect the wire from the pump to NC on the relay. With this, the assembly of the agribot is done and dusted! Time to write its code in Picto Blox. Since we need to control the robot wirelessly, we’re going to write the code in the Upload mode. Since the agribot is a modified 4-wheel drive robot, let’s first write the code for the 4-wheel drive robot. The when evive starts up block will make sure that the program starts running as soon as evive starts up. The relay connected to pin 10 should initially be OFF and the screen should be blank. On pressing Up on game pad in Dabble, the robot should go straight and 'Straight' should be displayed on the screen. Similarly on pressing down, the robot should move backward and 'Backward' should be displayed on the screen. The robot should turn Left on pressing the Left arrow and 'Left' should be displayed on the screen. Finally, the robot should turn Right on pressing the right button and 'Right' will also be displayed on to the screen. Till this point, we've written the code for controlling the robot’s movements. Now let’s write the code for sensing the soil moisture level and watering it. On pressing the triangle button, the servo angle should change to 0° thus inserting the terminals of the soil moisture sensor into the soil. If the reading of the soil moisture sensor at Analog Pin A0 is more than 800, it means that the soil is dry. Therefore, the motor should turn ON and water the soil. Once done, it should turn OFF. Finally, on pressing the cross,the servo should return to its original angle. But, what if nothing is pressed? In that case, the Robot should stop moving and 'Brake' should be displayed onto the screen. Upload the code to evive and watch your agribot take care of the soil for you!

Code:


Hope you liked this Blog, don't forget to share it with your friends.If you have anything you'd like us to make next, let us know in the comment section below. And for more such exciting DIY projects, Follow to Electronics Projects.

Take Care and Bye-Bye!!!

To Visit Wi-fi Controlled Robot Blog:Click Here

Comments

Post a Comment

If you have any doubts ,Please let me know.

amazon banner

Popular posts from this blog

Motion Detector Camera

Motion Detector With Photo Capture Camera   Hello friends!! Welcome to This Blog. In this Blog, we will make a motion sensor detector with photo capture using ESP32CAM and the PIR module. The logic behind is when the PIR sensor detects any motion, the ESP32CAM will start taking the pictures. So you can use this project as a security camera. In thisblog, I will share the circuitdiagram, Arduino sketch, and the component list, so after reading the complete article you can easily make this project. Now ESP32 CAM is a small camera module that has ESP32S chip on the back and some GPIO pins to connect peripherals and it also has a micro-SD card slot, where you can insert the micro-SD card and store the pictures. Now before going to the circuit diagram and Arduino sketch, let me give you a quick overview of this project.  Components Required ESP32-CAM  PIR Motion Sensor Module BC547 NPN Transistor 220ohm, 1k, 10k Resistor. LED 5-mm FTDI 232 USB to Serial Interface board 5 volt DC supply  The

Bidirectional Visitor Counter

Bidirectional Visitor Counter using Arduino A bidirectional visitor counter using Arduino may be a reliable circuit that takes over the task of counting variety of Persons/Visitors within the Room very accurately. if somebody enters into the space then the Counter is incremented by one and also leaves it might be incremented. MATERIALS REQUIRED: Arduino IR Module 16*2 LED 5V Relay Resistor(1K,220 ohm) Breadboard Jumper Wires The total number of persons inside the space is Shows on the 16X2 LCD module. The microcontroller does the work it receives the signals from the sensors, and this signals operated under the control of software which is stored in EPROM of Arduino. There are two IR Modules are used. first, one are often wont to count the amount of persons entering a hall within the up mode at the doorway gate. and therefore the other can count the amount of persons leaving the hall by decrementing the count at the exit gate. In this Project will helps to Wastage of electricity. In ou

Obstacle Avoiding Robot

Obstacle Avoiding Robot using Arduino and Ultrasonic Sensor A simple project on Obstacle Avoiding Robot is meant here. Robotics is a stimulating and fast growing field. Being a branch of engineering, the applications of robotics are increasing with the advancement of technology.The concept of Mobile Robot is fast evolving and therefore the number of mobile robots and their complexities are increasing with different applications. There are many kind of mobile robot navigation techniques like path planning, self – localization and map interpreting. An Obstacle Avoiding Robot may be a sort of autonomous mobile robot that avoids collision with unexpected obstacles. In this project, an Obstacle Avoiding Robot is supposed. It's an Arduino based robot that uses Ultrasonic range finder sensors to avoid collisions.  Components Required Arduino NANO or Uno  🛒 HC-SR04 Ultrasonic Sensor  🛒 LM298N Motor Driver Module  🛒 5V DC Motors  🛒 Battery  🛒 Wheels 🛒 Chassis  🛒 Jumper Wires  🛒 Circ