Difference between revisions of "Serial Port Bluetooth Module (Slave): HC-06"

From ITEAD Wiki
Jump to: navigation, search
(Created page with "==Overview== Serial port bluetooth, Drop-in replacement for wired serial connections, transparent usage. You can use it simply for a serial port replacement to establish conn...")
 
(2.Change baud rate)
Line 24: Line 24:
 
* Sent : AT+BAUD2
 
* Sent : AT+BAUD2
 
* Receive : OK2400
 
* Receive : OK2400
            1---------1200
+
1---------1200
  
            2---------2400
+
2---------2400
  
            3---------4800
+
3---------4800
  
            4---------9600
+
4---------9600
  
            5---------19200
+
5---------19200
  
            6---------38400
+
6---------38400
  
            7---------57600
+
7---------57600
  
            8---------115200
+
8---------115200
  
          Baud rate setting can be saved even power down.
+
Baud rate setting can be saved even power down.
  
 
===3. Change Bluetooth device name===
 
===3. Change Bluetooth device name===

Revision as of 08:56, 28 May 2014

Overview

Serial port bluetooth, Drop-in replacement for wired serial connections, transparent usage. You can use it simply for a serial port replacement to establish connection between MCU and GPS, PC to your embedded project and etc.

Feature

  • Use the CSR Bluetooth chip, compatible with the Bluetooth V2.0 protocol
  • Operating Voltage 3.3V
  • Adjustable baud rate : 1200,2400,4800,9600,19200,38400,57600,115200
  • Size: 28mm x 15 mm x 2.35mm
  • Operating Current 40 mA
  • Sleep Current < 1mA

Default

Slave, 9600 baud rate, N, 8, 1. Pincode 1234

AT command

1. Communications Test

  • Sent : AT
  • Receive : OK 2.

2.Change baud rate

  • Sent : AT+BAUD1
  • Receive : OK1200
  • Sent : AT+BAUD2
  • Receive : OK2400

1---------1200

2---------2400

3---------4800

4---------9600

5---------19200

6---------38400

7---------57600

8---------115200

Baud rate setting can be saved even power down.

3. Change Bluetooth device name

  • Sent : AT+NAMEdevicename
  • Receive : OKname
           (devicename is the name you want the device to be , and it will be searched with this name)
           Name setting can be saved even power down.

4. Change Pincode

  • Sent : AT+PINxxxx
  • Receive : OKsetpin
          (xxxx is the pin code you set)
           Pin code can be saved even power down.

Download

Useful Links