KEYESTUDIO DX-BT24, HM-10, HC-06, HC-05, XBee HC-05, XBee HC-06, LY51M02

Contents

KEYESTUDIO Bluetooth Transceiver Module User Manual

Models: DX-BT24, HM-10, HC-06, HC-05, XBee HC-05, XBee HC-06, LY51M02

1. Introduction

This manual provides detailed instructions for the KEYESTUDIO series of Bluetooth Transceiver Modules, designed for wireless serial data transmission in various projects, including those based on Arduino. These modules operate in the 2.4GHz ISM frequency band and support different Bluetooth standards, offering flexible solutions for your communication needs. This document covers the DX-BT24, HM-10, HC-06, HC-05, XBee HC-05, XBee HC-06, and LY51M02 variants.

Assortment of KEYESTUDIO Bluetooth Transceiver Modules

Figure 1: Assortment of KEYESTUDIO Bluetooth Transceiver Modules

2. Specifications

Below are the detailed specifications for each module type:

2.1. HC-06 Bluetooth Module

FeatureDescription
Bluetooth ProtocolBluetooth 2.1 + EDR standard
USB ProtocolUSB v1.1/2.0
Operating Frequency2.4GHz ISM frequency band
Modulation ModeGauss Frequency Shift Keying
Transmit Power≤ 4dBm, second stage
Sensitivity≤-84dBm at 0.1% Bit Error Rate
Transmission Speed2.1Mbps (Max) / 160 kbps (Asynchronous); 1Mbps / 1Mbps (Synchronous)
Safety FeatureAuthentication and encryption
Supported ConfigurationBluetooth serial port (major and minor)
Supply Voltage5V DC 50mA
Operating Temperature-20 to 55℃
HC-06 Bluetooth Module

Figure 2: HC-06 Bluetooth Module

HC-06 Module with Pinout and Internal Components

Figure 3: HC-06 Module with Pinout and Internal Components (BC412 chip, High density Crystal Oscillator)

HC-06 Module Dimensions

Figure 4: HC-06 Module Dimensions (45mm x 15mm x 5mm, Weight: 4.2g)

2.2. HC-05 Bluetooth Module

FeatureDescription
Core ModuleHC-05 slave module (VCC, GND, TXD, RXD, KEY, STATE pins)
LED IndicatorQuick flash (no connectivity), slow flash (AT mode), double flash (connected, port open)
Power Supply3.6~6V input (max 7V), current ~30mA (no pairing), ~10mA (paired)
Pin Level3.3V (direct connection to MCUs, no MAX232 needed)
Effective Range10m (CLASS 2 power level) in open area
Serial PortFull duplex, 8-bit data, 1 stop bit, supports odd-even check
AT Command AccessSet parameters and query info by pulling high pin 34
Size3.57cm x 1.52cm, SMD production
ModesMaster or slave mode configurable via AT command
Baud RateSupports 4800bps~1382400bps
HC-05 Bluetooth Module

Figure 5: HC-05 Bluetooth Module

HC-05 Module with Pinout and Internal Components

Figure 6: HC-05 Module with Pinout and Internal Components (BC417 chip, SST chip, High density Crystal Oscillator, Built-in curved antenna, LED status indicator)

2.3. HM-10 Bluetooth Module

FeatureDescription
Bluetooth ProtocolBluetooth Specification V4.0 BLE
Serial PortNo byte limit in serial port Transceiving
Communication Range100m ultra-distance communication with iPhone 4S in open environment
USB ProtocolUSB V2.0
Working Frequency2.4GHz ISM band
Modulation MethodGFSK (Gaussian Frequency Shift Keying)
Transmission Power-23dbm, -6dbm, 0dbm, 6dbm (configurable via AT command)
Sensitivity≤-84dBm at 0.1% BER
Transmission RateAsynchronous: 6K bytes; Synchronous: 6K bytes
Security FeatureAuthentication and encryption
Supporting ServiceCentral & Peripheral UUID FFE0, FFE1
Power ConsumptionAuto sleep mode, standby current 400uA~800uA, 8.5mA during transmission
Power Supply5V DC
Working Temperature–5 to +65 Centigrade
HM-10 Bluetooth Module

Figure 7: HM-10 Bluetooth Module

HM-10 Module with Pinout and Internal Components

Figure 8: HM-10 Module with Pinout and Internal Components (CC2541 chip, Built-in curved antenna, LED status indicator)

2.4. LY51M02 Bluetooth Module

