Security Zone – Piper

SECURITY ZONE

PIPER MAKE EDUCATOR RESOURCES SERIES

SENSOR EXPEDITION KIT

SET OFF AN ALARM WHEN A PERIMETER IS BREACHED!

Intermediate

1 hr

Ages 8+

You will need a Starter Kit and Sensors to do this mission. Get yours here:

CHECK OUT THE BUILD:

LEARNING OBJECTIVES

  • Build a “security zone” around your ultrasonic range finder and sound an alarm when the zone is breached.
  • Learn how to use if/then statements in code to create conditional statements.
    • Understand how the ultrasonic range finder measures distance using sound waves reflected off of objects.

EDUCATOR RESOURCES

  • You can share the mission directly to your Google Classroom after logging into your Google educator account in the top right corner of Piper Make.

Check out our easy assignment template that you can use to ask students to share their work by including pictures of their final circuits and code.

  • Useful vocabulary terms to use in classroom: sensing, ultrasonic range finder, if/then statements, conditional

TROUBLESHOOTING TIPS

Sensor not measuring distance?

    • Pay extra attention to the wiring diagram for this one! The green wire is not connected in order for the sensor to work.

How does the ultrasonic range finder work?

    • The ultrasonic range finder works by emitting sound waves and measuring the amount of time required for the sound waves to be reflected. Measuring this determines the distance.

FINAL HARDWARE

In this lesson, students will use the utlrasonic range finder to set off an alarm when a perimeter is breached.

FINAL CODE

OVERVIEW OF STEPS