Component guide · Beginner · 3 min read
HM-10 BLE Bluetooth Module

Pinout, Wiring and Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The HM-10 is a Bluetooth Low Energy (BLE 4.0) serial module built on the TI CC2541. It passes UART data to and from a phone app, works with iPhones as well as Android (unlike the classic HC-05), and runs at 9600 baud by default. Its logic is 3.3 V, so the Arduino's TX needs a divider. AT commands set its name, role and baud rate.
Key specs at a glance
- Bluetooth
- BLE 4.0 (CC2541)
- Supply
- 3.3 to 6 V on the breakout (3.3 V logic)
- Default baud
- 9600, 8N1
- Range
- About 10 to 30 m in open space
- Service
- UUID FFE0, characteristic FFE1 for serial data
- Current
- About 8.5 mA connected, under 1 mA asleep
What the HM-10 module is
The HM-10 shows up as a BLE device. A phone app connects to it and writes to its FFE1 characteristic; the bytes come out of the module's TX pin, and anything the Arduino sends appears in the app.
It does not use classic Bluetooth serial (SPP), so it will not pair from the phone's Bluetooth settings like an HC-05. Use a BLE terminal app instead. Some clone boards use a different chip and need different AT commands; check the firmware with AT+VERR?.
HM-10 module pinout
The pins on the HM-10 module and what each one does.
| Pin | Function |
|---|---|
| VCC | Supply, 3.3 to 6 V on the breakout board |
| GND | Ground |
| TXD | Module transmit (3.3 V), to the controller's RX |
| RXD | Module receive (3.3 V logic), from the controller's TX via a divider |
| STATE | HIGH when connected |
| BRK | Pull LOW to drop the connection |
- VCC
- Supply, 3.3 to 6 V on the breakout board
- GND
- Ground
- TXD
- Module transmit (3.3 V), to the controller's RX
- RXD
- Module receive (3.3 V logic), from the controller's TX via a divider
- STATE
- HIGH when connected
- BRK
- Pull LOW to drop the connection
Wiring the HM-10 module
The RXD pin is 3.3 V: use a 1 kΩ (from D3) and 2 kΩ (to GND) divider on an Uno. An ESP32 connects directly. Note the ESP32 has BLE built in, so it can often replace the HM-10.
| HM-10 module pin | Arduino Uno | ESP32 |
|---|---|---|
| VCC | 5V | 3V3 |
| GND | GND | GND |
| TXD | D2 (SoftwareSerial RX) | GPIO 16 (RX2) |
| RXD | D3 through a 1k/2k divider | GPIO 17 (TX2) |
| STATE | D4 (optional) | GPIO 4 (optional) |
- VCC
- Arduino Uno:
- 5V
- ESP32:
- 3V3
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- TXD
- Arduino Uno:
- D2 (SoftwareSerial RX)
- ESP32:
- GPIO 16 (RX2)
- RXD
- Arduino Uno:
- D3 through a 1k/2k divider
- ESP32:
- GPIO 17 (TX2)
- STATE
- Arduino Uno:
- D4 (optional)
- ESP32:
- GPIO 4 (optional)
Example code
Set the Serial Monitor to 'No line ending' for genuine HM-10 firmware. AT should reply OK; AT+NAMEmyRobot renames it. Then connect from a BLE terminal app and type messages both ways.
#include <SoftwareSerial.h>
SoftwareSerial ble(2, 3); // RX, TX
void setup() {
Serial.begin(9600);
ble.begin(9600);
Serial.println("Type AT (no line ending) to test");
}
void loop() {
if (ble.available()) Serial.write(ble.read());
if (Serial.available()) ble.write(Serial.read());
}Setup and tuning
from the phone.
use a BLE terminal app such as LightBlue; classic Bluetooth serial apps will not see it.
if AT does nothing, try 'Both NL and CR'; some clones need it.
keep the antenna end clear of metal and the ground plane.
What you need
Shop this list4 of 5 found in our store · ₹757
HM-10 BLE Bluetooth 4.0 CC2541 Wireless Module: the part this guide coversHM-10 BLE Bluetooth 4.0 CC2541 Wireless Module₹299- 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
4-channel logic level converter (BSS138): instead of a divider on RXD4-Channel Logic Level Converter (BSS138)₹20
Dupont jumper wires: for the connectionsDupont Jumper Wires (40 pcs)₹49Closest match, check the specs
Alternatives and when to choose them
- HC-05 Bluetooth module: classic Bluetooth serial, pairs from Android settings, not iPhone.
- HC-06 Bluetooth module: classic slave-only module.
- BLE modules (nRF52, HM-10): other BLE modules and beacons.
Try it: Voltage divider calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Looking for it in the phone's Bluetooth settings: BLE devices connect from the app.
- Sending AT commands while a phone is connected.
- Driving RXD with 5 V from an Uno without a divider.
- Using a classic Bluetooth serial app on an iPhone.
Frequently asked questions
Does the HM-10 work with iPhone?
Yes. It uses BLE, which iPhones support; the HC-05 does not.
What is the default baud rate?
9600 baud, 8 data bits, no parity, 1 stop bit.
HM-10 or HC-05?
HM-10 for iPhone support and low power; HC-05 for classic serial with Android and PCs.
Why does AT not answer?
It is connected to a phone, the line ending is wrong, or it is a clone with different firmware.
Can two HM-10s talk to each other?
Yes. Set one as central (AT+ROLE1) and connect it to the other's address.
Parts for this guide
Calculators
Keep learning
Sources
- HM-10 Bluetooth 4.0 BLE module datasheet (JNHuaMao)
- CC2541 2.4 GHz Bluetooth low energy SoC datasheet (Texas Instruments)
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

