Introduction
Keep other people away with this handy wearable alarm! Using a distance sensor we're able to keep other people six feet away from us. As people approach you this project starts flashing at an increased rate followed by an annoying alarm. Create this project using a Crazy Circuits Robotics Board or Arduino of your choice.
Tools
No tools specified.
Video Overview
Featured Document
-
-
Start with a large LEGO base plate. We used a 16 x 16 plate.
-
Drop down some 1x6 or 2x6 plates to make a platform for the Robotics Board.
-
-
-
Lay down tape to connect the Robotics Board to the LED and Piezo Speaker.
-
Refer to the diagram as a wiring reference.
-
Once everything is set add the parts.
-
-
-
Use some 2x3 LEGO pieces to make a simple sensor holder.
-
-
-
Connect a Female to Female ribbon cable between the Sensor and Robotics Board.
-
We use a 1x2 LEGO Technic brick as a strain relief. It was a tight fit.
-
The Trigger Pin connect to D5, the Echo Pin connects to D6
-
-
-
Use some additional LEGO bricks to secure the range finder in place.
-
We also added some LEGO Technic bricks to the top of the project in order to attach a lanyard.
-
-
-
-
As always, choose the appropriate port in the Arduino Software and choose Arduino Nano as the board being used.
-
You'll also need the NewTone_V1.0 Library to get this project working. That can also be found in our GitHub repo as a downloadable ZIP file.
-
Upload Code.
-