In this project, we built a robot that resembles an ant and moves like one too. On the front side, this ant like robot is able to sense a wall in front of it and turn when it senses it. And on its back side, it is able to sense a certain color and react to it by moving forward or backward and saying something such as okey dokey.
Program Code 1
This code gave the robot the ability to turn
Program Code 2
This program gave the robot the ability to sense a wall in front of it and turn when it senses it
Program code 3
This program allowed the robot to walk like an ant.
Program Code 4
This program allowed the robot to sense a color then react to it.
Picture of Robot
What I Learned
I learned a new structure of robot and how it moves. I learned new coding block that make the robot talk and react when sensing a color. And finally, I learned how to create the "myblock" to combine 2 different blocks.
This was a video of our robot sensing a green, yellow, blue, and red legos and reacting to it.
This was a video of our robot sensing the wall then turning.