Introduction

Students will use the range finder sensor in combination with PiperCode: Security Zone to create their own sensor alarm and learn to graph results.

Concepts

Students will develop programs with sequences and simple loops, to express ideas or address a problem. They will graph, compare, and predict proportional relationships while interpreting the unit rate as the slope of graphs. 

Electronic Parts

1 Piper Computer Kit, 1 Range Finder (from Sensor Explorer), 2 Mini Breadboards, 5 Jumper Cables (2 yellow, 1 green, 1 red, 1 black), 1 4-Pin Diode Jumper Cable

GPIO Setup

Range Finder: 7, 6, 4

Buzzer: 24, 22

Troubleshooting Tips

Be sure to check wiring against the diagram. 

Be sure to connect the print chip above if, do, else when adding the repeat forever loop. 

Make sure the the positive side of the buzzer is pointed towards the right (edge of the breadboard). 

 

0 comments

Leave a comment

Please note, comments must be approved before they are published