PA Designer : Project
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. Program Your Robot Assistant
Now it’s time to code up your robot assistant.
Using what you have learned, change the code in the Main Code cell so that your robot listens intently for a bell and when it hears that bell it stops listening and switches on the light.
You may wish to think about the following:
- How might you signal that the robot is in listening mode?
- What loudness level should you set as an alert threshold for the doorbell?
- How will you code the logic that triggers the switch from listening to alerting?