Close Menu
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
Facebook X (Twitter) Instagram
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us
Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn
How To Electronics
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
How To Electronics
Home » How 433 MHz RF Module Works & Interfacing with Arduino
Arduino Projects

How 433 MHz RF Module Works & Interfacing with Arduino

Mamtaz AlamBy Mamtaz AlamUpdated:February 2, 20254 Comments5 Mins Read
Share Facebook Twitter LinkedIn Telegram Reddit WhatsApp
433Mhz RF Module Arduino
Share
Facebook Twitter LinkedIn Pinterest Email Reddit Telegram WhatsApp

Overview

In this video, we will be learning about then 433MHz RF Wireless Transmitter and Receiver Module & its interfacing with Arduino. We will also learn how this module works and how wireless communication occurs. And finally, we will learn how to use this module with Arduino to transmit and receive data packet wirelessly.


433MHz RF Module

433 Mhz RF Module

So this module looks exactly something like as shown in the figure above. And also available in different packages. But basically, all these modules have the same function. You can purchase any of these modules. The transmitter section is tiny and has 4 pins, while the receiver section is a little bigger in size and has 8 pins.



Transmitter Section

433 Mhz Transmitter

This little module is a transmitter. The heart of the module is the SAW resonator which is tuned for 433 MHz operations. There are a switching transistor and a few passive components.

433 Mhz RF Transmitter Working

When a logic HIGH is applied to the DATA input, the oscillator runs producing a constant RF output carrier wave at 433 MHz and when the DATA input is taken to logic LOW, the oscillator stops. This technique is known as Amplitude Shift Keying which is discussed below.

Receiver Section

433 Mhz Receiver

This one is a receiver module. It consists of an RF tuned circuit and a couple of OP Amps to amplify the received carrier wave from the transmitter.

433 Mhz RF Receiver Working

The amplified signal is further fed to a PLL (Phase Lock Loop) which enables the decoder to “lock” onto a stream of digital bits which gives better-decoded output and noise immunity.


What is Amplitude Shift Keying (ASK)?

For sending the digital data over the radio, these modules use a technique called Amplitude Shift Keying (ASK). In Amplitude Shift Keying the amplitude of the carrier wave is changed in response to the incoming data signal.
This is very similar to the analogue technique of amplitude modulation similar to AM radio. It’s sometimes called binary amplitude shift keying because there are only two levels. It’s similar to an ON/OFF switch.

• For Digital HIGH – This drives the carrier at full strength. • For Digital LOW – This cuts the carrier off completely.


Amplitude Shift Keying

Amplitude Shift keying is very simple to implement and inexpensive too which is a plus point factor. It is quite simple to design the decoder circuitry. Also, ASK needs less bandwidth than other modulation techniques like FSK.


Interfacing 433Mhz RF Module with Arduino

Let’s learn how to Interface 433Mhz RF Module with Arduino. We will be sending data between two Arduino boards, so we will need two Arduino boards, two breadboards and a couple of jumper wires. The RF module in both sections has an antenna. The actual height of the antenna should be 69 cm. but such a long antenna is not a feasible option. So you can use any wired antenna around 17 cm in length.

Transmitter Section Wiring

The wiring for the transmitter is simple. It has only three connections. Connect the VCC pin to 5V pin and GND to ground on the Arduino. The Data-In pin should be connected to Arduino’s digital pin 12 as by the default library. library.

Interfacing 433Mhz RF Module with Arduino

Receiver Section Wiring

The wiring for the receiver is just as easy as the transmitter. Once again there are only three connections to make. Connect the VCC pin to 5V pin and GND to ground on the Arduino. Any of the middle two Data-Out pins should be connected to digital pin 11 as shown in the figure.

Interfacing 433Mhz RF Module with Arduino

So you can see below how we have connected 433Mhz RF Module to Arduino in both the transmitter & Receiver Section.



Source Code/Program

Before going to upload the code, you need to install one library called a Radiohead library. Radiohead is a library that allows simple data transfer between Arduino boards. It’s so versatile that it can be used to drive all sorts of radio communications devices, including our 433MHz modules.

Radiohead Library: Download

