People counter and monitor for rooms

Published Aug 24, 2021
 8 hours to build
 Intermediate

Monitor and count the people while entering the room and leaving the room for smart rooms. when there is no people present in the room, automatically turn Off all the connected electrical appliances respectively.

display image

Components Used

Arduino Mega
Arduino Mega
1
LCD 16x2 Display Module
LCD16x2 has two lines with 16 character in each line. LCD16x2 is generally used for printing values and string in embedded application.
1
Relay module 4 Channel
Relay module 4 Channel
1
Resistor 10K 0603
Resistor 10K 0603
4
Diode 1N400x
Diode 1N400x
4
AK9753 IR sensor
AK9753 is a low power and compact IR (infrared) sensor module.
2
2N2222A NPN Transistor
Bipolar Transistors - BJT BJTs
4
Green LED 3mm
Standard LEDs - Through Hole LED HIGH BRIGHTNESS
1
Description

People counter and monitor for rooms

Building people counter : 

Arduino Mega

                            The Arduino MEGA 2560 is designed for projects that require more I/O lines, more sketch memory and more RAM. With 54 digital I/O pins, 16 analog inputs and a larger space for your sketch it is the recommended board for 3D printers and robotics projects.

IR sensor

                            An infrared (IR) sensor is an electronic device that measures and detects infrared radiation in its surrounding environment. IR is invisible to the human eye, as its wavelength is longer than that of visible light (though it is still on the same electromagnetic spectrum). Anything that emits heat (everything that has a temperature above around five degrees Kelvin) gives off infrared radiation. 

Connected Loads

                           To drive the electrical appliances that connected to the device via relay can be controlled by the designed device and display the count in the LCD display.

 

Schematic

 

Working : 

                    The main controller of this system is Arduino mega which has more number of pins when compared to other boards. Next is IR module, the IR module act as an object detection. The input from IR sensor module is given to the Arduino mega controller to process the inputs. There are two IR sensors named Sensor 1 and sensor 2. The condition that used in the system is when sensor 1 is high then sensor 2 is high at that time the system understands that a person is coming towards on the other hand when sensor 2 is high then sensor 1  is high then system understands a person is outwards form the system. And finally the respective counting will be displayed on the display on the system. If the count is zero all the connected electrical appliances will be OFF. When the count is greater than 1 then the appliances which are connected will be ON based on the condition.

 

Advantages:

  1. Low cost and simple system
  2. Reliable
  3. Maintenance free
Codes

Downloads

Soundar_S schematic Download
Comments
Ad