Project tutorial
Helmet that help in Social Distancing.

Helmet that help in Social Distancing. © GPL3+

This project is about a alarm turn on while the distance between two people is smaller than 1.5 meter the minimum recommended for population

  • 2,021 views
  • 2 comments
  • 2 respects

Components and supplies

Necessary tools and machines

About this project

The project about social distancing to reduce the spread of coronavirus disease 2019 or Covid-19. The goal is a turn on buzzer to indicate a minimum distance between two people and to alert if the distance for break up. This project use a PIR sensor, arduino uno, buzzer, battery 9V and ultrasonic sensor. When the distance between the people that use a helmet and another people is less than 1.5 meters buzzer will turn on. While distance less than 1.5 and PIR sensor High the buzzer is active.


Code

Code project Social distancingC/C++
Code project Social distancing using the ide arduino and sensors.
#include "Ultrasonic.h"
#define pinopresenca 7
#define buzzer  8

Ultrasonic ultrasonic(4,3);

float distanciamedida=0;
byte presenca=0;
void setup() {
  Serial.begin(9600);
  pinMode(pinopresenca, INPUT);
  pinMode(buzzer, OUTPUT);
    
}

void loop()
{

 
  distanciamedida=ultrasonic.Ranging(CM);
  Serial.println(distanciamedida);
  Serial.println("cm");
  presenca=digitalRead(pinopresenca);
  if(distanciamedida<=150&&presenca==HIGH)
  {
    tone(buzzer, 800,500);
    Serial.println("distancia menor que 1.5 metros");
  } 
  else {
    digitalWrite(buzzer, LOW);
    Serial.println("distancia segura");
    }
  delay(500);
}

Custom parts and enclosures

Layout project AUTOCAD
Layout project in autocad software
projeto_capacete_6dfE1wSkwU.dwg

Schematics

Layout helmet for social distancing
Layout in software fritzing about project helmet against coronavirus.
projeto_capacete_fVivEeZEH0.fzz

Comments

Similar projects you might like

A Device Which Help Us To Maintain Social Distancing

Project tutorial by Rohan Barnwal

  • 8,079 views
  • 13 comments
  • 19 respects

Social Distancing Reminder – Coronavirus

Project tutorial by arcaegecengiz

  • 17,909 views
  • 7 comments
  • 21 respects

Social Distancing Caps

Project tutorial by Manivannan

  • 13,750 views
  • 4 comments
  • 19 respects

Social Distancing with Automatic Door Control System

Project tutorial by Rucksikaa Raajkumar

  • 6,780 views
  • 0 comments
  • 17 respects

Social Distancing Cap

by THE INNOVATORS

  • 7,463 views
  • 4 comments
  • 0 respects

SIGFY (Sigfox Farm Yield) with Crop and Health Monitoring

Project tutorial by Team SIGFY

  • 7,769 views
  • 3 comments
  • 31 respects
Add projectSign up / Login