04 Mission Instructions

Your mission is to create a robot that reacts to how loud the environment is around it. 


8. Test

Before engineers test a program, a robot, or anything else, they develop a test plan. In this case, we need to make sure we check our robot’s behavior in response to all different situations. What will it do in a silent room? A loud one? What about all the situations in between? 


Brainstorm a list of test cases that are practical to try out with your robot. Some ideas might be: watching a movie in the living room, a family dinner, playing with your sibling(s), practicing your musical instrument, sitting next to the washer and dryer while they are turned on, or measuring how loud a baby is (if one of your siblings is very young). 


Next, make a prediction — what should your robot do in each of these cases? 


Before you actually run your program, put your robot in each of your situations. Use the dropdown on the Sensor Control Panel for the port you plugged the loudness sensor into (AD1 or AD2) and select the Loudness sensor. Now you can find out the value of the loudness sensor in each of these situations. 


Write down those numbers in the chart — you will need them if you decide to modify your robot’s behavior. 


Finally, run your program and check - does your robot's behavior match your predictions? Write down the results on the table.