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!

RFID Attendance System(IoT Projects Arduino)

This project IoT Projects Arduino is designed to create an RFID-based attendance system using an ESP32 microcontroller and an MFRC522 RFID reader. The system reads RFID card UIDs, compares them with predefined UIDs to identify users, and displays the results on a LiquidCrystal_I2C LCD screen. If the scanned card UID matches the predefined UID, a "Welcome" message is shown; IoT Projects Arduino otherwise, an "Access Denied" message is displayed. This project demonstrates the use of RFID technology for access control and attendance management.IoT Projects Arduino


2.8k07

Heartbeat Monitoring Using AD8232 Module(IoT Project)

The Heartbeat Monitoring System using the AD8232 module is designed to measure and display heart rate data. The AD8232 is a specialized integrated circuit designed for extracting, amplifying, and filtering small biopotential signals in noisy environments, making it ideal for heart rate monitoring. This system captures the electrical activity of the heart, processes the signal, and sends the data to a computer for real-time monitoring through serial communication.


1.5k04

Hydrogen Reader Through ESP32 (Mobile App Based)

The Hydrogen Gas Monitoring System project aims to create a wireless system that can monitor hydrogen gas levels and upload the data to a Firebase database for remote monitoring and analysis. The system utilizes an ESP32 development board, a hydrogen gas sensor, and Firebase's real-time database. The objective is to provide an efficient and reliable solution for monitoring hydrogen gas levels in an environment.


1.8k04

Transistor as a Switch(STEAM Education)

To understand how a transistor works as a switch.


1.7k04