FeatureDescription
Module ModelLY51M02
Working Frequency Band2.4G
Chip ModelTICC2640R2L
Communication InterfaceUART (3.3V TTL)
Working Voltage3.3V~5V
Working Current4mA
Transmit Power5dBm (maximum), adjustable -21dbm ~ +5dbm (13 levels)
Communication Rate5-10K/s
Antenna ConnectionPCB on-board antenna
Working Temperature0℃~+85℃
Module Size80mm x 17mm x 7mm
LY51M02 Bluetooth Module

Figure 9: LY51M02 Bluetooth Module

LY51M02 Module with Pinout and Internal Components

Figure 10: LY51M02 Module with Pinout and Internal Components (CC2640R2L chip)

2.5. DX-BT24 Bluetooth Module

FeatureDescription
Bluetooth ProtocolBLE 5.1
CertificationsSRRC ID: 2011DP8828, CE ID: STS210109, FCC ID: 2AX580
Supply Voltage5V (inferred from general product specs)
InterfaceTTL to UART
DX-BT24 Bluetooth Module with detailed chip and pin view

Figure 11: DX-BT24 Bluetooth Module with detailed chip and pin view (BLE5.1, SRRC ID, CE ID, FCC ID)

2.6. XBee HC-06 Bluetooth Module

FeatureDescription
DesignXBEE compatible design
Supply Voltage3.3V (voltage above 3.3V is forbidden)
Pairing UsernameHC-06
Pairing Password1234
Default Baud Rate9600 (takes effect after module reboot)
AntennaEfficient on-board antenna for better signal quality
CompatibilitySuitable for various 3.3V MCU systems, compatible with XBEE shield
XBee HC-06 Bluetooth Module

Figure 12: XBee HC-06 Bluetooth Module

XBee HC-06 Module with Pinout

Figure 13: XBee HC-06 Module with Pinout (BRK, RXD, TXD, GND, VCC, STATE pins)

2.7. XBee HC-05 Bluetooth Module

FeatureDescription
DesignXBEE compatible design
Supply Voltage3.3V (voltage above 3.3V is forbidden)
Pairing UsernameHC-05
Pairing Password1234
Default Baud Rate38400 (takes effect after module reboot)
AntennaEfficient on-board antenna for better signal quality
CompatibilitySuitable for various 3.3V MCU systems, compatible with XBEE shield
XBee HC-05 Bluetooth Module

Figure 14: XBee HC-05 Bluetooth Module

XBee HC-05 Module with Pinout

Figure 15: XBee HC-05 Module with Pinout (BRK, RXD, TXD, GND, VCC, STATE pins)

3. Setup and Installation

This section outlines the general steps for setting up your Bluetooth module. Specific wiring and code examples can be found in the respective module tutorials.

3.1. Pin Connections

All modules typically feature the following pins for serial communication:

  • VCC: Power supply input. Ensure the correct voltage (e.g., 5V for HC-06/HM-10, 3.3V for XBee variants).
  • GND: Ground connection.
  • TXD: Transmit Data. Connect to the RXD pin of your microcontroller (MCU).
  • RXD: Receive Data. Connect to the TXD pin of your microcontroller (MCU).
  • KEY / STATE: Control pins for entering AT command mode or indicating connection status.

Important: Observe the specified supply voltage for each module. For example, XBee modules require 3.3V, and applying higher voltage can cause damage. HC-05 modules have a 3.3V pin level and can be directly connected to 3.3V or 5V MCUs without a MAX232 converter.

3.2. Initial Configuration (AT Commands)

Most modules can be configured using AT commands. This allows you to change parameters such as the module's name, baud rate, and pairing password, or switch between master and slave modes.

  1. Enter AT Mode: Refer to the specific module's tutorial for how to enter AT command mode (e.g., for HC-05, pull pin 34 high). The LED indicator will often change its blinking pattern (e.g., slow flash for HC-05).
  2. Connect to a Serial Terminal: Use a USB-to-TTL converter or your MCU's serial port to send AT commands from a computer or another MCU.
  3. Send Commands: Examples of common AT commands include:
    • AT: Test communication (should return 'OK').
    • AT+NAME=[NewName]: Change the module's Bluetooth name.
    • AT+BAUD=[BaudRate]: Set the serial baud rate (e.g., 9600, 38400).
    • AT+PASS=[NewPassword]: Change the pairing password.
  4. Reboot Module: After changing certain parameters (like baud rate), the module may need to be rebooted for changes to take effect.

For detailed AT command sets and usage, please consult the specific module's tutorial link provided in the specifications section.

HM-10 Module connected to Arduino with mobile app terminal

Figure 16: Example setup showing an HM-10 module connected to an Arduino, communicating with a mobile app terminal.

4. Operating Instructions

Once the module is set up, you can begin wireless communication.

