Project+107

Project #107 - Maze Traversal with Three Motors

In this project you will have the same objective as the previous project (#106 Maze traversal with sonar sensor), however, you will be using three motors. The third motor will turn a platform gear which is attached to the sonar sensor. The head (sonar sensor) will turn left and right to determine which way the robot should turn in order to traverse the maze. You need to use your own creativity in deciding how to construct the robot to complete this challenge. use the light sensor and the sonar sensor. The objective is to navigate through the maze using the sonar sensor and stop when the light sensor detects the finish line (a black strip of electrical tape). First declare two integer variables: L (for left distance) and R (for right distance). Your robot will proceed straight until you come close to a wall (in most cases, 15 cm. is a good starting place). Then you will turn left and read the distance to the left wall into L, return to the point prior to the turn, and then turn right and read the distance to the right wall into R. Now your robot will turn left if that is the longer corridor or right if the distance is longer than the left.

 Hints: The platform gear may need an additional gear to turn from the motor. Use your co-worker to bounce ideas off of each other. We are all smarter collectively than any one individual.

 This challenge, with the head turning associated with it, will give you robot some "living being" characteristics. I believe you will enjoy and begin to understand the infatuation that the Japanese have for creating human-like robots, Good Luck :)

 Resources: The Light Sensor and The Sonic Sojourn

 AE 5.4 and 5.5

media type="custom" key="8713650"

media type="custom" key="8485600"

media type="custom" key="8523446"

media type="custom" key="8027292"