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

From ITEAD Wiki
Jump to: navigation, search
(2.Change baud rate)
(AT command)
Line 46: Line 46:
 
* Sent : AT+NAMEdevicename
 
* Sent : AT+NAMEdevicename
 
* Receive : OKname
 
* Receive : OKname
            (devicename is the name you want the device to be , and it will be searched with this name)
+
(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.
+
Name setting can be saved even power down.
  
 
===4. Change Pincode===
 
===4. Change Pincode===
Line 54: Line 54:
 
* Sent : AT+PINxxxx
 
* Sent : AT+PINxxxx
 
* Receive : OKsetpin
 
* Receive : OKsetpin
          (xxxx is the pin code you set)
+
(xxxx is the pin code you set)
  
            Pin code can be saved even power down.
+
Pin code can be saved even power down.
  
 
==Download==
 
==Download==
  
 
==Useful Links==
 
==Useful Links==

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