Learn how to set off an alarm when an object breaches a set perimet
In this mission, you will help Piperbot and Pip detect when an object breaches a set perimeter using the Distance Sensor and sound an alarm. Ask students: “What do you think home security systems use as the sensor? What about smart doorbells?”
Have an different version? Look for more information on the Support Page.
Troubleshooting Tips
Is the Range Finder not measuring distance?
Pay extra attention to the wiring diagram for this one.
Verify all your electrical connections, including that your Pico is connected to your computer.
It is common for the connections to be off by 1 or 2 holes. We recommend going through each build to ensure the connections are correct.
Don’t worry! One of the wires (NC) does not need to be connected.
How does the Distance Sensor work?
The Distance Sensor emits sound waves and measures the time it takes for them to bounce back. Measuring this determines the distance.
Our customer support specialists are on hand to ensure your implementation of Piper runs seamlessly. View Support Docs or Contact Support
EXPANDED RESOURCES
Term Glossary
Engineer Someone who designs, builds, or fixes things to solve problems.
Sensor A device that produces an output signal to sense a physical phenomenon.
Conditional Statement A coding instruction used to compare values and express and make decisions, like an if-then statement.
List A sequence of several values grouped under a single name in code. A group of items or components. A tool used to store multiple pieces of information at once.