Transmitter Section

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <RH_ASK.h> // Include RadioHead Amplitude Shift Keying Library
#include <SPI.h> // Include dependant SPI Library
// Create Amplitude Shift Keying Object
RH_ASK rf_driver;
void setup()
{
// Initialize ASK Object
rf_driver.init();
// Setup Serial Monitor
Serial.begin(9600);
}
void loop()
{
const char *msg = "Hello World";
rf_driver.send((uint8_t *)msg, strlen(msg));
rf_driver.waitPacketSent();
{
// Message Transmitted
Serial.println("Message Transmitted: ");
delay(1000);
}
}

Receiver Section

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include <RH_ASK.h> // Include RadioHead Amplitude Shift Keying Library
#include <SPI.h> // Include dependant SPI Library
 
// Create Amplitude Shift Keying Object
RH_ASK rf_driver;
 
void setup()
{
// Initialize ASK Object
rf_driver.init();
// Setup Serial Monitor
Serial.begin(9600);
}
 
void loop()
{
// Set buffer to size of expected message
uint8_t buf[11];
uint8_t buflen = sizeof(buf);
// Check if received packet is correct size
if (rf_driver.recv(buf, &amp;buflen))
{
// Message received with valid che-cksum
Serial.print("Message Received: ");
Serial.println((char*)buf);
}
}




Code Explanation

 

Transmitter sketch:

 

The sketch starts by including Radiohead ASK library. We also need to include the Arduino SPI Library as the RadioHead library is dependent on it.

Next, we need to create an ASK object in order to access special functions related to Radiohead ASK library.

In the setup function, we need to initialize the ASK object. In the loop function, we start by preparing a message. It’s a simple text string and stored in a character pointer named msg.

The message is then transmitted using a send() function. It has two parameters: first is an array of data and second is a number of bytes (length of the data) to be sent. The send() function is usually followed by waitPacketSent() function which waits until any previous transmit packet is finished being transmitted.

After that, the sketch waits for a second to give our receiver time to take in everything.

 

Receiver sketch:

 

Just like the transmitter code, receiver code starts by loading both the Radiohead and SPI libraries and creating an ASK object.

In the setup function: we initialize the ASK object and also set up the serial monitor as this is how we will view our received message.

In loop function: we create a buffer of size same as the transmitted message.

Next, we call a recv() function. This turns the receiver on if it not already on. If there is a valid message available, it copies the message to its first parameter buffer and returns true else return false. If the function returns true, the sketch enters into if statement and prints the received message on the serial monitor.


Video Tutorial & Explanation

How 433 MHz RF Module Works & Interfacing with Arduino
Watch this video on YouTube.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Reddit Telegram WhatsApp
Previous ArticleWireless AC Light Dimmer with Bluetooth & Arduino
Next Article ESP32 CAN Bus Tutorial | Interfacing MCP2515 CAN Module with ESP32

Related Posts

DC Energy Meter using Arduino

Build a DC Energy Meter using Arduino – 32V/5A

Updated:August 26, 20252K
Interfacing ADXL375 Accelerometer with Arduino

Interfacing ADXL375 Accelerometer with Arduino (±200g)

Updated:June 28, 2025
PZEM-004T Arduino Energy Meter

DIY AC Energy Meter using PZEM-004T & Arduino

Updated:March 6, 20258K
Interfacing BMI160 Accelerometer & Gyroscope with Arduino

Interfacing BMI160 Accelerometer & Gyroscope with Arduino

Updated:February 2, 20259K
Password Based Door Lock Security System Using Arduino & Keypad

Password Based Door Lock Security System Using Arduino & Keypad

Updated:February 2, 20252436K
Earthquake Detector Alarm with with Accelerometer & Arduino

Earthquake Detector Alarm with Accelerometer & Arduino

Updated:February 2, 2025661K
View 4 Comments

