logologo
Contact

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!

Musical Tone with Push Button(STEAM Education)

The aim of this project is to understand the functioning of a musical alarm circuit using basic electronic components.


1.6k04

Fire Alarm(STEAM Education)

To understand the basic principles of fire detection and alarm systems by building a simple fire alarm circuit.


1.7k03

loRa(LOng Range)Alert System(IoT Projects Arduino)

The IoT Projects Arduino LoRa (Long Range) Alert System is a wireless communication system designed to facilitate long-distance, low-power data transmission. In this project, two LoRa modules are employed in distinct locations, with one module acting as a transmitter and the other as a receiver. The system is engineered to send alerts or messages across large distances with minimal power consumption, making it ideal for remote monitoring and alerting applications. This IoT Projects Arduino documentation provides a comprehensive overview of the system's use, importance, operational principles, components, pin configurations, libraries used, working mechanism, main loop, notification function, and testing procedures.


2.8k06

Laser Security System(STEAM Education)

To learn about laser security systems and how they work.


1.6k04