0% found this document useful (0 votes)
277 views9 pages

Btbee Datasheet

Bluetooth Bee is a Bluetooth serial port module compatible with Xbee sockets. It uses a CSR Bluecore 04 chip and has a typical sensitivity of -80dBm. Commands can be used to control settings like baud rate, device name, and auto-connecting options. Pinout details and a revision history are also provided.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
277 views9 pages

Btbee Datasheet

Bluetooth Bee is a Bluetooth serial port module compatible with Xbee sockets. It uses a CSR Bluecore 04 chip and has a typical sensitivity of -80dBm. Commands can be used to control settings like baud rate, device name, and auto-connecting options. Pinout details and a revision history are also provided.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Bluetooth Bee Overview

Bluetooth Bee is an easy to use Bluetooth SPP module compatible with existing Xbee sockets, designed for transparent wireless serial connection setup. Serial port Bluetooth module is fully qualified Bluetooth V2.0+EDR(Enhanced Data Rate) 3Mbps Modulation with complete 2.4GHz radio transceiver and baseband. It uses CSR Bluecore 04-External single chip Bluetooth system with CMOS technology. Hope it will simplify your overall design/development cycle.

License

Source files and documents are licensed under a Creative Commons Attribution 3.0 Unported License.

Page 1 of 9

4/21/2010

Specifications
Hardware features
l l l l l l l l l Typical -80dBm sensitivity Up to +4dBm RF transmit power Fully Qualified Bluetooth V2.0+EDR 3Mbps Modulation Low Power 1.8V Operation ,1.8 to 3.6V I/O PIO control UART interface with programmable baud rate Integrated PCB antenna SMD package With edge connector

Software features
l l l l l l l l l Default Baud rate: 38400, Data bits:8, Stop bit:1,Parity:No parity, Data control: has. Supported baud rate: 9600,19200,38400,57600,115200,230400,460800. Use CTS and RTS to control the data stream. When a rising pulse is detected in PIO0, device will be disconnected. Status instruction port PIO1: low-disconnected, high-connected; PIO10 connected red led, PIO11 connected green led. When master and slave are paired, red and green led blinks 1time/2s in interval, while disconnected only green led blinks 2times/s. Auto-connect the last device on power as default. Permit matched device connect by default. Default PINCODE:0000. Auto-reconnect in 30 min when disconnected as a result of beyond the range of connection.

Page 2 of 9

4/21/2010

Software Instruction
Working Sketch Map
Bluetooth module Bluetooth module

MCU MCU

u a r t

TX RX RTS CTS disconnect

TX RX RTS CTS disconnect

u a r t

MCU

Master

Slave

Flowchart
Master MCU Instructions \r\n+INQ=1\r\n Message and feedback of Bluetooth Module Start inquiring Inquired a device \r\n + RTINQ = 18,E4,1B,63,D6,00;GPS\r\n \r\n+CONN=18,E4,1B,63,D6,00\r\n Start connecting 18,E4,1B,63,D6,00 Require inputting pincode \r\n+INPIN\r\n \r\n+RTPIN=0000\r\n Receive pincode, pairing and connecting

Slave MCU Instructions \r\n+INQ=1\r\n

Message and feedback of Bluetooth Module Enter paring mode Require inputting pincode \r\n+INPIN\r\n

\r\n+RTPIN=0000\r\n
Page 3 of 9

Receive pincode, pairing and connecting


4/21/2010

Commands to change default settings 1. Set working MODE


\r\n+STWMOD=0\r\n \r\n+STWMOD=1\r\n Set device working as client (slave), Save and Rest Set device working as server (master), Save and Rest

Note: \r\n is needed, and the value of which is 0x0D 0x0A in Hex, meaning return and next row,

2. Set BAUDRATE
\r\n+STBD=115200\r\n Set baudrate 115200, Save and Rest Supported baudrate: 9600, 19200,38400,57600,115200,230400,460800.

3. Set Device NAME


\r\n+STNA=abcdefg Set device name abcdefg, Save and Rest

4. Auto-connect the last paired device on power


\r\n+STAUTO=0\r\n \r\n+STAUTO=1\r\n Forbidden, Save and Rest Permit, Save and Rest

5. Permit Paired device to connect me


\r\n+STOAUT=0\r\n \r\n+STOAUT=1\r\n Forbidden, Save and Rest Permit, Save and Rest

