You have two types of touch sensors to choose from. The Lego variety is assymetrical and a bit sticky so you are welcome to use the digital switch variety. You should place at least two sensors on the front, one on the left side and the other on the right side in order to sense the robot's orientation to the obstacle. You may also want to create a front bumper to ensure that the robot sensors will respond to any frontal contact. Then place at least one touch sensor on the back of your robot.
Once your sensors are securely attached, write a Micro C program that will recognize when an obstacle has been encountered and will encode strategies to move away from the obstacle.
Describe the techniques you used in programming obstacle avoidance.