In this tutorial, we will make a line following robot that is controlled by an Arduino. This robot will be able to follow a line on the floor or ceiling.
The first step is to take the breadboard and solder wires to each row of holes. It is important to note that some rows are connected together so make sure that you are not accidentally soldering two rows together.
Next, you need to place your sensors on the breadboard so they are aligned with the lines on the floor or ceiling. The sensors should be placed in such a way that when they detect a black line, they are touching both lines of the sensor's row (one black and one white). When they detect white lines, they should only be touching one row of the sensor's column (either black or white).
Finally, connect your Arduino and upload your code!
0 Comments