Skip to main content

10

Minor Versionm

by Joshua

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.

Video Overview

Featured Document

  1. Start with a large LEGO base plate. We used a 16 x 16 plate.
    • 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.

  2. Lay down tape to connect the Robotics Board to the LED and Piezo Speaker. Refer to the diagram as a wiring reference.
    • 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.

  3. Use some 2x3 LEGO pieces to make a simple sensor holder.
    • Use some 2x3 LEGO pieces to make a simple sensor holder.

  4. 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.
    • 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

  5. Use some additional LEGO bricks to secure the range finder in place.
    • 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.

  6. Download or Copy the Arduino Code from our GitHub Repo.
    • Download or Copy the Arduino Code from our GitHub Repo.

    • 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.

Finish Line

Attached Documents

Joshua

Member since: 11/16/2017

11,832 Reputation

132 Guides authored

0 Comments

Add Comment

View Statistics:

Past 24 Hours: 0

Past 7 Days: 0

Past 30 Days: 38

All Time: 2,199