4.1. Pairing with a Device

  1. Power On: Ensure your Bluetooth module is powered on. The LED indicator will typically blink rapidly, indicating it's waiting for a connection.
  2. Scan for Devices: On your host device (e.g., smartphone, computer, or another Bluetooth module in master mode), scan for available Bluetooth devices.
  3. Select Module: Locate the module's name (e.g., 'HC-06', 'HC-05', 'HM-10') in the list of available devices.
  4. Enter Password: When prompted, enter the pairing password. The default password is usually 1234.
  5. Connection Confirmation: Upon successful pairing, the module's LED indicator will change its blinking pattern (e.g., double flash for HC-05, solid for some modules), confirming a stable connection.

4.2. Serial Data Transmission

After pairing, the module acts as a transparent serial port, allowing you to send and receive data wirelessly as if it were a wired serial connection.

  • Full Duplex: Data can be sent and received simultaneously.
  • Data Format: Most modules support standard serial communication formats (e.g., 8-bit data, 1 stop bit, optional parity check).
  • Application Examples:
    • Controlling LEDs: Send specific characters (e.g., 'a' to turn an LED on, 'n' to turn it off) from a mobile app to your MCU via the Bluetooth module.
    • Sensor Data Logging: Transmit sensor readings from your MCU to a mobile device or computer for display or logging.
    • RGB Control: Send data to control RGB LEDs to display different colors.
HC-06 module connected to Arduino, controlling an LED via a mobile app terminal

Figure 17: Experiment controlling an LED light via Bluetooth. Sending 'a' turns the LED on, 'n' turns it off.

LY51M02 module connected to Arduino, controlling RGB LEDs and LCD via mobile app

Figure 18: Control RGB LEDs to display different colors by sending different data from a mobile app.

XBee HC-06 module stacked on an XBee Sensor Shield V5 on an UNO R3 board, communicating with an Android APP

Figure 19: XBee HC-06 module stacked on an XBee Sensor Shield V5 on an UNO R3 board, controlling communication with an Android APP.

5. Maintenance

To ensure the longevity and reliable operation of your Bluetooth module, follow these maintenance guidelines:

  • Handle with Care: These are sensitive electronic components. Avoid dropping or subjecting them to physical shock.
  • Proper Storage: Store modules in an anti-static bag when not in use to prevent damage from electrostatic discharge. Keep them in a dry environment, away from extreme temperatures.
  • Cleanliness: Keep the module free from dust and debris. Use a soft, dry brush or compressed air for cleaning if necessary. Avoid using liquids.
  • Voltage Adherence: Always connect the module to the specified supply voltage. Over-voltage will permanently damage the module.
  • Secure Connections: Ensure all pin connections are firm and correct to prevent intermittent operation or short circuits.

6. Troubleshooting

If you encounter issues with your Bluetooth module, consider the following troubleshooting steps:

  • Module Not Powering On:
    • Check VCC and GND connections.
    • Verify the power supply voltage is within the module's specified range.
  • Module Not Visible During Scan:
    • Ensure the module is powered on and its LED is indicating a discoverable state (e.g., rapid blinking).
    • Check the distance between the module and the scanning device.
    • Confirm the module is not already paired with another device.
  • Failed to Pair:
    • Double-check the pairing password (default is usually 1234).
    • Ensure the module is in the correct mode (e.g., slave mode for initial pairing).
  • No Data Transmission After Pairing:
    • Verify TXD and RXD connections are correctly cross-connected (TXD to RXD, RXD to TXD).
    • Confirm that the baud rate of the module matches the baud rate set in your microcontroller or serial terminal.
    • Check the LED indicator for connection status. If it's not indicating a stable connection, re-pair the devices.
    • Ensure your code or serial terminal software is correctly configured to send and receive data.
  • AT Commands Not Responding:
    • Ensure the module is correctly put into AT command mode (e.g., by pulling the KEY/STATE pin high during power-up).
    • Verify the serial connection and baud rate used for AT commands.
    • Check the format of your AT commands (e.g., ending with carriage return/line feed).

7. User Tips

  • Consult Tutorials: For specific wiring diagrams and code examples, always refer to the official KEYESTUDIO tutorials for your module. These are invaluable resources for getting started and resolving complex issues.
  • Voltage Check: Before connecting any module, always double-check the required operating voltage. Using the wrong voltage is a common cause of module failure.
  • Start Simple: When troubleshooting, begin with a basic setup (e.g., connecting to a serial terminal) to confirm basic functionality before integrating into a larger project.
  • Baud Rate Consistency: Ensure the baud rate configured on the Bluetooth module matches the baud rate used by your microcontroller or computer's serial port for reliable communication.

8. Warranty and Support

This product is manufactured by KEYESTUDIO. For technical support, detailed tutorials, and additional resources, please visit the official KEYESTUDIO website or refer to the tutorial links provided for each module in this manual.

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.