Bluetooth Module HC-06

Bluetooth Module HC-06

This is a bluetooth module for use with any microcontroller. Wireless Serial 4 Pin Bluetooth RF Transceiver Module HC-06 RS232 With backplane


SKU: BLU001 Categories: , , Tag:
  • Description
  • Datasheet
  • How to Use?
  • Additional information
  • Reviews (0)


This is a bluetooth module for use with any microcontroller. It uses the UART protocol to make it easy to send and receive data wirelessly. The HC-06 module is a slave only device. This means that it can connect to most phones and computers with bluetooth but it cannot connect to other slave only devices such as keyboards and other HC-06 modules.

100% Brand New.
Note:It’s HC-06 Bluetooth module
Allows your device to both send or receive the TTL data via Bluetooth technology without connecting a serial cable to your computer.

Works with any USB Bluetooth adapters.
Default Baud Rate: 9600,8,1,n.
Built in antenna.
Coverage up to 30ft.
Bluetooth version: V2.0+EDR
Operating voltage: 3.3V
Default Baud Rate: 9600,8,1,n.
Signal coverage: 30ft
Cable length: about 21.5cm
Item size: about 3.5 * 1.5 cm
Item weight: 7g
Package weight: 9g

Commercial Series: Bluetooth module board Series
With LED indicator light, use 150mA and 3.3V regulation chip.
With VCC、GND、TXD、RXD foot for the Bluetooth
With “Re-seach” button(ON/OFF/WAKE foot for it , external MCU outinput “High level” can control module to re-seach)
Compatible with bluetooth master module”、slave module”or master-slave(whole) module.
Input voltage: 3.3~6V
Size: 1.55cm*3.98cm

input power supply 3.3~6V, Prohibit more than 7V
No “Automatically prevent power supply peversing func”, so please correctly connect power supply
We advise to install “Bluetooth master module”
The “State” is output foot for LED status, when bluetooth “Unconnected”, output “Pulse” ; when bluetooth “connected”, output “High level”, we can determine the states from “MCU”
If only the board , No any “Bluetooth Function “

HC-06 Bluetooth module datasheet and configuration with Arduino

that example I used the Bluetooth module with its default settings.

That works fine, but some applications may require changing the communication speed (Baud rate), the pairing code, the module name etc. For example, I am trying to set-up a way to program my Arduino Uno and Arduino Pro Mini wirelessly, over Bluetooth. This requires changing the baud rate of the module from the default 9600 to 115200, or 57600, to match the default sketch upload speed for these Arduino boards.

Also, if things are not working, you may want to restore the settings back their defaults and start troubleshooting from there.

There are multiple versions of the module floating around, with different firmware and breakout boards, but the general functionality should match the HC-06 Bluetooth module datasheet.

Step 1: Hook up the HC-06 Bluetooth module to the Arduino

  • Connect the HC-06 Ground (GND) pin to ground (duh!).
  • Connect the HC-06 VCC pin to 5v.
  • Connect the HC-06 TX/TXD pin to Arduino digital pin 4.
  • Connect the HC-06 RX/RXD pin to Arduino digital pin 2.

It is recommended to use a level shifter, voltage regulator (or a voltage divider, like in my set-up below) to protect the Bluetooth module RX pin. It is designed for 3.3v operation, while the Arduino digital pins work on 5 volts. You do not need the LED on the Arduino pin 13 that I have on my set-up below.


Step 2: Upload the Arduino HC-06 configuration sketch

The Arduino sketch below will allow you to configure your HC-06 module using the Arduino IDE serial monitor. The Arduino will act as a middleman between the Bluetooth module and your computer. It will communicate with your PC over the built in serial connection through the USB cable, and with the HC-06 Bluetooth module over pins 4 and 2, using the Software Serial library.

The Software Serial library comes pre-installed with the latest version of the Arduino IDE. It has been developed to allow setting up serial communication on (almost any) digital pin of the Arduino, using software to replicate Arduino’s native serial support. See the SoftwareSerial library page for more details on its features and limitations.

#include <SoftwareSerial.h>
SoftwareSerial mySerial(4, 2); // RX, TX

String command = ""; // Stores response of the HC-06 Bluetooth device

void setup() {
  // Open serial communications:
  Serial.println("Type AT commands!");
  // The HC-06 defaults to 9600 according to the datasheet.

void loop() {
  // Read device output if available.
  if (mySerial.available()) {
    while(mySerial.available()) { // While there is more to be read, keep reading.
      command += (char);
    command = ""; // No repeats
  // Read user input if available.
  if (Serial.available()){
    delay(10); // The delay is necessary to get this working!

Step 3: HC-06 Bluetooth module configuration using AT commands

The HC-06 configurations options are covered in section 9 of the module’s datasheet.

The default settings are:

  • Name / ID: linvor
  • Baud rate: 9600
  • Pairing code / password: 1234
  • No parity check

Testing communication with the module:

  1. Open the Arduino Serial monitor. make sure you have selected the correct port and Baud rate of 9600
  2. You should see the text: Type AT commands! . If not, something is wrong and you need to re-check your set-up
  3. Type AT in the Arduino IDE Serial monitor input field and press the Send button. You should see the response: OK. Now you are ready to change the module’s settings!
  4. Type AT+VERSION without spaces in the Arduino IDE Serial monitor input field and press the Send button. You should get a response that will have the module name and version, like: OKlinvorV1.8
  5. One of the more useful attributes is the Bluetooth baud rate. You can set that by sending a command like AT+BAUD4, where the last number (4 in this case) is defining the rate as follows:

AT+BAUD4———9600 (Default)

If you enter AT+BAUD4 you should receive a response OK9600. Do not set a rate above 115200, as you will not be able to communicate with the module through your Arduino at that speed.

Refer to section 9 of the module’s datasheet for all other available configuration options. In the video below I change the Baud rate of the Bluetooth module from 9600 to 115200.

Additional information

Weight 0.1 kg
Dimensions 3 x 2 x 0.5 cm


There are no reviews yet.

Be the first to review “Bluetooth Module HC-06”