Detect Obstacles by Bumping into Them
Whisker sensors allow your robot to detect obstacles by bumping into them. When the robot's whisker bumps into an object, it makes an electrical connection between the whisker and a circuit on the breadboard. In this lesson, you will program your robot’s Propeller microcontroller to detect those contacts and make the robot avoid obstacles.
Before You Start:
- Make sure you have the latest SimpleIDE software.
- Download the latest Learn folder.
- Check that your Learn folder has the most current version of the ActivityBot library. If not, replace the one in your Learn folder with the more up-to-date version.