Testing Log 1: Light Sensor
Date: 2/22/2023
Test Duration: 10:30AM-10:55AM
Number of Runs Performed: 2
Team Members Present: Anna-Kate Miedler, Sariah Echols, Reina Quinn,
What was being tested: Whether the robot can accurately respond to the light
Observations:
- At first thought the light to be just white but it is actually red
- Robot not built yet so used the Crayola bot to test the CdS cell
- For test 2, included a call to a function that would cause robot to move when light sensor turned on
- Only the left wheel was functional on the crayola bot used
Outcomes:
- Test 1
- Robot initially only outputted the “I see the light” statement when the light was turned off, meaning there was an issue in the code- code waited until input was found and then removed.
- Test 2
- When the light was turned on the crayola bot responded accordingly by displaying the “I see the light” statement on the screen as well as beginning to move
- Only one motor moved but swapping the ports showed that it was likely a fault of the motor and not the code