You are on page 1of 14

INTERNET OF THINGS

WORKER ALERT SYSTEM


USING ULTRASONIC SENSOR

Hrishika Agarwala BFT/19/96


Aditya Raj BFT/19/48
Concept
As nowadays, many incidents are occurring in the industries. There are many contributing
factors to it like careless workers, faulty machines, lack of instructions from the supervisors, no
safety instructions to the worker, etc. These factors lead to many major incidents. To prevent
these incidents, we have come up with a prototype that will help the machine area to become
safer for the workers. The circuit will consist of ultrasonic sensors, a buzzer/speaker, LED
lights, etc which will help to prevent any incidents. It will be installed near machines and areas
will be marked according to safety. If the person is in the most dangerous area which can
cause an accident, the LED will start glowing red, and the buzzer will start giving a sound to
make sure the person goes out of the area. The next area will be in Yellow and the safest area
will be in green LED color. This setup will help to decrease the major factory incidents and
make the working floor safe for the workers.
Components Used
Materials required to build a physical circuit:

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);

durationindigit = pulseIn(echoPin, HIGH); if (distanceincm < 7) { if (distanceincm < 7) {


void setup() { distanceincm = (durationindigit/5) / 29.1; digitalWrite(LEDlampYellow, HIGH); digitalWrite(LEDlampYellow, HIGH);
Serial.begin (9600); } }
pinMode(trigPin, OUTPUT); digitalWrite(LEDlampGreen, HIGH); else { else {
pinMode(echoPin, INPUT); digitalWrite(LEDlampYellow, HIGH); digitalWrite(LEDlampYellow,LOW); digitalWrite(LEDlampYellow,LOW);
pinMode(LEDlampRed, OUTPUT); digitalWrite(LEDlampRed, HIGH); } }
pinMode(LEDlampYellow, OUTPUT); if (distanceincm < 3) { if (distanceincm < 3) {
pinMode(LEDlampGreen, OUTPUT); i digitalWrite(LEDlampRed, HIGH); digitalWrite(LEDlampRed, HIGH);
pinMode(soundbuzzer, OUTPUT); sound = 1 000; sound = 1 000;
} } }
GREEN LIGHT YELLOW LIGHT RED LIGHT WITH BUZZER

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:

Arduino Uno R3 (Rs. 454)


Breadboard (Rs. 76)
Ultrasonic Sensor (Rs.62)
Buzzer (Rs.90)
Resistor (220 ohms) (Rs. 65 Whole sets)
Jumper wires (Rs. 89)
Industrial Prototype Costing
Arduino Machine Control: Rs 23000
Resistors: Rs. 900
Wires for connection: Rs.1000
Other Hardware: Rs. 5000-6000
Installation Cost: Rs. 6000-10000
Industrial Ultrasonic Sensor: Rs. 9000
Buzzer: Rs.500
Total: Rs. 44900
Improvisation and Conclusion

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.

You might also like