Bluetooth module HC-06
Knowledge Point one: Bluetooth status
LED indicates Bluetooth connection status, flashing indicates no bluetooth connection, normally lit table Bluetooth is connected and open serial port (ports)
Knowledge Point two: Related parameters
Input voltage 3.6v-6v, current 30mA when not paired, 10mA after successful pairing.
When the Bluetooth connection is not established, it is supported by setting the AT command (baud rate) to modify the baud rate name and the pairing password, the power-off protection, and the Bluetooth connection is automatically transmitted through the mode.
Master-Slave Mode:
Host: Used to search from devices, not to be searched by other devices.
Slave: Used to search the equipment, do not actively search other equipment.
HC-06 Bluetooth module set at command
HC-06 Usb-ttl
VCC VCC
GND GND
TXD RXD
RXD TXD
1> Viewing port numbers
At OK
At+version getting the AT command version
At+namexxx Setting the Bluetooth name
At+pinxxx setting the Bluetooth pairing password (4-bit)
AT+BAUD1 OK 1200
AT+BAUD2 OK 2400
AT+BAUD3 OK 4800
AT+BAUD4 OK 9600
AT+BAUD5 OK 19200
At+baud6 OK 38400
At+baud7 OK 57600
At+baud8 OK 115200
At+baud9 OK 230400
At+bauda OK 460800
At+baudb OK 921600
AT+BAUDC OK 1382400
At+role=s set module to slave mode
At+role=m setting the module as the main mode
At+led1 turn on the LED
At+led0 Turn off LED
AT+PN No Calibration
At+pe parity Check
At+p0 parity Check
Hardware Transmission module series of Bluetooth module wireless upload (a)