Phipps Electronics

FREE SHIPPING OVER $199

30,000+ ORDERS

WORLDWIDE SHIPPING

SSL SECURED

Using The 433MHZ HC-12 Wireless Serial Port Module with Arduino

INTRODUCTION:

This tutorial details the 433MHZ HC-12 SI4463 Wireless Serial Port Module, its functions and the process to build a project using the NRF905 and an Arduino.

THE 433MHZ HC-12 SI4463 WIRELESS SERIAL PORT MODULE:

The 433MHz HC-12 SI4463 Wireless Serial Port Module provides a wireless 4-pin TTL-level UART interface (Vcc, Gnd, Tx, Rx) with 100 channels spaced 400 kHz apart, eight transmit levels, eight supported baud rates, and three different working modes.

Figure 1: THE 433MHZ HC-12 SI4463 WIRELESS SERIAL PORT MODULE

PIN OUT:

PinDescription
VCCModule Power Supply (3.3-5VDC)
GNDGround
RXDData Receive
TXDData Transmit
SETEnter Setup

HOW DOES IT WORK?

The 433MHZ HC-12 SI4463 Wireless Serial Port Module is a transceiver module. This module is routinely used in pairs to enable 2 microcontrollers to wirelessly communicate with each other from a ceratin distance. This module uses serial communication to communicate with the microcontroller.

PROJECT – TWO WAY ARDUINO SERIAL COMMUNICATION

This project requires 2 sets of Arduino and 433MHZ HC-12 SI4463 Wireless Serial Port Modules which will communicate with each other using the serial monitor.

PROJECT COMPONENTS REQUIRED:

  • Arduino Uno Board (2 pcs.)
  • Wireless Transceiver Module – NRF905 (2 pcs.)
  • Decoupling Capacitor (1pc.)
  • Jumper Wires

WIRING DIAGRAM:

The 433MHZ HC-12 SI4463 Wireless Serial Port Module pins are connected to the Arduino Uno board as follows:

PinArduino
VCC5V
GNDGND
RXD11
TXD10
SETNot Connected

CODE:

#include <SoftwareSerial.h>

SoftwareSerial HC12(10, 11); // HC-12 TX Pin, HC-12 RX Pin

void setup() {
  Serial.begin(9600);             // Serial port to computer
  HC12.begin(9600);               // Serial port to HC12

}

void loop() {
  while (HC12.available()) {        // When data is received
    Serial.write(HC12.read());      // Send the data to Serial monitor
  }
  while (Serial.available()) {      // When data is sent
    HC12.write(Serial.read());      // Send that data to HC-12
  }
}

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 both devices, type a message on the serial monitor and send. The message will appear on the other serial monitor.

Scroll to Top