Ever thought of giving automation to your doorbell..? In this blog, we will make a prototype of a smart doorbell using a PIR sensor that detects the motion of an object or person and automatically gives a buzzer sound.
The Arduino is a programmable #microcontroller, it's an open-source electronics proto-type platform. It interacts with the user by receiving input with the aid of sensors and provides the output employing LED, buzzer, etc.,
In order to know more about the Arduino UNO, refer to this article.
A Passive Infrared sensor (#PIR sensor) is an electronic sensor that measures infrared(IR) radiation emitted from objects in its field of view. It can detect the changes in the amount of radiation impinging on it, which varies based on the temperature and surface characteristics of the objects in front of the sensor.
The Buzzer is an audio signaling device, in this case when it detects an object, the buzzer gives a beep sound.
These connecting wires are used to establish the connection between various parts of the circuit.
The Arduino Integrated Development Environment (IDE) is a cross-platform application (for Windows, macOS, Linux) that is written in functions from C and C++. It is used to write and upload programs to Arduino compatible boards, but also, with the help of third-party cores, other vendor development boards.
Circuit connection involves the following steps:
PIR Sensor is powered by connecting the 5V and ground pins of the Arduino through the breadboard.
Out wire of the PIR sensor is connected to digital pin 2 of the Arduino.
The positive terminal of the buzzer is connected to digital pin 11 of the Arduino.
The negative terminal of the buzzer is connected to the ground.
Whenever an object or a person enters into the field of the PIR sensor, it detects the motion, and the alarm rings, the msg "motion detected" will be displayed. Similarly, if the motion stops, it prints "motion stopped".
Video By- Vishwa Raj V
Follow us -
Please do follow us i.e #learnelectronicsindia to get daily updates about new blogs, videos, courses, quizzes and contests.
Content Written by-
Name - Kiranmai Chigurupati
Portfolio Link - click here