Arduino Based Wireless Doorbell Using 433MHZ RF

Introduction: Arduino Based Wireless Doorbell Using 433MHZ RF

Hi guys in this instructables we will learn how to make a wireless Doorbell using Arduino and a 433 MHZ RF module.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Things You Need

For this instructables we will need following things :

RF module
Arduino :

Breadboard :

Connecting wires :

Step 2: Circuit

Tx circuit :

The Arduino pin 5 is connected to the one end of the doorbell switch, and the other end of the switch is connected to the supply voltage. A pull-down resistor of 10kohm is connected to pin 5 as shown in the fig. Pin 11 is connected to the data pin of the transmitter module. Vcc is connected to the supply voltage, and the ground pin of the transmitter module is grounded.

In here I used a breadboard for connecting the modules, and a push-button is used as a doorbell switch.

RX circuit :

Here, we connect pin 7 of the Arduino to the buzzer positive terminal, and the negative terminal is grounded. A supply voltage of VCC is given to the receiver module, and the GND pin of the module is connected to the ground. The out pin of the receiver module is connected to the 12th pin of the Arduino.

The receiver module consists of 4 pins in which one pin is grounded, and another one pin is for giving VCC supply, and the remaining two pins are used for data transfer. In the above diagram, a buzzer is connected to the digital 7th pin of the Arduino, and the 12th pin of the Arduino is connected to the receiver module output pin.

Step 3: Code

Please copy the following code and upload it to the arduino Board :

// ask_transmitter.pde
// -*- mode: C++ -*-
// Simple example of how to use RadioHead to transmit messages
// with a simple ASK transmitter in a very simple way.
// Implements a simplex (one-way) transmitter with an TX-C1 module

#include "RH_ASK.h"
#include "SPI.h" // Not actually used but needed to compile

RH_ASK driver;
// RH_ASK driver(2000, 2, 4, 5); // ESP8266 or ESP32: do not use pin 11

void setup()
Serial.begin(9600); // Debugging only
if (!driver.init())
Serial.println("init failed");

void loop()
const char *msg = "a";
driver.send((uint8_t *)msg, strlen(msg));

Doorbell Receiver Code
#include "RH_ASK.h"
#include "SPI.h" // Not actualy used but needed to compile
#include "pitches.h" //add Equivalent frequency for musical note
#include "themes.h" //add Note vale and duration

RH_ASK driver;

void setup()
Serial.begin(9600); // Debugging only

if (!driver.init())
Serial.println("init failed");

void Play_Pirates()
for (int thisNote = 0; thisNote < (sizeof(Pirates_note)/sizeof(int)); thisNote++) {

int noteDuration = 1000 / Pirates_duration[thisNote];//convert duration to time delay
tone(8, Pirates_note[thisNote], noteDuration);

int pauseBetweenNotes = noteDuration * 1.05; //Here 1.05 is tempo, increase to play it slower
noTone(8); //stop music on pin 8

void loop()
uint8_t buf[1];
uint8_t buflen = sizeof(buf);

if (driver.recv(buf, &buflen)) // Non-blocking
Serial.println("Selected -> 'He is a Pirate' ");

Step 4: Test the Doorbell

After connecting everything together and uploading the code to Arduino boards then plug the power and whenever someone pushes button on the TX side then we can hear doorbell making sound on RX side.

Be the First to Share


    • Trash to Treasure Contest

      Trash to Treasure Contest
    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest