How to Make Arduino Social Distancing Device With PIR

by DKArdu in Circuits > Arduino

475 Views, 1 Favorites, 0 Comments

How to Make Arduino Social Distancing Device With PIR

Upgraded! How to Make Social Distancing Device with PIR against Covid-19 using Arduino

1

Circuit Diagram

Circuit diagram.jpg

Parts:

Arduino NANO, https://amzn.to/3hB8Pwf

HC-SR501, https://amzn.to/3aJAOHX

HC-SR04, https://amzn.to/2zLomJU

12 bit WS2812 5050 RGB Round LED

Buzzer, https://amzn.to/2BeYzu3

Jumper wires, https://amzn.to/3jCHhZd

Production

01.jpg
02.jpg
03.png
04.jpg
05.jpg

Install the library file: Open "Tools"-"Manage Libraries…… " in the Arduino development software, then search for "Adafruit_NeoPixel" and install it.

NOTE:

note.jpg

In this project I used the HC-SR501 human body infrared sensor module. The HC-SR501 human body infrared sensor module has two triggering methods. One is non-repeatable triggering: that is, after the sensor outputs a high level, the delay time is over,The output will automatically change from high level to low level. To put it simply, it will output a high level when it senses human movement, but after the time of its delay adjustment button is over, it will not continue to sense even if a person moves in front of it. HC-SR501 has a lockout time of 0.2 seconds, during which time it will not work. It will continue to sense after the lockout time is over. There is also a repeatable trigger mode: after the sensor outputs a high level, during the delay period, if a human body is moving within its sensing range, its output will remain high until the person leaves. Change the high level to low level (the sensing module will automatically extend a delay time period after detecting every activity of the human body, and take the time of the last activity as the starting point of the delay time). Simply put, if you keep moving in front of the human infrared sensor module, the HC-SR501 will always output a high level.