The Red Robot was our first attempt at a robot for the second week. Below are different pictures and videos of the design and testing process of our bot!
To the right is a picture of the building stage of the Red Robot. Here, we were halfway done with building the bot. We had implemented the motors and wheels together, and connected the sensors to the main frame. However, the top of the robot hadn't been placed yet and and the sensors had not been connected to the main circuit. Furthermore, the metal bumper detectors had not been added yet.
Here is our finished Red Robot! All of the sensors are connected to its designated circuit, which you can see on the top left of the robot (many different wires connecting to the red circuitboard). The top frame of the robot is connected and in-place, and the metal wires are connected in order to ensure that the robot detects any obstacles in its path. We like to call this bot the bug bot because the metal wires are similar to bug antennas.
Finally, all we had to do after this building phase was upload the line-following and bumper code to the robot.
In this video the Red Robot navigates a line. It uses its line detector sensors to ensure that it follows only the path of the line. You can see it slightly shake, which shows its ability to sense the lines and readjust when needed.
In this final video, you can see our Red Robot fully in action. While following the line, the bot encounters an obstacle: the brick. Once it detects the brick, it backs up and slightly turns in order to avoid the brick once it moves forward again. However, since it also has the goal of following the line, it recenters on the line, meaning that it runs into the brick again. This results in a loop until the brick was removed.
Reflection: The Red Robot had its triumphs and struggles. The building process was fairly alright, although it did hurt to put some pieces in place. The code was linked on the instructions website, but we had to use some trial and error to discover which lines of code we needed and which lines interfered with our bot's purpose. In all, this was a fun robot to make and it was exciting to see it follow lines and avoid obstacles.