Welcome to the repository for Fully Automatic Robot-2, designed specifically for the ABU Robocon 2024 and the Indian national competition DD Robocon 2024. This robot was created to meet the challenges of the "Harvest Day" theme, simulating the tasks of planting rice seedlings and collecting seeds.
Robot-2 is engineered to:
- Differentiate between paddy rice (blue or red ball) and empty grain (purple ball) using two Pixy2 cameras and a pan-tilt mechanism.
- Collect the paddy rice.
- Store the collected paddy rice in a designated silo.
The robot performs these tasks autonomously, leveraging advanced algorithms and precise control mechanisms.
- Robot_2/: Main folder containing the code for both red and blue areas and common functions.
- Libraries/: Libraries used in the project.
- Robot_2_Slave/: Code for the slave microcontroller.
- Orientation_Shield/: Code for the orientation shield.
- red_area/: Functions specific to the red area.
- blue_area/: Functions specific to the blue area.
- common_functions/: Shared functions such as Debugging, TF_Mini, Communication, Pixy_function, PID_Correct_functions, Millies, Silo, Directions, PID_Functions.
- docs/: Includes documentation, schematics, and design plans.
- Clone the repository:
git clone https://github.com/pratikwayal01/Robot-2_DD_Robocon.git
- Navigate to the project directory:
cd Robot-2_DD_Robocon
- Open the Arduino IDE and load the
Robot_2.ino
file. - Ensure all necessary libraries are installed (see
Libraries
folder). - Upload the code to your Arduino board.
- CytronMotorDriver-master: For controlling the motor drivers.
- LSA08: Used for line following sensors.
- pixy2-master: For interfacing with the Pixy2 camera.
Please download and install these libraries via the provided links.
To run the robot's main program:
- Power on the robot.
- Ensure the Pixy2 cameras are calibrated and connected.
- Start the main program via the Arduino IDE or directly from the microcontroller.
- Autonomous Navigation: The robot uses a combination of sensors and computer vision to navigate the field and identify targets.
- Object Differentiation: Advanced image processing algorithms via Pixy2 cameras to distinguish between paddy rice and empty grains.
- Collection Mechanism: Efficient and precise collection system to gather the paddy rice.
- Storage System: Secure and organized storage of collected rice in the silo.
- Pixy_function.ino: Handles the differentiation between paddy rice and empty grain using Pixy2 cameras.
- Directions.ino: Manages the autonomous movement and pathfinding of the robot.
- PID_Correct_functions.ino: Controls the mechanisms using PID control.
- silo.ino: Oversees the storage process in the silo.
- Competition Highlights Video
- Robot -2 Design all credit goes to mechanical Team.
For more details about the ABU Robocon 2024 theme, visit:
This project is licensed under the MIT License. See the LICENSE
file for more details.
For any queries or further information, please reach out to Pratik.
As a programmer, the biggest joy is seeing your code come to life. In robotics, you witness how your code works in real-world scenarios. Seeing your code working is worth having all those sleepless nights and problem-solving troubleshooting days. I had the honor of coding for Robot 2 in DD Robocon 2024, an autonomous robot tasked with reaching Area 3, differentiating between paddy rice (blue or red ball) and empty grain (purple ball), and collecting the paddy rice to store in a silo (basket).
This journey has been incredibly rewarding, not only because of the technical skills I developed but also because of the many non-technical lessons I learned along the way. I learned the importance of teamwork, perseverance, and effective communication. The challenges we faced and the problem-solving required pushed my skills and understanding to new heights. Although our robot did not perform as expected during the competition, the learning journey was incredibly rewarding. The challenges we faced and the problem-solving required pushed my skills and understanding to new heights.
- Stage 1: AIR 5
- Stage 2: AIR 5
- Stage 3 (Finals): AIR 6 in the league stage
- Quarterfinalists
- MathWorks Modeling Award Winner
- Robotics Society Award Winner
Our team's perseverance and innovation led us to these remarkable accomplishments. I am immensely proud of what we achieved together, despite the setbacks. This journey has truly been a testament to hard work, learning, and teamwork.
Here’s to more milestones and groundbreaking achievements! 🚀🤖