Introduction
In this article, we are going to create a simple working project using PIR Sensors with a buzzer. Passive Infrared Sensor (PIR) is a sensor which uses infrared radiation and the property of emission from the infrared radiations radiated from the human beings. Infrared radiation is also an electromagnetic wave which posses both, particle nature and wave nature. The maximum range is 7m and minimum range is 0.3cm. PIR Sensor has a Fresnel Crystal covering which converges the infrared radiations from the surroundings to the sensor.
Requirements
- Arduino UNO R3 (or another equivalent Arduino Boards) Pi
- Resistors (330 kohm)
- Connecting wires
- Buzzer
Process of the Circuit
- Our circuit has Arduino Board, buzzer, Pir sensor, and some jumper cables connected as shown in the circuit in Step 5.
- The Arduino board reads the input from PIR sensor through coding- DigitalRead();
- Human being produces IR radiation which is sensed by the sensor. If it senses any radiation, it will send 1 or HIGH as the signal to the Arduino Board.
- If the signal is HIGH, the buzzer is set to ON condition, else the buzzer will be in OFF condition.
- This will act as a project to count the number of persons entering or it can be modeled to an attendance register project.
Step to follow
Step 1
Open Arduino software.
Step 2
The main page will appear.
Step 3
Apply the coding given in the article to test the ciruit of the Arduino PIR Sensor.
Step 4
Compile and upload the coding to the Arduino Board.
Step 5
Follow the circuit diagram.
Conclusion
In this article, we learned how to work with Sensor like PIR Sensor, Arduino, Serial monitor of Arduino, Buzzer in a simple project. In an upcoming article, we will learn how to work with Ultrasonic Sensor.