Welcome to the world of robotics, where imagination meets reality! This project is all about a line tracking robot, a fun-loving, path-finding whizz that's built using the power of C/C++.
Imagine a robot that's not just a robot, but a maze-solving maestro. Our little hero is equipped with a line sensor that allows it to follow a path, even around the most challenging bends. It's not just about following the line, though. Our robot is a decision-maker, a problem-solver, a veritable Sherlock Holmes of the robotics world. At every junction or intersection, it makes a choice and bravely ventures forth. And if it encounters an obstacle or a dead end? No problem! It simply turns around and heads back, ready to tackle the next challenge.
But that's not all! Our robot is also a finish-line fanatic. It can detect the endpoint of its journey and celebrate its victory in style. When it starts its adventure, count down from 10 and it displays 'St' (Start) on its matrix display, after which it springs into action. And when he is at the finish it flashes the end time three times for a triumphant finale, then proudly displays 'FI' (Finish).
It makes the right choice at every junction or intersection to speedily reach the endpoint.
So, are you ready to join the adventure? Let's get started!
This project exists thanks to all the people who contribute.
For a full list of contributors, see the project page.
To run this Arduino project, you will need:
-
Arduino IDE: This is the software used to write and upload code to the Arduino board. You can download it from the official Arduino website.
-
Arduino Board: This project was developed using an Arduino Uno, but other Arduino boards should work as well.
-
Line Sensor Module: This is the main sensor used by the robot to detect and follow lines.
-
Hardware Components: In addition to the Arduino board and line sensor, you will also need a breadboard, jumper wires, and a servo motor.
-
Basic Knowledge: You should have a basic understanding of electronics and C/C++ programming to understand and modify the code.
Please ensure all these prerequisites are met before attempting to run the project.
This project is licensed under the GNU General Public License v3.0.
- The robot must be able to follow the line, even around the bend.
- The robot must make a decision at a junction/intersection and drive there. The robot must turn around at an obstacle or end of the road and drive back
- The robot must be able to detect the endpoint.
- At the start, St (Start) is displayed for 1 s, after which the time starts and the robot starts moving. From the start, the robot must eventually arrive at the end point
- When the robot is turned on, it will first count down 10s (visible on the displays) before St (Start) appears on the displays.
- If the junction/intersection is detected again, a road should not be chosen that is already clearly a dead end.
- Once the robot has started, it counts the time until the finish. This is shown on the display.
- At the finish, the end time flashes 3x 1s, then FI (Finish) appears on the display.
- The robot remembers the best route to solve the maze. When restarting, the robot makes the right choice at every junction / intersection to immediately drive to the end point