Skip to main content

73. Limit the crowd to prevent the spread of COVID-19

Hey everyone!

Today I am going to explain you about another interesting COVID-19 Arduino project. This is an automatic, effective and cheap method to limit the crowd in public places - such as shopping malls, supermarkets, offices, etc. - and public transport vehicles, such as buses and trains.
The World Health Organization, WHO, has advised people to stay away from crowded places to protect themselves from the spread of Coronavirus disease. Even though people practice social distancing, it may not be effective when they are present in crowded places. I came up with this idea after I read the WHO guidelines about preventing the spread of COVID-19.

Aim/ Objective

This project is an automatic, cheap and effective way of limiting the crowd in public places and vehicles. Using a human to limit the number of people in a particular place would not be as effective as using an automatic system, due to lack of staff members in some areas. This prototype can be used in real-life situations by replacing the servo motor with a solid state relay module.
The solid state relay module will control the motor operating the automatic sliding doors in buildings and vehicles. There will be a slight change in code when replacing the servo motor.

Hardware components used in this project

  • Arduino Uno
  • USB Type A/ B cable (for Arduino Uno)
  • Solderless Breadboard - Full + (You will only be needing the power rail of this breadboard)
  • IR tracking sensor module (x2) (You could also use an ultrasonic sensor module)
  • Ultrasonic sensor module (x2) (HC-SR04) - Use this if you don't have an IR tracking sensor module
  • TowerPro Micro servo motor - SG90
  • LCD display module with I2C interface - 16x2
  • Male/ Male Jumper wires
  • Female/ Male Jumper wires

 Schematic

IR tracking sensor module

  • S ( inside) - D5
  • S (outside) - D4
  • (+) - 5V
  • (-) - Ground (GND)

Ultrasonic sensor module (HC-SR04) - If you had used this in your project

  • VCC - 5V
  • Trig - D4
  • Echo - D3
  • GND - Ground

16 x 2 LCD display module with an I2C interface

  • GND - Ground
  • VCC - 5V
  • SDA - A4
  • SCL - A5

Servo motor

  • S - D9
  • (+) - 5V
  • (-) - Ground

Code

If a person is going to enter the building or vehicle, he/ she can wave or hover his/ her hand over the ultrasonic/ IR tracking sensor module. If an IR tracking sensor module is used, it will send a LOW signal to the Arduino Uno microcontroller and according to my program, the door will be opened.

In my model, I have used a servo motor to open/ close the door. The door will be opened when the servo motor rotates 90 degrees.

If an ultrasonic sensor module is used, the door will be opened when the sensor detects an obstacle within 5 cm away from itself.The door will remain open for 5 seconds and the value stored in the count variable will increase by one after the door is closed. The count variable denotes the number of people inside a building or vehicle.

If the value stored in the count variable reaches the maximum occupancy value, the LCD display module will show that no one could enter and the door will remain closed until someone leaves the building.I have attached an IR tracking sensor module on the inside of the box (modelled as the building/ vehicle) as well. The process will be the same as that mentioned above, but the difference is that the value stored in the count variable will decrease by one as a person is leaving the building.



If anyone has any questions with the codes, please feel free to comment below.

Final Look

If the images are not clear, please visit my instructable page.
If anyone has any questions or suggestions regarding this project, please do not hesitate to comment below or send me an email at arduinoprojectsbyr@gmail.com.

Comments

  1. Will you please make your schematic diagram on proteus8 program and run using your arduino code.

    ReplyDelete
    Replies
    1. hello sir, i had a problem when connecting the 5volt input of the arduino uno it will turn off when i connect it. I already connected the circuit properly like your schematic diagram but the same problem happened. Will you please help me for this problem. I am hoping for your response soon thank you.

      Delete
  2. Nice project. Can you give me code because its not visible. Blured image.

    ReplyDelete
    Replies
    1. You can find the codes from this instructable page: https://www.instructables.com/Limit-the-Crowd-to-Prevent-the-Spread-of-COVID-19/

      Delete
  3. Will you please make a conceptual diagram - flow chart of your project (from input to output)

    ReplyDelete
  4. I want to create you project..can you help me?

    ReplyDelete
  5. Will you please make your schematic diagram on proteus8 program and run using your arduino code.

    ReplyDelete

Post a Comment

Popular posts from this blog

51. Buzz wire game using Arduino

Hello everyone! This is my first Arduino project in 2020 and it is going to be a fun and simple project. You would have heard of the Buzz Wire, a steady hand game, and today you will be learning to make one using Arduino. Hardware components used in this project Arduino Nano USB Type A to mini B cable (for Arduino Nano) Solderless Breadboard - Mini and Full-size LEDs (x2) - Green and Red Resistors (x2) - 220 Ω  Active Buzzer module (KY-012) LCD display module with I2C interface - 16x2 Male-to-Male Jumper wires (x4) - 10cm Female-to-Male Jumper wires (x5) - 20 cm Jumpers (x5) - to reduce the usage of wires Copper wire  Tape (or any form of insulation)  Setup Your hardware setup must look somewhat similar to the ones in the images above. The beginning and end of the copper wire maze must be taped to prevent conductivity between the wire loop and maze. Connections LCD display module with I2C interface GND - Ground VCC - 5V SDA - A4 SCL - A5

71. Buzz Wire Game ( Version 2.0 ) using Arduino

Hey Everyone! I hope that everyone's safe during this pandemic. Today I am going to explain you about the second version of my Buzz wire game. People who are bored of staying indoors can find this game pretty interesting and fun to play.  If you are a beginner, you can start off with my first version of this project :  51. Buzz wire game using Arduino   Hardware components used in this project Arduino Uno Solderless Breadboard (x2) - Full/ Full+ LCD display module with I2C module - 16x2 Potentiometer - B20K Push-buttons (x3) Resistor - 220 Ω Active Buzzer module (KY-012) LED - Red Copper Wire - 19/ 20 gauge thick Male-to-Male Jumper wires - 10cm and 20cm Wire - Long enough to connect the loop of copper wire to ground Other tools required for this project Cutting pliers - To cut the right amount of copper wire Round-nose pliers - To bend the copper wire and make a maze and loop Hardware setup Connections Wire Maze - D2 Wire loop - Ground (GND) B20K Potentiometer S - A0 (+) - 5V (-)

86. RFID Health tag (Arduino and Python)

 Hey everyone, Sorry I have not uploaded in a while. Today, I will be sharing an interesting project with all of you. This RFID Health tag project is useful when it comes to keeping track of vaccinated individuals, their biodata and their health conditions and medications. For this project, you will be needing Arduino and Python. Read on further to see how I did this project. Hardware components used in this project Arduino Uno Solderless Breadboard - Half+ MRFC522 RFID reader RFID key tags (x5) Push-buttons (x2) Male-to-Male Jumper wires (x12) USB Type A/ B cable (for Arduino Uno) Software required Arduino IDE - latest version recommended Python 3.8 Schematic MFRC522 RFID reader SDA/ SS - D10 SCK - D13 MOSI - D11 MISO - D12 IRQ - Not connected GND - Ground RST/ RESET - D9 3.3V - 3.3V Push-buttons Submit button - D4 Retrieve button - D5 Coding Arduino For this project, you will be using the following libraries: MFRC522 by miguelbalboa -  https://github.com/miguelbalboa/rfid SPI - In-bu