Room Occupancy Counter

by Paolo Reyes in Circuits > Arduino

5905 Views, 31 Favorites, 0 Comments

Room Occupancy Counter

Case.JPG

I am Paolo Reyes a Mexican that loves to create and make things. That is why I Made this Room Occupancy Counter.

Due to COVID-19 circumstances, I decided to develop this project to limit virus spread, by controlling the number of people that can be in a room at the same time.

So how does this works? I am using two ultrasonic sensors that provide real distance information to the next wall, door or object, and when someone crosses between that space, the sensors will detect it, and according to the order in the sensors readings, it will count as a person entering or leaving the room.

Supplies

  • Ultrasonic sensor (x2)

UltrasonicSensor

  • DHT11 Temperature and humidity sensor (x1)

DHT_11

  • Active Buzzer (x1)

ActiveBuzzer

  • LCD 16x2 (x1)

LDC16x2

  • Green LED (x1)

GreenLED

  • Red LED (x1)

RedLED

  • 10k potenciometer PT10-2(x1)

PT10-2_Potenciometer

  • Push button (x3)

PushButton

  • Arduino Uno (x1)

ArduinoUno

  • ON/OFF Switch (x1)

ON/ OFF_Switch

  • AC/DC Adapter (x1)

AC/DC_Adapter

Remove DHT 11 and Arduino Connectors

WhatsApp Image 2020-07-13 at 8.06.12 PM.jpeg
WhatsApp Image 2020-07-13 at 8.06.12 PM (1).jpeg

Remove DHT 11 connectors and arduino uno female input .

Making the Case

Case.JPG

Print the case with a 3D-printer if you want a case. Otherwise you can test the device without a case on a breadboard or you can make a cardboard box... Just keep in mind that there has to be a hole for every component, I suggest to make one for the arduino as well to change or upload the sketch.

Downloads

Wiring and Soldering

Circuito.jpg
WhatsApp Image 2020-07-13 at 8.44.10 PM.jpeg

Wire all components according to the circuit plan.

If you want to make the PCB-prototype version, then arrange the components like in the diagram and use wires to connect the components.

Upload Sketch to the Arduino

Feel free to modify and play with the code.

Use the Device

Room Occupancy Counter

You can now put some glue or tape to add it on the wall and. LET THE DEVICE START WORKING!