top of page

Smart Door Bell - Prototype

Updated: Jun 2

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.

Hardware Requirements:

Arduino UNO:

Arduino UNO
Arduino UNO

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.

PIR Sensor:

PIR motion sensor
PIR motion sensor

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.

Connecting Wires:

Connecting wires
Connecting wires

These connecting wires are used to establish the connection between various parts of the circuit.

Software Requirements:

Arduino IDE:

Arduino IDE Logo
Arduino IDE Logo

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:

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.

Code Explanation:


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


See Also:

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

Related Posts

See All

2 תגובות

Informative and concise! LearnElectronics India always delivers quality content.


Anushka Gupta
Anushka Gupta
20 ביולי 2023

Absolutely mind-blowing blog! Learn Electronics India has created an incredible resource for those curious about smart home technology. The insights into the Smart Doorbell Prototype have left me in awe of the advancements happening in the electronics world. I'm eagerly looking forward to more content from you.

bottom of page