WHAT IF I LEARN™ LABS
ROBOTICS BY DAVID
Newton is being programmed to follow a line or an object. The programs are written in C++ code.
Newton is able to detect a line via an image recognition camera. The camera performs on-board image processing to recognize a line. Then, a programmed microcontroller directs Newton's motors to follow the line.
To follow objects, the camera runs a different algorithm that enables it to detect trained objects. A trained object is any object I program the camera to detect. For Newton, I'm using a green ball as the object. The camera is connected to two servo motors, which enable it to look around. Once the camera sees the ball, the camera follows the ball, and the programmed microcontroller directs Newton's motors to follow the ball.
Line-following robots are used in modern factories. They deliver tools and materials throughout the facility.