Reflectance Sensors

As you can see, the sensors are correctly attached to the AEV piece. The sensors are used to count the number of rotations the wheel makes while on the track. The sensors pick up the reflections given off when the wheel changes from silver to black. They then send this information to the Arduino and it keeps track of the information recorded. Without these sensors, the data recording would be nearly impossible to track how many rotations the wheels make, so it is vital they work properly.

Program Exercise 2 
motorSpeed(4,25);
goFor(2);
motorSpeed(4,20);
goToAbsolutePosition(295.38);
reverse(4);
motorSpeed(4,30);
goFor(1.5);
brake(4);
The Aev speed is now 25% on all the motors
The Aev runs for 2.0 seconds
The Aev speed is now 20% on all the motors
The ardruino went to mark 295.38
The Aev is now moving backwards
The Aev speed is now 30% on all the motors
The Aev runs for 1.5 seconds
Power stopped on all the motors