PA Designer: Try It Out

This is the second challenge within the Robotics with GoPiGo and Python Curriculum.

Your task is to program your robot to alert a person with a hearing impairment to visiting house guests.

Learn how to use the Loudness Sensor alongside Jupyter Notebooks.

3. Soak Testing

Let’s perform a soak test. This is where we leave our code running for a period of time to test its performance and reliability over time. In our case, we want to see if our robot is robust to the natural variation in our noise environment over time.

Leave the code running for at least 60 seconds without ringing a bell. Does the LED light up during this period? If it does, your robot is being triggered by ambient noise. In engineering, we call this a False Positive

Perhaps your threshold value is set too low for your noise environment or you are too close to a source of significant noise. What do you think you can do to improve the robot’s performance?

Make necessary adjustments and re-run the soak test until the robot can run for 60 seconds without the LED being lit.

Tags: