Component guide · Beginner · 3 min read
HC-12 433 MHz Wireless Serial Module

Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The HC-12 is a 433 MHz wireless serial module based on the SI4463. Two of them act like an invisible serial cable: bytes sent into one come out of the other, up to about 1 km in open air at low baud rates. It runs from 3.2 to 5.5 V, talks UART at 9600 baud by default, and AT commands (with SET pulled LOW) change the channel, power and speed.
Key specs at a glance
- Frequency
- 433.4 to 473 MHz, 100 channels
- Range
- About 1 km open air at 5000 bps air rate (less indoors)
- Supply
- 3.2 to 5.5 V, up to 100 mA when sending
- Interface
- UART, 9600 baud default
- Transmit power
- Up to 20 dBm (100 mW), 8 levels
- Modes
- FU1 to FU4 trade speed for range and power
What the HC-12 module is
The HC-12 needs no library or pairing: any two modules on the same channel and settings talk to each other. This makes it great for remote weather stations, a garden sensor, a model's telemetry or a long-range doorbell.
It is a simple broadcast link, not a network: every module on the channel hears everything, and there is no automatic acknowledgement, so add your own checks if a message must arrive. Check the local rules for 433 MHz power limits.
HC-12 module pinout
The pins on the HC-12 module and what each one does.
| Pin | Function |
|---|---|
| VCC | Supply, 3.2 to 5.5 V (add a 100 µF capacitor near the module) |
| GND | Ground |
| TXD | Module transmit, to the controller's RX |
| RXD | Module receive, from the controller's TX (5 V tolerant) |
| SET | LOW = AT command mode, open/HIGH = normal |
| ANT | Spring antenna or u.FL / IPEX for an external antenna |
- VCC
- Supply, 3.2 to 5.5 V (add a 100 µF capacitor near the module)
- GND
- Ground
- TXD
- Module transmit, to the controller's RX
- RXD
- Module receive, from the controller's TX (5 V tolerant)
- SET
- LOW = AT command mode, open/HIGH = normal
- ANT
- Spring antenna or u.FL / IPEX for an external antenna
Wiring the HC-12 module
Wire both ends the same way. Supply dips while transmitting can reset the module: add a 100 µF to 470 µF capacitor across VCC and GND close to it.
| HC-12 module pin | Arduino Uno | ESP32 |
|---|---|---|
| VCC | 5V | 3V3 (or 5V for full power) |
| GND | GND | GND |
| TXD | D10 (SoftwareSerial RX) | GPIO 16 (RX2) |
| RXD | D11 (SoftwareSerial TX) | GPIO 17 (TX2) |
| SET | D12 (optional) | GPIO 4 (optional) |
- VCC
- Arduino Uno:
- 5V
- ESP32:
- 3V3 (or 5V for full power)
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- TXD
- Arduino Uno:
- D10 (SoftwareSerial RX)
- ESP32:
- GPIO 16 (RX2)
- RXD
- Arduino Uno:
- D11 (SoftwareSerial TX)
- ESP32:
- GPIO 17 (TX2)
- SET
- Arduino Uno:
- D12 (optional)
- ESP32:
- GPIO 4 (optional)
Example code
Open a Serial Monitor on each board and type: the text appears on the other one. To change settings, pull SET LOW, wait 40 ms, send AT+C010 (channel 10) or AT+FU4 (longest range), then release SET.
#include <SoftwareSerial.h>
SoftwareSerial hc12(10, 11); // RX, TX
void setup() {
Serial.begin(9600);
hc12.begin(9600);
}
void loop() {
if (Serial.available()) hc12.write(Serial.read()); // typed here, sent by radio
if (hc12.available()) Serial.write(hc12.read()); // received by radio
}Setup and tuning
channel, FU mode and baud rate.
AT+FU4 and AT+P8 at a low baud rate, with a proper 433 MHz antenna mounted high.
add a capacitor; weak USB power causes dropouts when sending.
if you see garbage, change to a quieter channel with AT+Cxxx.
What you need
Shop this list5 of 6 found in our store · ₹703
HC-12 SI4463 433MHz Wireless Serial Module: the part this guide coversHC-12 SI4463 433MHz Wireless Serial Module₹209- Uno R3 development board: the controller used in the wiring tableFind this part
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
Electrolytic capacitor: bulk capacitance across the supplyElectrolytic Capacitor₹16
433 MHz folding antenna: for longer rangeHelical Spring Coil Antenna₹40Closest match, check the specs
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
Alternatives and when to choose them
- LoRa SX1278: longer range at low data rates, needs a library.
- nRF24L01: 2.4 GHz, faster, with acknowledgements, shorter range.
- CC1101 sub-GHz transceivers: more flexible radio for experiments.
Common mistakes to avoid
- The two modules on different channels or FU modes.
- No capacitor on VCC, so it resets when sending.
- Sending AT commands without pulling SET LOW.
- Expecting every message to arrive: there is no automatic retry.
Frequently asked questions
What is the HC-12 range?
About 1 km in open air in FU4 mode at low speed; indoors through walls expect 100 m or less.
Do I need a library?
No, it is plain serial: write bytes in, read bytes out.
Can more than two modules talk?
Yes, all modules on a channel hear each other; add addresses to your messages.
How do I change the channel?
Pull SET LOW and send AT+C001 to AT+C100.
HC-12 or LoRa?
HC-12 is simpler with no library; LoRa reaches further at very low data rates.
Parts for this guide
Keep learning
Sources
- HC-12 wireless serial port communication module user manual
- SI4463 high-performance sub-GHz transceiver datasheet (Silicon Labs)
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