6. Set PINCODE
\r\n +STPIN=222\r\n Set pincode 2222, Save and Rest

Page 4 of 9

4/21/2010

7. Delete PINCODE(input PINCODE by MCU)


\r\n+DLPIN\r\n Delete pincode, Save and Rest

8. Read local ADDRESS CODE


\r\n+RTADDR\r\n Return address of the device

9. Auto-reconnecting when master device is beyond the valid range (slave device will auto-reconnect in 30 min when it is beyond the valid range)
\r\n+LOSSRECONN=0\r\n \r\n+LOSSRECONN=1\r\n Forbidden auto-reconnecting Permit auto-reconnecting

Commands for Normal Operation: 1. Inquire


a) Master \r\n+INQ=0\r\n \r\n+INQ=1\r\n b) Slave \r\n+INQ=0\r\n \r\n+INQ=1\r\n Stop Inquiring Begin/Restart Inquiring Disable been inquired Enable been inquired

2. Bluetooth module returns inquiring result


\r\n+RTINQ=aa,bb,cc,dd,ee,ff;name\r\n A serial Bluetooth device with the address aa,bb,cc,dd,ee,ff and the name name is inquired

3. Connect device
\r\n+CONN=aa,bb,cc,dd,ee,ff\r\n Connect to a device with address of aa,bb,cc,dd,ee,ff
Page 5 of 9 4/21/2010

4. Bluetooth module requests inputting PINCODE


\r\n+INPIN\r\n

5. Input PINCODE
\r\n+RTPIN=code\r\n Example: RTPIN=0000 Input PINCODE which is four zero

6. Disconnect device
Pulling PIO0 high will disconnect current working Bluetooth device.

7. Return status
\r\n+BTSTA:xx\r\n xx status: 0, Initializing 1, Ready 2, Inquiring 3, Connecting 4, Connected (Note: This is not a command, but the information returning from the module)

More information about how to setup connections between Bluetooth in seeedstudio forum: http://www.seeedstudio.com/forum/viewtopic.php?f=4&t=687

Page 6 of 9

4/21/2010

Pinout

Page 7 of 9

4/21/2010

Pin Function
PIN PIO9 PIO8 PIO7 PIO6 RTS PIO5 PIO4 PCMSY CTS PIO3 PIO2 USBDP USBDN CLK MI MO CS AIO1 AIO0 GND PCMIN PCMOT PCMCK PIO1 !RST PIO0 RX TX 3V3 # 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Pad Type Bi-Direction Bi-Direction Bi-Direction Bi-Direction CMOS output, tri-stable with weak internal pull -up Bi-Direction Bi-Direction Bi-Direction CMOS output, tri-stable with weak internal pull -up Bi-Direction Bi-Direction Bi-Direction Bi-Direction CMOS output, tri-stable with weak internal pull -up CMOS output, tri-stable with weak internal pull -up CMOS output, tri-stable with weak internal pull -up CMOS output, tri-stable with weak internal pull -up Bi-Direction Bi-Direction VSS CMOS input CMOS output Bi-Direction Bi-Direction CMOS input with weak internal pull-up Bi-Direction CMOS input with weak internal pull-up CMOS output,tri-stable with weak internal pull-up 3.3V
Page 8 of 9

Description Programmable input/output line Programmable input/output line Programmable input/output line Programmable input/output line UART request to send, active low Programmable input/output line Programmable input/output line Synchronous PCM data strobe UART clear to send, active low Programmable input/output line Programmable input/output line

SPI(Serial peripheral interface) clock SPI data output SPI data input Chip select for serial peripheral interface, active low Programmable input/output line Programmable input/output line Ground port Synchronous PCM data input Synchronous PCM data output Synchronous PCM data clock Programmable input/output line Reset if low,input must be low for >5ms to cause a reset Programmable input/output line UART Data input UART Data output Integrated 3.3V(+)supply with on-chip linear regulator output within 3.15-3.3V
4/21/2010

Revision History
Rev.
V1.0 V1.1 V1.2 V1.3

Descriptions
Initial version Modify Inquire command and add some notes Modify Hardware and Software features Update the profile, add the return status, delete ECHO command.

Release date
2009/12/14 2010/03/15 2010/04/07 2010/04/21

Page 9 of 9

4/21/2010

You might also like