HC-12 433 MHz serial radio with ESP32

Supply 3.3-5 V Bus GPIO
VCCGNDRXDTXDSETANT

Pins and ESP32 wiring

PinRoleESP32 pinNotes
VCCPower3V33.2 to 5.5 V. Draws about 100 mA when sending at full power
GNDGroundGND
RXDInput (the ESP32 drives it)D25UART: the part receives data here. Connect to an ESP32 TX pin (9600 baud by default)
TXDOutput (the part drives it)D26UART: the part sends data here. Connect to an ESP32 RX pin
SETInput (the ESP32 drives it)D27LOW = AT command mode. Leave HIGH (internal pull-up) for normal use
ANTNot wired to the ESP32—Antenna: spring antenna or u.FL connector

Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.

Sources

Try it in 3D in BoardPilot

BoardPilot Part data (JSON)

Related parts

Part data: CC BY 4.0, free to reuse with credit to BoardPilot.