|CS252 Course Wiki: Fall 2015||Obstacle »
Obstacle Avoidance Robot
In session 1, you will assemble your robot. Use the Platform Assembly video to aid you in your assembly process.
In session 2, you will complete the wiring of your robot. The video will show you how to wire your motors to the motor shield, and the Text File will explain how to wire the ultrasonic sensor to the motor shield.
In session 3, now that your robot is completely assembled and wired up, its time to get it moving. You will start with getting to just move forward in a straight line without incorporating the ultrasonic sensor, then experiment around with changing the pin values to make it execute different maneuvers.
In session 4, you will use your ultrasonic sensor to detect an object. It will convert it's time signal into a distance and display that distance on the serial monitor.
In session 5, you will be incorporating both the ultrasonic sensors and the motors into a program that moves forward until it senses something at a certain range which then causes the robot to stop.
In session 6, you will complete the implementation to create complete obstacle avoidance. After you get a working code with one sensor, try to implement more sensors in order to better avoid obstacles.
|Page last modified on September 25, 2012, visited times|