Phipps Electronics

Order within the next 

$0.00
0

SHOPPING LIST

0
Subtotal: $0.00
No products in the cart.
$0.00
0

SHOPPING LIST

0
Subtotal: $0.00
No products in the cart.

FREE SHIPPING OVER $199

50,000+ ORDERS

WORLDWIDE SHIPPING

SSL SECURED

Using The 433MHZ RF Wireless Transmitter and Receiver Module Kit with Arduino

Contents

INTRODUCTION:

This tutorial details the 433MHZ RF Wireless Transmitter and Receiver Module Kit, its functions and the process to build a project using the 433MHZ RF Wireless Transmitter and Receiver Module Kit and an Arduino.

THE 433MHZ RF WIRELESS TRANSMITTER AND RECEIVER MODULE KIT:

The 433Mhz RF transmitter with receiver module kit consists of an XD-RF-5V 433MHz receiver and XD-FST 433MHz transmitter. The kit can create a wireless RF connection for a remote control switch, receiver module, or similar wireless applications/projects.

433MHZ RF WIRELESS TRANSMITTER AND RECEIVER MODULE KIT FRONT VIEW
Figure 1: 433MHZ RF WIRELESS TRANSMITTER AND RECEIVER MODULE KIT

PIN OUT:

Transmitter

PinDescription
GNDGround
VCCModule Power Supply (3-12VDC)
ATADData Output

Receiver

PinDescription
VCCModule Power Supply (5VDC)
D1Data Output1
D2Data Output2
GNDGround

433mhz-rf-transmitter-xy-mk-5v-receiver-module-explanation-pinout/

HOW DOES IT WORK?

The 433Mhz RF transmitter with receiver module kit is composed of a transmitter and a receiver module. The kit creates a one-way wireless communication with 2 microcontrollers.

PROJECT – ARDUINO SERIAL DATA SENDER AND RECEIVER

This project utilizes 2 sets of Arduino and 433Mhz RF transmitter with receiver module kits and demonstrates how a message is sent from one Arduino to the other.

PROJECT COMPONENTS REQUIRED:

  • Arduino Uno Board (2 pcs.)
  • 433Mhz RF transmitter with receiver module kit (1 pc.)
  • Jumper Wires

WIRING DIAGRAM:

Transmitter

PinArduino
GNDGND
VCC5V
ATAD12

Receiver

PinArduino
VCC5V
D1No Connection
D211
GNDGND

Transmitter:

433MHZ-RF-Wireless-Transmitter-and-Receiver-Module-Kit Transmitter wiring diagram

Receiver:

433MHZ-RF-Wireless-Transmitter-and-Receiver-Module-Kit receiver wiring diagram

CODE:

Download the library for the module first before proceeding. The library is available here; 433Mhz RF transmitter with receiver module library

Once the library is installed, the program code can be uploaded.

TRANSMITTER:
#include <RH_ASK.h>
#include <SPI.h> // Not actually used but needed to compile

RH_ASK driver;

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

void loop()
{
    const char *msg = "MESSAGE FROM ARDUINO TRANSMITTER!";
    driver.send((uint8_t *)msg, strlen(msg));
    driver.waitPacketSent();
    delay(1000);
}

RECEIVER:

#include <RH_ASK.h>
#include <SPI.h> // Not actualy used but needed to compile

RH_ASK driver;

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

void loop()
{
    uint8_t buf[12];
    uint8_t buflen = sizeof(buf);
    if (driver.recv(buf, &buflen)) // Non-blocking
    {
      int i;
      // Message with a good checksum received, dump it.
      Serial.print("Message: ");
      Serial.println((char*)buf);         
    }
}

PROJECT TEST:

Once the components are wired as per the wiring diagram, connect the Arduino to the PC and upload the program. Open the Serial Monitor in the Arduino IDE on the receiver side and the following text will be displayed; “MESSAGE FROM ARUDINO TRANSMITTER”.

SUBSCRIBE FOR NEW POST ALERTS

Subscribe to be the first to know when we publish a new article!
List Subscriptions(Required)

POPULAR POSTS

Scroll to Top