1
2 3
4 5
7 6 8
12 10 11
9
1) First I had to get the robot to move at a constant speed forwards without stopping.
2) The next setup is I need to make sure the obstacle detection for left side sensor is
always on because it will be detecting obstacles.
3) If the left side does detect an object it will rotate clockwise
4) This step is an obstacle detection for the right side sensor.
5) If the right side sensor does detect an object it will rotate.
6) This is a light sensor which will measure the amount of light in the environment. If
the light is less than
7) If the light is below 50% then the front light will turn on.
8) If the light is not less than 50% there will be no change in any of the lights so in other words
it will not turn on.
9) This time I added another obstacle detection but for the central right and left sensors.