Product Features :
1, the core module from the module using the HC-06 , leads interface includes VCC, GND, TXD, RXD, aside LED status output pin , the microcontroller can be connected via Bluetooth to determine whether the pin state , KEY pin on the slave invalid
2, led indicate Bluetooth connection status , flashes to indicate there is no Bluetooth connection , Steady Bluetooth port is connected and turned on
3 , bottom 3.3V LDO, the input voltage 3.6 ~ 6V, when unpaired current of about 30mA, the pairing of about 10mA, the input voltage must not exceed 7V!
4 , the interface level is 3.3V, you can directly connect a variety of SCM (51, AVR, PIC, ARM, MSP430 , etc. ), 5V microcontroller can also be connected directly , not through without MAX232 MAX232!
5 , open to 10 meters effective distance of over 10 meters are possible, but do not make this connection to ensure the quality of distance
6 , after the pair when using full-duplex serial port , 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 communication format , not support other formats .
7 , establish a Bluetooth connection when not support setting the baud rate , the name , the pairing password via AT commands , parameter set -down to save . After Bluetooth connection is automatically switched to transparent mode
8 , small size (3.57cm * 1.52cm), chip production plant to ensure the quality of the patch . And set transparent shrink tube , dust and beautiful, and there is some anti-static capabilities.
9 , the link from the machine, computer , Bluetooth with Bluetooth from a host with a variety of functions , most Bluetooth phones , PDA, PSP and other intelligent terminal pairing between slaves can not be paired .
Tips ( very important ) :
TXD: the sending end , generally expressed as their transmitter, normal communication must be connected to RXD another device .
RXD: the receiving end, generally expressed as their receiving end, the normal communication TXD must be connected to another device.
Itself when normal communication TXD RXD devices connected forever !
Collected spontaneously : RXD when normal communication to other devices connected TXD, so if you want to receive data transmitted by its own name suggests , it is their own to receive data transmitted , which is directly connected to its own TXD RXD, used to send and receive test itself is normal, is the quickest and easiest test method, when a problem first do the test to determine whether a product failure. Also known as the loopback test .
AT command baud rate configuration
AT command pro-test the following two: 1,2,3 command to send commands do not like any other character (\ 0, \ n, \ r for a class)
First, the default parameters: Slave, 9600, N, 8,1. Passcode: 1234.
Two, AT command set as follows:
1, test communications
Send: AT (return OK, one second left and right once)
Returns: OK
2, change the Bluetooth serial port baud rate
Send: AT + BAUD2
Returns: OK2400
Return immediately after changing the baud rate, and then to change the baud rate of the communication is necessary.
1:1200
2:2400
3:4800
4:9600
5:19200
6:38400
7:57600
8:115200
9:230400
A: 460800
B: 921600
C: 1382400
3, change the Bluetooth name
Send: AT + NAMEname
Returns: OKsetname
4, change the Bluetooth passkey
Send: AT + PIN0000
Returns: OKsetpin
|