4 Comments

  1. Keenan on July 15, 2020 7:42 PM

    Line 20 of rx does not compile, changing to ” if (rf_driver.recv(buf, &buflen)) ” does & program works.

    Reply
  2. John Horvath on October 3, 2020 2:45 AM

    I have a home automation network that uses both RF433 and nRF24L01 for radio communication between devices. I would like to build a radio bridge using an ATMEGA328P connected to my server via serial for further processing. It would be nice if I have both types of receivers connected to the same MCU, otherwise I would need two separate MCUs for each type of radio and then have them separately push their data to the server. Because the RF433 uses the SPI library and SPI pins 11 and 12 to receive and transmit respectively, does this mean that it works as an SPI device even though ? If so, then would I also be able to connect the nRF24L01 to the same SPI bus? I have a home automation network that uses both RF433 and nRF24L01 for radio communication between devices. I would like to build a radio bridge connected to my server via serial for further processing using an ATMEGA328P. It would be nice if I have both types of receivers connected to the same MCU, otherwise I would need two separate MCUs for each type of radio and then have them separately push their data to the server. Because the RF433 uses the SPI library and SPI pins 11 and 12 to receive and transmit respectively, does this mean that it works as an SPI device even though there is no SCK and SS connection for the RF433? If so, then would I also be able to connect the nRF24L01 to the same SPI bus?

    Reply
  3. Moses kenson on December 22, 2022 6:22 AM

    What are the accessories that are used in making 433mhz transceiver

    Reply
  4. nithil on January 10, 2023 8:21 AM

    not getting reciever output

    Reply

CommentsCancel reply

Latest Posts
ESP32 Fingerprint Attendance System with Live Web Dashboard

ESP32 Fingerprint Attendance System with Live Web Dashboard

June 16, 2026
IoT Based PM & Air Quality Monitoring System using ESP32

IoT Based PM & Air Quality Monitoring System using ESP32

June 14, 2026
DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

May 10, 2026
IoT Activity Tracker with ESP32 & Accelerometer Gyroscope

IoT Activity Tracker with ESP32 & Accelerometer/Gyroscope

May 2, 2026
A Guide to Sourcing Obsolete ICs for Vintage Projects

Beyond AliExpress: A Guide to Sourcing Obsolete ICs for Vintage Projects

April 21, 2026

ESP32 IoT Vehicle Motion Analyzer with MPU6050 & LIS3MDL

April 27, 2026
Building a Smart Sensor Node with a BLE Microcontroller

Building a Smart Sensor Node with a BLE Microcontroller

February 26, 2026
High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

April 27, 2026
Top Posts & Pages
  • Buck Converter: Basics, Working, Design & Application
    Buck Converter: Basics, Working, Design & Application
  • IoT Based PM & Air Quality Monitoring System using ESP32
    IoT Based PM & Air Quality Monitoring System using ESP32
  • 12V DC to 220V AC Inverter Circuit & PCB
    12V DC to 220V AC Inverter Circuit & PCB
  • ESP32 CAN Bus Tutorial | Interfacing MCP2515 CAN Module with ESP32
    ESP32 CAN Bus Tutorial | Interfacing MCP2515 CAN Module with ESP32
  • ESP32 Fingerprint Attendance System with Live Web Dashboard
    ESP32 Fingerprint Attendance System with Live Web Dashboard
  • Designing of MPPT Solar Charge Controller using Arduino
    Designing of MPPT Solar Charge Controller using Arduino
  • IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
    IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
  • How to use Modbus RTU with ESP32 to read Sensor Data
    How to use Modbus RTU with ESP32 to read Sensor Data
Categories
  • Arduino Projects (197)
  • Articles (60)
    • Learn Electronics (19)
    • Product Review (15)
    • Tech Articles (28)
  • Electronics Circuits (46)
    • 555 Timer Projects (21)
    • Op-Amp Circuits (7)
    • Power Electronics (13)
  • IoT Projects (205)
    • ESP32 MicroPython (7)
    • ESP32 Projects (82)
    • ESP32-CAM Projects (15)
    • ESP8266 Projects (76)
    • LoRa/LoRaWAN Projects (22)
  • Microcontrollers (38)
    • AMB82-Mini IoT AI Camera (4)
    • BLE Projects (18)
    • STM32 Projects (19)
  • Raspberry Pi (93)
    • Raspberry Pi Pico Projects (57)
    • Raspberry Pi Pico W Projects (12)
    • Raspberry Pi Projects (24)
Follow Us
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
About Us

“‘How to Electronics’ is a vibrant community for electronics enthusiasts and professionals. We deliver latest insights in areas such as Embedded Systems, Power Electronics, AI, IoT, and Robotics. Our goal is to stimulate innovation and provide practical solutions for students, organizations, and industries. Join us to transform learning into a joyful journey of discovery and innovation.

Copyright © How To Electronics. All rights reserved.
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us

Type above and press Enter to search. Press Esc to cancel.

Ad Blocker Enabled!
Ad Blocker Enabled!
Looks like you're using an ad blocker. Please allow ads on our site. We rely on advertising to help fund our site.