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!

Fire and Gas Monitoring System(IoT Project)

The Fire and Gas Monitoring System is designed to enhance safety in residential, commercial, and industrial environments. It continuously monitors for fire and gas leaks using a fire sensor and an MQ2 gas sensor. When a hazardous condition is detected, the system alerts the user via an LCD display and activates a buzzer. This system provides an effective way to quickly respond to fire outbreaks and gas leaks, potentially preventing damage and saving lives.


1.7k03

Play Buzzer with Solar Panel Power(STEAM Education)

To understand and demonstrate the utilization of solar energy to power and play Buzzer.


2.0k04

Obstacle Avoiding Robot(Robotics Project)

The Line Following Robot is a simple autonomous robot that follows a predefined path marked by a contrasting line on the ground. It utilizes infrared sensors to detect the line and adjust its movement accordingly. This project demonstrates the basic principles of robotics, including sensor integration, decision-making, and motor control.


1.8k04

Bluetooth Control Car( Robotic Project)

This proposal outlines the development of a Bluetooth-controlled car using an Arduino microcontroller. This car will be controllable remotely using a smartphone or tablet, offering a fun and educational introduction to robotics and electronics.


1.7k04