Professional Documents
Culture Documents
Arduino Uno R3
Breadboard
Ultrasonic Sensor
Buzzer
Resistor (220 ohm)
Jumper wires
The Process
Step 1: Assemble Materials
Step 2: Setup
Step 3: Assembly - Breadboard
Step 4: Assembly - Ultrasonic Sensor
Step 5: Assembly - LEDs
Step 6: Assembly - Buzzer
Tinkercad circuit
Code
#define trigPin 7 void loop() { if (distanceincm < 10) { if (distanceincm < 10) {
#define echoPin 6 long durationindigit, distanceincm; digitalWrite(LEDlampGreen, HIGH); digitalWrite(LEDlampGreen, HIGH);
#define LEDlampRed 9 digitalWrite(trigPin, LOW); } }
#define LEDlampYellow 10 delayMicroseconds(2); else { else {
#define LEDlampGreen 11 digitalWrite(trigPin, HIGH); digitalWrite(LEDlampGreen, LOW); digitalWrite(LEDlampGreen, LOW);
#define soundbuzzer 3 delayMicroseconds(20); } }
int sound = 500; digitalWrite(trigPin, LOW);
Away from the danger zone Little close to the danger zone Close to the danger zone
WORKER
DANGER ZONE
WORKER ALERT
SYSTEM
Simulation
Stages of Work
Picture of
other group
member with
hardware
Prototype Costing
Materials required to build a physical circuit:
There can be many improvisations done to this prototype and which can be used in various
sectors. The buzzer can be replaced with the speaker which will have instructions recorded to
it. The speaker will guide the worker to go into the safe area and hence prevent incidents. This
circuit can also be used on roads or areas which are prone to car accidents. The circuit will
alert the car if it is going to the danger zone and prevent major accidents on roads.
Hence concluding this prototype has many real-life applications, which can prevent many
types of accidents ranging from accidents in factories to accidents on roads. Further making
improvisations to these circuits will open many more further applications in different types of
sectors.