User's Manual

Table Of Contents
User Manual of HC-02 V1.1 Bluetooth Serial Port Communication Module Gathering information and Carrying Dreams
Website: http://www.hc01.com
Guangzhou Huicheng Information Technology Co., Ltd.
13
Sales hot line: 020-8408-3341
Address: Room 608, No.19, Jiangong Road, Tianhe Software Park, Tianhe District, Guangzhou City, Guangdong Province Technical customer service: 445253184
5. AT Command
5.1 Method entering AT command mode
When the module is powered on and disconnected, it is in AT command mode. In addition, by setting the module pin18
pin KEY+ ( pin18 and pin26 of the new hardware version ) high in the connected state, it is also in AT command mode.
5.2 Defaulted factory parameters
Baud rate: 9600N81,
Bluetooth name: HC-02,
PIN code: 1234.
5.3 Introduction of AT command
5.3.1 Test communication
Command
Response
Remark
AT
OK
Test
5.3.2 Modify UART communication baud rate
Command
Response
Remark
AT+BAUD1
OK1200
The module supports the highest serial baud rate of 115200bps.
After setting the baud rate with AT command, the baud rate can be saved by power down, and no setting is
required for the next power up. The module does not support verification settings!
Note:
When HC-02 module communicates with other Bluetooth master devices in two directions, the maximum
transmission rate is about 2K Byte per second, beyond which codes may be missed. The maximum unidirectional
transmission rate is around 5K Byte per second, beyond which codes may be missed. In addition, continuous data
( e.g. files ) can only be transmitted in one direction, and it is recommended to transmit with a maximum baud rate
of 115200bps. At the same time, two-way transmission of continuous data will leak codes.
Example:
Transmit: AT+BAUD2
Return: OK2400
Baud rate code as follows:
1--------- 1200
2--------- 2400
3--------- 4800
4--------- 9600
(Default value)
5--------- 19200
6--------- 38400
7--------- 57600
8--------- 115200