logologo

HOMEABOUTSERVICESBLOGSBOOKSSHOPCONTACT

+977 9803661701support@nepatronix.orgLokanthali, Bhaktapur

© 2025 NepaTronix all rigths reserved

Smart Bell(Automation Project)

  Back To Blogs

This project aims to create a smart doorbell system using an ESP32 microcontroller. The system integrates a relay, buzzer, and transistor to notify users of a visitor's presence, and an RTC (Real-Time Clock) module for timekeeping. The project demonstrates how IoT can be utilized for smart home automation, enhancing security and convenience.

Project : 51


Introduction:

This project aims to create a smart doorbell system using an ESP32 microcontroller. The system integrates a relay, buzzer, and transistor to notify users of a visitor's presence, and an RTC (Real-Time Clock) module for timekeeping. The project demonstrates how IoT can be utilized for smart home automation, enhancing security and convenience.


Components Used:

  1. ESP32 Microcontroller: The main control unit that processes inputs and manages the system.
  2. Resistors: For current limiting and protection of components.
  3. Relay: Used to control external devices like a doorbell or light.
  4. Buzzer: Provides an audible alert when the doorbell is pressed.
  5. Transistor: Acts as a switch to control the buzzer and relay.
  6. RTC (Real-Time Clock) Module: Keeps track of the current time, allowing for time-stamped notifications.
  7. Connecting Wires: To connect buzzer to the relay.
  8. Barrel Jack: To power the ESP32 and other components.

  9. Schematic Diagram:



PCB Design:


  1. 3D view:

Pin Configuration

    • Relay Control Pin: Connected to D23 of the ESP32.
    • Buzzer Control Pin: Connected to GPIO 18 of the ESP32.
    • RTC Module Pins: Connected via I2C (SDA and SCL pins on ESP32).

  1. Libraries Used


  2. 1.    Wire: For I2C communication with the RTC module.

    2.    RTC lib: For interfacing with the RTC module.

    3.    Wi-Fi: For connecting the ESP32 to a Wi-Fi network.

    Code:

    Code is in the following GitHub repository:

    4mrit/open-smart-bell-firmware-esp32 (github.com)

     Working:

1.    Initialization:

o   The ESP32 initializes serial communication at 115200 baud rate.

o   The RTC module is initialized for timekeeping.

o   Wi-Fi connection is established using the provided SSID and password.

o   Microcontroller is listening on asynchronous web server to control the time, schedule and other controls instead of BLYNK.

2.    Main Loop:

o   The main loop does the below mentioned:

-        time sync(1day)

-        Wi-Fi connection (1 min)

3.    Notify User Function:

o   Activates the relay and buzzer to notify the user of a visitor.

o   Sends a notification to the asynchronous web server with a timestamp of the event.

    Testing:

1.    Setup: Assemble all components as per the pin configuration.

2.    Power Up: Power the ESP32 and ensure all components are properly powered.

3.    Wi-Fi Connection: Ensure the ESP32 is connected to the Wi-Fi network and can communicate with the Blynk server.

4.    Button Testing: Simulate the doorbell button press to test the system's response. The relay and buzzer should activate, and the asynchronous web server receive a notification.

5.    Monitoring: Continuously monitor the for notifications to ensure proper functioning in asynchronous web server.


    Use of this project:

           1.    School/Colleges

           2.    Hospitals

           3.    As alarm in house


    Conclusion:

    The Smart Bell project successfully demonstrates the use of an ESP32 microcontroller for a smart doorbell system. By integrating a relay, buzzer, and RTC module, the project provides a reliable and real-time notification system. The use of IoT technology enhances the functionality and user experience of traditional doorbell systems, offering both local and remote alerts.

    Group members:

         1.    Amrit Paudel (Group Leader)

         2.    Sushant Kafle

         3.    Bibek Bishwokarma

         4.    Bebas Pandey

         5.    Kriti Devi Sharma

         6.    Biplov Basnet


       College Name: Nepathya College


 





Total likes : 17

Comments







Read More Blogs!

Top 10 Automation Projects for Final Year Students(

Looking to work on cutting-edge automation projects for your final year? Check out our top 10 picks, including a home automation system using IoT, an automated greenhouse monitoring system, and a smart traffic management system. These projects cover a wide range of fields, from agriculture to urban infrastructure, offering practical solutions to real-world problems. Whether you want to optimize water usage in farming or automate inventory management, these ideas will help you develop skills in sensors, microcontrollers, and cloud computing. Explore these exciting projects to make an impact in the growing field of automation!


2.8k04

Rain Alarm(STEAM Education)

To create a rain alarm circuit that activates a buzzer when water droplets are detected by a water sensor.


1.6k04

To turn ON/OFF LED using Button(STEAM Education)

To understand the basics of circuitry and electronic components by creating a simple project where a LED is controlled by a button


1.5k04

LED with Touch(STEAM Education)

To understand the fundamental concept of sensors and their application in converting physical inputs into electrical signals.


1.7k05