Light Sensor

For the following set of challenges we had to use a light sensor to acomplish the tasks at hand. By using the light sensor we had to find out the threshold value of the black electrical tape so that when we created the program we would able to use it so that our robot would follow the black line properly.

Activity A

For the first activity we had to create a program that had our robot move straight and then stop when it reached the black line infront of it. Once it reached the black line the motors would stop and a light on point B would turn on.

100_2188.mov
File Size: 723 kb
File Type: mov
Download File

Activity B

For our second challenge we had to just slightly modify our robot so that we didn't have to drastically change the program. Our program originally had our robot stop when is saw the black line so we switched the wiring so that our robot would stop when is saw the white paper.

100_2185.mov
File Size: 694 kb
File Type: mov
Download File

Activity C

For this third challenge it was a bit more difficult. We had to change our program so that it could follow a curved line. So we changed the programing to trun back and forth when it would see black then white. So the engines would alternate between the two different colors.

100_2186.mov
File Size: 1573 kb
File Type: mov
Download File

Activity D

We had to use the light sensor to follow a race track for two laps in the fastest time we could manage.

100_2293.mov
File Size: 2326 kb
File Type: mov
Download File

Reflections



Troubleshoot-find problems
research-look up on
invention-create something
innovation-something new or different introduced
experimentaion-try things
problem soliving-solution