Docsity

Arduino Social Distancing Device: A Project by BSIT-3D Students, High school final essays of Computer science

Partial preview of the text

Download Arduino Social Distancing Device: A Project by BSIT-3D Students and more High school final essays Computer science in PDF only on Docsity!

PROJECT IN ASIA I.T 315

ARDUINO SOCIAL DISTANCING device (WITH BUZZER AND LED LIGHT)

MANUAL

Submitted By:

SIMBALLA, RODJEAN A. QUILLO, BEVERLY C. ACHAY, DANGELYN S. MENGULLO, VANESSA M. QUILLO, JEROME S. DOCENA, FRANKLIN BSIT-3D Submitted To: KRISTIAN F. APURA INSTRUCTOR Eastern Samar State University Can-avid Campus Page 1

ABOUT THIS PROJECT Because due to the coronavirus pandemic, So we decided to make a gadget that helps the social distancing by alerting if someone is near you for less than 40 centimeters and that you can keep with you everywhere. That both workers on offices, deliveries of restaurants, small kids returning to school after the lockdown, or even people with disabilities can use to return to their normal activities. Circuit Diagram: Eastern Samar State University Can-avid Campus Page 2

Making the Project: Eastern Samar State University Can-avid Campus Page 4

Codes for Projects: const int pingTrigPin = A4; const int pingEchoPin = A5; int led=13; //Buzzer to PIN 4 int buz1=9; void setup() { Serial.begin(9600); pinMode(led, OUTPUT); pinMode(buz1, OUTPUT); } void loop() { long duration, cm; pinMode(pingTrigPin, OUTPUT); digitalWrite(pingTrigPin, LOW); delayMicroseconds(2); digitalWrite(pingTrigPin, HIGH); delayMicroseconds(5); digitalWrite(pingTrigPin, LOW); pinMode(pingEchoPin, INPUT); duration = pulseIn(pingEchoPin, HIGH); cm = microsecondsToCentimeters(duration); if(cm<= 40 && cm>0) Eastern Samar State University Can-avid Campus Page 5