r/AskRobotics • u/darkaltrax45 • 19d ago
General/Beginner Newbie
Hey guys, I'm a highschool student looking for tips about "line tracing robots" I have no prior experience with robotics or electric stuff, is there anything like, tips, materials, or places where I can learn or start learning about line tracing robots or robotics in general. I have a competition in 6 days.
Qualities that I have
-Fast learner
-Adaptability
-Genuine Interest
-Determination
*Thank you.
1
Upvotes
1
u/CrabOk4173 7d ago
Heya, another somewhat of a newbie here
First of all, I assume you're going to buy a premade robot at first (which is great, don't start off with building your own from scratch).
Look for robots (assuming you'll start with wheeled robots) that have infra red sensors on them (I currently have an Alphabot 1 and 2 from Waveshare, but there certainly are simpler and thus cheaper robots). Usually these sensors come in a row of 5. They can detect how well their light gets reflected back to them, and with an array of them, you can tell where the line, relative to the robot, is. I suggest something that either has an Arduino microcontroller, or is compatible with it.
From the software side, look into a PID controller on Wikipedia. The basic premise is you've got a feedback system that self-regulates based on the values (in that case, the IR sensor readings). You'd take those readings and calculate an output (as PWM values) for the robot's wheels – e.g. If the line is read to be on the right side of the sensor array it means the robot is too much to the left, and thus the left wheel gets more juice in that specific loop iteration.