Interfacing H3V4F 433MHz RF Receiver Module with Arduino

H3V4F RF Receiver Module Features

Electronic devices need to be connected wirelessly in so many cases. In these cases, Radio Frequency or RF equipments are used. RF modules include all radio waves that can travel different distances and reach the receiver according to their frequency and amplitude.

This module is only produced at 433MHz.


All modules that use the 315/433MHz frequency band can communicate with each other and there is no information security in this type of communication. If you need security, you must use encryption (locking) on the receiver and transmitter.


This module only receives information but cannot send them. So, on the transmitter side, we have used a type of radio transmitter according to the receiver frequency.

H3V4F RF Receiver Module Pinout

This module has 4 pins:

  • VIN: Module power supply
  • GND: Ground
  • Data: Data line for sending or transmitting
  • ANT: Antenna (It’s optional)

You can see the pinout of this module here.

Required Materials

Hardware Components

Arduino UNO R3 × 1
H3V4F Wireless Receiver Module × 1
male to female jumper wire × 1

Software Apps

Arduino IDE

Interfacing H3V4F RF Receiver Module with Arduino

Step 1: Circuit

The following circuit shows how you should connect the Arduino to the H3V4F module. Connect wires accordingly.

H3V4F Module Arduino circuit

Step 2: Library

Install the following library on your Arduino IDE.


If you need more help with installing a library on Arduino, read this tutorial: How to Install an Arduino Library

Step 3: Code

Upload the following code to your Arduino Board.

  Simple example for receiving

#include <RCSwitch.h>

RCSwitch mySwitch = RCSwitch();

void setup() {
  mySwitch.enableReceive(0);  // Receiver on interrupt 0 => that is pin #2

void loop() {
  if (mySwitch.available()) {
    int value = mySwitch.getReceivedValue();
    if (value == 0) {
      Serial.print("Unknown encoding");
    } else {
      Serial.print("Received ");
      Serial.print( mySwitch.getReceivedValue() );
      Serial.print(" / ");
      Serial.print( mySwitch.getReceivedBitlength() );
      Serial.print("bit ");
      Serial.print("Protocol: ");
      Serial.println( mySwitch.getReceivedProtocol() );


This code is to test the connection between the transmitter and receiver.

The receiver can see the sent data in the Serial monitor.

Liked What You See?​
Get Updates And Learn From The Best​

Leave a Reply

Your email address will not be published. Required fields are marked *