Social Distance Detector

9,175

56

20

Introduction: Social Distance Detector

Social Distance Detector:

I am Owen O from Denver Colorado and I will be in 7th grade this year. My project is called the Social Distance Detector! The perfect device for keeping safe during these difficult times. The Social Distance Detector's purpose is to give a gentle yet obvious reminder if you are not social distancing. This project is great if you are having some friends over or you tend to get a little close sometimes. The Social Distance Detector has two styles, one will clip onto your hat and the other hangs from a lanyard around your neck. The Social Distance Detector will simply beep if you are too close to someone or they are too close to you. Please have fun with this project and stay safe.

Step 1: Get Materials

The materials include:

3D printer (housing can be made or ordered)

Hot glue gun or 3d pen

HC-SR04 Ultrasonic Sensor: https://www.amazon.com/Organizer-Ultrasonic-Distan...

Arduino Nano: https://www.amazon.com/Arduino-A000005-ARDUINO-Nan...

9v Battery: https://www.amazon.com/gp/slredirect/picassoRedire...

Piezo Buzzer: https://www.amazon.com/Cylewet-Electronic-Magnetic...

Dupont Wires: https://www.amazon.com/dp/B077N643L7/ref=twister_B...

Switch:https://www.amazon.com/Qiying-Miniature-SS-12F16-P...

(There are many options/substitutes for all of these materials)

Step 2: Upload the Code

Open the file below in the Arduino IDE and upload it to your nano. Below are instructions on how to upload your code:

(all of these steps can be found in the Arduino IDE Tools menu (other than the uploading))

* open the Arduino IDE

* plug your nano into your computer

* select the port to which your Arduino nano is connected

* make sure that the selected board is nano

* make sure that you have selected the correct processor for your nano

*click the sideways (right pointing) arrow in the top menu to upload the code

Step 3: 3D Print Enclosure

3D print your enclosure: this step is pretty self-explanatory, the only important thing to know for this step is that you may need to experiment a little with the hole for the switch because it is not fit to any particular type of switch. I also wanted to let you know that I designed a lanyard version that you can just glue string on. If you decide to use the lanyard, the design steps will be the same except for 3d printing it.

(I used the Crealty Ender 3Ppro to print)

Step 4: Connect Switch and 9v Clip

  • Start by connecting the positive (red) of the 9v clip to any wire on the switch. Connect another wire (female to female dupont) to another switch wire.
  • After you have connected the wires you can secure them in place with hot glue or 3d pen to keep them in place.
  • I would recommend doing hot glue or 3d pen after you've assembled the device, to be sure you have everything working before making it permanent.

Step 5: Connect Switch and HC-SR04 to Nano

Connecting first components: It does not matter if you put this assembly in the enclosure now or later, just connect the wires as shown in the diagram. The wires without connection will be used later.

  • Note the black split wire in the diagram. Plug the 9v battery negative (typically black) into the wire coming from the HC-SR04, then plug into the ground of the Nano to avoid having to split the wire.

Step 6: Connect Buzzer and 9v Battery

Just follow the diagram and connect the wires as shown.

It is important to note that the longer pin of the buzzer is the positive (connects to red) and the negative shorter (connects to black)

You will know it is working if a red light on the board ignites when you turn the switch to on.

Step 7: Put Components Into the Enclosure

  • Start by inserting the Adruino Nano and buzzer into the enclosure.
  • Next, put the switch and the HC-SR04 into their respective locations
  • Put the lid in place
  • For lanyard version, glue or 3D pen string onto the sides.
  • For hat version, use a binder clip to attach to a brimmed hat.
"Can't Touch This" Family Contest

Participated in the
"Can't Touch This" Family Contest

Be the First to Share

    Recommendations

    • First Time Author Contest

      First Time Author Contest
    • Summer Fun: Student Design Challenge

      Summer Fun: Student Design Challenge
    • Maps Challenge

      Maps Challenge

    20 Comments

    0
    piyu19
    piyu19

    Question 9 months ago

    Is it necessary to use slide switch?

    0
    OwenO8
    OwenO8

    Answer 9 months ago

    No, if you are ok with needing to unplug the battery or have a different way to turn it on/off that would be fine

    0
    ghubeny332
    ghubeny332

    9 months ago

    hi

    for the 3d printing i am using our plan, however it asks for a scale. could you advise me how much scale it would be asking you - it is basically asking for the dimensions of the 3d printed enclosure shape

    0
    jerome_thomas
    jerome_thomas

    10 months ago

    I am just amazed by the effort put into this project! It looks like you spent weeks if not months designing this. I just love how you combing passion with safely! I will recommend this to anyone I know who knows Adruino. Thanks for creating project this good to the community.I would be happy to vote for this project in the cant touch this contest (I already did😀) Thanks for your effort and good luck Owen08!

    0
    Boblikecheez
    Boblikecheez

    10 months ago

    Wow, this is a really creative project and the instructions are very professionally written. Also congrats on your first Instructables project!

    0
    nodcah
    nodcah

    10 months ago

    Great project! Very easy to understand step-by-step guide, especially for an important gadget with the pandemic going on. I really like the flexibility of the design, too!

    0
    OwenO8
    OwenO8

    Reply 10 months ago

    Thanks

    0
    hayden.parker
    hayden.parker

    10 months ago

    Wow, great project can't wait to try to make this!!

    0
    OwenO8
    OwenO8

    Reply 10 months ago

    Thanks, enjoy!

    0
    natalie.oconnor
    natalie.oconnor

    Question 10 months ago

    What inspired you to make this?

    0
    OwenO8
    OwenO8

    Answer 10 months ago

    I made this because I wanted to help people and make the world a better place.

    0
    zoe.rickard
    zoe.rickard

    10 months ago

    Awesome job Owen! Such a cool project!!!!

    0
    john.kuppinger
    john.kuppinger

    10 months ago

    Very cool 10/10 would beep someone with this

    0
    kmorin16
    kmorin16

    10 months ago

    WOW! Awesome creation Owen! As a teacher this is a great idea for the classroom.

    0
    art.gluck
    art.gluck

    10 months ago

    As a classroom teacher, I plan on using this magnificent idea to help remind my students to socially distance. What a great design...thanks Owen O!!

    0
    natalie.oconnor
    natalie.oconnor

    10 months ago

    This is such a wonderfull work of art, I am just amazed.Thank you!

    0
    landon.campbell
    landon.campbell

    10 months ago

    I will show this too my grandparents they would love to see something this useful and creative

    0
    stephennemann
    stephennemann

    10 months ago

    This is awesome I totally would recommend this to a friend to make

    0
    OwenO8
    OwenO8

    Reply 10 months ago

    Hahaha, thanks!