Products naming Introduction
HC-05 is a master from the integration of Bluetooth serial module,
the main switch from a directive, instruction rich range (supply
voltage of 3.3V ~ 3.6V)
HC-06 is a master from the integration of Bluetooth serial module,
the main switch from a directive, instruction than HC-05, easy to
use. (Supply voltage 3.3V ~ 3.6V)
Host: to search from the device, other devices can not be search.
(With white spots Bluetooth module)
Slave: Used to be searched device and can not take the initiative
to search for other devices.
After connecting the master and slave is equivalent to using a
serial line, this time, regardless of master and slave, which is
This module can be set to master or slave, master and slave pair
can communicate, can not communicate with the slave between the
host and the host machine or from a Bluetooth function and
computers, mobile phones and other communications pairing, from the
time of purchase by default machine
Note: HC-05 and 06 from the host machine can be paired with each
1, using mainstream CSR Bluetooth chip, Bluetooth V2.0 protocol
2, the module supply voltage: 3.3V ~ 3.6V.
3, the default parameters: 9600 baud, pairing code 1234, the mode
of the slave.
4, the core module size is: 27mm x 13 mm x 2mm.
5, the working current: less than 50MA (with actual date).
6. Communication distance: open conditions under 10M, normal use of
the environment around 8M.
7, for the GPS navigation system, utility meter reading systems,
industrial control systems mining site can be seamlessly with
Bluetooth notebook computers, computer plus Bluetooth adapter, PDA
and other devices.
8, you can upgrade STC microcontroller wireless and download the
Note: Where to buy HC-05 hosts connected to the printer using the
user, in Remarks to 0 CLASS.
We default HC-05 of CLASS for 1f00, only CLASS to 0, in order to
connect with the printer.
32 pin connected to more clearly reflect the LED module working
1: The 34 pin KEY always supreme, then to the module is powered,
LED 2S flash once, then the module into AT mode, the baud rate is
fixed at 38400.
2: LED flash module to work, then the module is also in AT mode,
the baud rate of the baud rate for the module itself.
3: LED 2 flashes a stop, indicating that the module to work, in a
Modules There are two ways to enter the AT command
1: Before the module power (can also), the KEY pin is set high (or
pick VCC), then the module is powered on. The LED flashes slowly
(2S once), the module into AT status, 38400 baud rate is fixed.
2: On the module power when the KEY feet set low (or pick GND), the
LED flash (1S twice), then put KEY foot set high (or pick VCC),
module will enter AT commands, but the LED flash is still, at this
time as the default baud rate 9600 baud.
1, led pin indicates the status of the Bluetooth connection, the
output pulse indicates no Bluetooth connectivity, high output
indicates that Bluetooth is connected and open ports
2, the user can connect the communication process module 34 feet
pulled into the AT mode at any time, send AT commands to view the
current job status module.
3, the power supply voltage 3.3V, when unpaired current of about
30mA, about 8mA After pairing, the absolute prohibition of reverse
power! Power absolute prohibition exceeds 4.2V!
4, the interface level 3.3V, can be directly connected to various
SCM (51, AVR, PIC, ARM, MSP430, etc.), 5V microcontroller best 1K
resistor in series with a direct connection to the module again,
can not pass without MAX232 MAX232!
5, open to the effective distance of 10 meters, over 10 meters are
possible, but do not do this to ensure the quality of the
6, after the pair when full-duplex serial port to use, without
having to know any Bluetooth protocol, but only supports 8 data
bits, 1 stop bit, no parity communication format, which is the most
common form of communication, not support other formats .
7. Set up a Bluetooth connection when not support setting the baud
rate, name, passkey through AT commands, power-down save parameter
settings. After the Bluetooth connection is automatically switched
to transparent mode
8, small size (2.7cm * 1.3cm), factory chip production, quality
9, the link from the machine, computer, Bluetooth with Bluetooth
function from the host with a variety of functions, most Bluetooth
phones, PDA, PSP and other intelligent terminal pairing between
slaves can not be paired
AT command set
HC-05 embedded Bluetooth serial module (hereinafter referred to as
modules) has two operating modes: command response mode and
automatic connection mode, in automatic connection mode module can
be divided into the main (Master), from (Slave) and loopback
(Loopback) three operating roles. When the module is automatically
connected mode, it will automatically be connected according to
pre-set data transfer; when the module is in command response mode
can perform all of the following AT commands, the user can send a
variety of AT commands to the module, the module setting the
control parameters or control commands issued. By controlling the
module external pins (PIO11) input level can be achieved dynamic
conversion module status.
Pin serial port module is used to define:
1, PIO8 connection LED, indicates the status of the module, the
module was powered flashing, flashing different states in different
2, PIO9 connection LED, indicating a successful connection module,
Bluetooth serial port after successful mating connector, LED grow
3, PIO11 state switch module feet high -> AT command response to
the work of state, low or left floating -> Bluetooth regular
4, the module with a reset circuit, re-power to complete the reset.
Module-based setup steps:
1, PIO11 has been set high, then the power module.
2, after power module into the AT command response status.
3, HyperTerminal or other serial tool, set the baud rate 38400, 8
data bits, 1 stop bit, no parity, no flow control.
4, serial send characters "AT + ROLE = 1 r n", the successful
return of "OK r n", which r n for carriage return.
5, PIO set low, re-power, module-based module, automatic search
from module to establish a connection