Components / Wireless / HC-05 Bluetooth Module

HC-05 Bluetooth Module

Serial Bluetooth module used in many educational UART projects.

RadioBluetooth 2.0 Classic, Serial Port Profile
Band2.4 GHz
Typical rangeAbout 10 m
InterfaceUART, 9600 baud default (38400 in AT mode)
WirelessReviewedMPN HC-05Used in 14 projects
HC05
In short

What is the HC-05 Bluetooth Module and what is it used for?

Serial Bluetooth module used in many educational UART projects. Makers use it to control an Arduino from a phone.

In the real world

Wireless serial interfaces

How it works

RF modules require power, antenna/interface matching and local wireless regulatory compliance.

Key specifications

Wireless module specValue
RadioBluetooth 2.0 Classic, Serial Port Profile
Band2.4 GHz
Typical rangeAbout 10 m
InterfaceUART, 9600 baud default (38400 in AT mode)
Supply voltageModule board 3.6 to 6 V
Logic level3.3 V: divide the board's TX before the module's RX

Pinout

VCC / GND5 V on most breakout boards
TXDTo the board's RX
RXDFrom the board's TX through a 1 kΩ / 2 kΩ divider
EN / KEYHold HIGH at power-up for AT commands
STATEHIGH when connected

How to use it

Pairs with Android phones (PIN 1234 or 0000) for serial terminal apps. It does not work with iPhones, which need Bluetooth Low Energy.

#include <SoftwareSerial.h>
SoftwareSerial bt(10, 11); // RX, TX
void setup() { bt.begin(9600); }
void loop() { if (bt.available()) { char c = bt.read(); if (c == '1') digitalWrite(13, HIGH); if (c == '0') digitalWrite(13, LOW); } }

Applications

Alternatives

Buy at

Common questions

What is the HC-05 Bluetooth Module used for?

In products: wireless serial interfaces. In maker projects: control an Arduino from a phone.

How does the HC-05 Bluetooth Module work?

RF modules require power, antenna/interface matching and local wireless regulatory compliance.

What voltage does the HC-05 Bluetooth Module need?

Module board 3.6 to 6 V.

How do I connect the HC-05 Bluetooth Module to an Arduino or ESP32?

UART, 9600 baud default (38400 in AT mode). Pins: VCC / GND (5 V on most breakout boards), TXD (To the board's RX), RXD (From the board's TX through a 1 kΩ / 2 kΩ divider), EN / KEY (Hold HIGH at power-up for AT commands), STATE (HIGH when connected).

What can I use instead of the HC-05 Bluetooth Module?

ESP32 DevKit V1.