You are on page 1of 32

ROBOT .

HEAD to TOE
Product Users Manual BlueBee

Cytron Bluetooth Module


BlueBee

User's Manual
V1.0

July 2012

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

ROBOT . HEAD to TOE


Product Users Manual BlueBee

Index
1. Introduction and Overview

2. Packing List

3. Dimension

4. Product Layout
6
5. Product Specification and Limitations
9
6. Hardware Interface

10

6.1 Using SKXBEE-BOARD

10

6.2 Using UC00A/B

11

7. AT Command

13

8. Getting Started
16
8.1 Communication between 2 computers

16

8.2 Communication between microcontroller and computer

23

9. Warranty

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

24

ROBOT . HEAD to TOE


Product Users Manual BlueBee

1. INTRODUCTION AND OVERVIEW


BlueBee is Bluetooth wireless module from Cytron Technologies which is design to adapt the
from factor of XBee module. The pinout of BlueBee is compatible with XBEE which is
suitable for all kinds of microcontroller systems that have 3.3V power out. There are 2 modes
on BlueBee which is Transparent mode and AT mode. The baudrate of module may be set
using AT commands/mode.
The BlueBee module comes with an on-board antenna, the antenna provides better signal
quality. It acts like a transparent serial port, which works with a variety of Bluetooth adapter
and Bluetooth phone. BlueBee is compatible with XBEE starter kit, so you may use
SKXBEE-BOARD or Arduino-XBee shield for BlueBee communication. The BlueBee is
only slave module. Communication among two BlueBee is not possible.

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

ROBOT . HEAD to TOE


Product Users Manual BlueBee

2. PACKING LIST
Please check the parts and components according to the packing lists. If there are any parts
missing, please contact us at sales@cytron.com.my immediately.

1. 1 x BlueBee module

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

ROBOT . HEAD to TOE


Product Users Manual BlueBee

3. DIMENSION

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

ROBOT . HEAD to TOE


Product Users Manual BlueBee

4. PRODUCT LAYOUT

1. Status LED
When the module is power on, LED will start blinking. The blinking style will indicate
which work mode is it in . The different modes has different blinking time interval.

AT Mode

Slow blinking (0.25Hz)

Trans Mode

Fast blinking (2Hz)

Paired Mode

Slow blinking (1Hz)

Connection
Mode

LED will blink twice and stop for long time (~2 seconds), and repeat
itself.

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

ROBOT . HEAD to TOE


Product Users Manual BlueBee

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

ROBOT . HEAD to TOE


Product Users Manual BlueBee

2. BlueBee Working Modes


There are default 2 modes for BlueBee module which are AT mode and Trans mode. User
need to select either AT mode or Trans mode using the jumper provided.
AT mode
Select AT mode to set or to inquire control parameter. Baud rate for AT mode is 38400 bps.
Others baud rate will not working.
Trans mode
Select Trans mode to transmit or receiver data from other Bluetooth device.
Pin Function
Pin

Name

Description

3V3

3.3V (+) supply for BlueBee module

TXD

UART Data output

RXD

UART Data input

NA

RESET

P9

Connection Indicator, High = Connected, Low = No connection

NA

NA

P8

LED, Mode indicator, connected to BlueBee status LED

NA

NA

10

GND

11

NA

NA

12

CTS

UART clear to send, active low

13

NA

NA

14

NA

NA

15

NA

NA

16

RTS

UART requesr to send, active low

17

NA

NA

18

NA

NA

NA
Reset for BlueBee module

Ground port

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

ROBOT . HEAD to TOE


Product Users Manual BlueBee

19

NA

NA

20

NA

NA

* Please do not make any connection to those NA pin.

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

ROBOT . HEAD to TOE


Product Users Manual BlueBee

5. PRODUCT SPECIFICATION AND LIMITATIONS


Absolute Maximum Rating
Symbol

Parameter

3.3

Operating voltage

RX
TX

Min

Max Unit

3.0

3.6

Receiver pin of BlueBee module

3.3

Transmit pin of BlueBee module

3.3

Reset

Reset pin of BlueBee module

3.3

GND

Ground

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

10

ROBOT . HEAD to TOE


Product Users Manual BlueBee

6. HARDWARE INTERFACE
SKXBEE-Board or UC00A/B may use to enabling bluetooth wireless control. This section
will show BlueBee installation with SKXBEE-BOARD and UC00A/B for bluetooth wireless
communication.
6.1 Using SKXBEE-BOARD
This board is basically a USB to UART breakout board for XBee module. The 2mm female
header soldered on board allows user to plug in the XBEE module without soldering. Since
BlueBee is compatible with XBEE, user may use this board for Bluetooth wireless
communication.
Plug BlueBee module onto SKXBEE-BOARD.

Connect USB B Type to SKXBEE-BOARD and the other end to USB port of
computer or laptop. Computer/laptop will detect COM port for the 1st time using. You
may check the COM port at hardware device. For this example, the COM port for
BlueBee USB Serial port is COM50. Now you can start communicating with BlueBee
module, in AT mode or Trans mode.

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

11

ROBOT . HEAD to TOE


Product Users Manual BlueBee

6.2 Using UC00A/UC00B


UC00A/B is USB to UART converter. It used as computer standard interface, USB to connect
a device to a PC/laptop via UART/COM. The driver for UC00A/B need to install before we
can use it.
Plug the BlueBee module onto XBEE Breakout board.

Using female to female jumper wires, connect pin from XBEE Breakout board
to UC00A/B. The pins used are VCC, GND, Tx and Rx pin. Tx and Rx pins should be
Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

12

ROBOT . HEAD to TOE


Product Users Manual BlueBee

cross connected between them. In other words, Tx pin of BlueBee should be


connected to Rx pin of UC00A/B and Rx pin of BlueBee should be connected to Tx
pin of UC00A/B.

Ensure 3.3V is select on UC00B. *Please ensure to select the corrent voltage,
else BlueBee will be damaged, same apply if UC00A is used.

Connect USB of UC00B into USB port of computer/laptop. Wait a minute for
driver devices detect the COM port. The COM port should be different with
SKXBEE-BOARD COM port.

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

13

ROBOT . HEAD to TOE


Product Users Manual BlueBee

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

14

ROBOT . HEAD to TOE


Product Users Manual BlueBee

7.0 AT COMMAND
BlueBee has 2 modes of operation which is AT mode and Transmit mode. User may send the
AT command to the module to set the control parameters and sent control order. AT
commands should end with \r\n. It means when programming is finish, user should add
terminator (ENTER or \r\n). The default baudrate in AT mode is 38400bps.
1.Test
Command

Response

Parameter

AT

OK

None

Command

Response

Parameter

AT+ RESET

OK

None

Command

Response

Parameter

AT+ADDR?

+ADDR:<Param>
OK

Param: Bluetooth address

2. Reset

3.Get module bluetooth module address

Bluetooth address will show as this way: NAP:UAP:LAP (Hexadecimal)


Example:
Module Bluetooth address: 12: 34: 56: ab: cd: ef
at+addr?\r\n
+ADDR: 1234:56:abcdef
OK

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

15

ROBOT . HEAD to TOE


Product Users Manual BlueBee

4.Set/Inquire-Serial Parameter
Command

Response

Parameter

AT+UART=<Param1>,
<Param2>, <Param3>

OK

AT+UART?

+UART=<Param1>,
<Param2>, <Param3>
OK

Param1: baud rate(bits/s)


The value (Decimal) should
be one of following:
4800
9600
19200
38400
57600
115200
230400
460800
921600
1382400
Param2: Stop bit
0 ----1 bit
1----- 2 bits
Param3: Parity bit
0 ---- None
1 ---- Odd parity
2 ---- Even parity
Default: 9600,0,0

Example:
Set baud rate to be 115200, stop bit to be 2 bits, parity bit to be even parity.
AT+UART=15200,1,2,\r\n
OK
AT+UART?
+UART:115200,1,2
OK

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

16

ROBOT . HEAD to TOE


Product Users Manual BlueBee

To set or inquire control parameter, user need to set up hardware interface refer to Section 6
Hardware Interface. User may use either SKXBEE-BOARD or UC00A/B and hypertrminal
application to set/inquire the control parameter.
BlueBee module need to set to AT mode shown as figure below. Status LED will blink with
slow blinking when BlueBee in AT mode.

Open and set up HyperTerminal. Bare in mind that the baud rate for AT mode is 38400 bps.
Figure below is an example to send AT command using HyperTerminal.

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

17

ROBOT . HEAD to TOE


Product Users Manual BlueBee

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

18

ROBOT . HEAD to TOE


Product Users Manual BlueBee

8.0 GETTING STARTED


BlueBee is a slave module, so communication among two BlueBee is not possible. It can
create Bluetooth wireless link other host/master device such as Bluetooth handphone,
SKKCA , computer with built-in Bluetooth, and others Bluetooth devices. This section will
show example communication of BlueBee between 2 computers and between computer and
microcontroller.
8.1 Communication between 2 computers
For this example, 2 computers named computer A and computer B will be used. Computer A
as a host to BlueBee and computer B as a host to Bluetooth USB dongle. BlueBee is using
SKXBEE -BOARD or UC00A/B to communicate with computer A and bluetooth dongle will
use BlueSoleil software to communicate with computer B.

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

19

ROBOT . HEAD to TOE


Product Users Manual BlueBee

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

20

ROBOT . HEAD to TOE


Product Users Manual BlueBee

Setup for computer A:


Set BlueBee to Trans mode . Status LED will blink with faster rate. In Trans
mode, the default baudrate is 9600 bps.

Setup hardware installation refer to section 6. User may use either SKXBEEBOARD or UC00A/B.
Open and setup HyperTerminal for Computer A. For this example, the COM
Port for BlueBee is COM50 and baud rate is 9600. The COM port may different with
other computer/laptop.
Setup for computer B:
User need Bluetooth USB dongle and BlueSoleil software to allow computer A communicate
with computer B via Bluetooth link. Install BlueSoleil software into PC/laptop
Connect Bluetooth USB dongle into USB port.
Turn on Bluetooth with display classic view . Bluetooth icon can be found at
icon and notification taskbar (right and bottom of computer).

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

21

ROBOT . HEAD to TOE


Product Users Manual BlueBee

Press F5 to start searching for Bluetooth device near by. If BlueBee is


working properly, it will appear as a Bluetooth node in BlueSoleil window as shown
in following figure.

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

22

ROBOT . HEAD to TOE


Product Users Manual BlueBee

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

23

ROBOT . HEAD to TOE


Product Users Manual BlueBee

Right click on BlueBee con and click pair device. The software will appear a
window to Enter Bluetooth Passkey. Enter the passkey and click OK. The passkey
should be 1234. When the bluetooth serial is paired, status LED blinking is change
from fast blinking to slow blinking.

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

24

ROBOT . HEAD to TOE


Product Users Manual BlueBee

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

25

ROBOT . HEAD to TOE


Product Users Manual BlueBee

Now, double click on the Bluesoleil will start inquiring for available service or
profile offered by BlueBee. After some time (around 1 to 3 seconds) Bluetooth Serial
Port Service should be highlighted as shown in below figure.

Double click on Bluetooth Serial Port Service. If everything is working


perfectly, a window will pop up showing the virtual COM port which is connected to
computer B. In this case, a COM49 has been created.

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

26

ROBOT . HEAD to TOE


Product Users Manual BlueBee

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

27

ROBOT . HEAD to TOE


Product Users Manual BlueBee

BlueSoleil will try to create Bluetooth Wireless link with BlueBee and offer
serial port service.

Status LED on BlueBee will blinking 2 times in 1 second (2Hz) if the


Bluetooth Wireless link is successfully created.
Open and setup HyperTerminal for computer B. For this example port setting
for Bluetooth is COM49 and the baudrate is 9600.
Type any words at HyperTerminal computer A. User may see, the words
types on HyperTerminal computer A will be received by HyperTerminal computer B
and displayed. Then, type any words at HyperTerminal computer B and those words
also received and displayed on HyperTerminal computer A.
That means that
Bluetooth link is created and data is able to communicate (transmit and receive)
between computer A and computer B.

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

28

ROBOT . HEAD to TOE


Product Users Manual BlueBee

Computer A (COM50)

Computer B(COM49)

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

29

ROBOT . HEAD to TOE


Product Users Manual BlueBee

8.2 Communication between micronctroller and computer


Besides communication between 2 computers, BlueBee also may use with microcontroller to
communicate with computer. User may refer tutorial link for BlueBee for example
communication between microcontroller and computer.

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

30

ROBOT . HEAD to TOE


Product Users Manual BlueBee

9. WARRANTY

Product warranty is valid for 6 months.


Warranty only applies to manufacturing defect.
Damaged caused by miss-use is not covered under warranty
Warranty does not cover freight cost for both ways.

Prepared by
Cytron Technologies Sdn. Bhd.
19, Jalan Kebudayaan 1A,
Taman Universiti,
81300 Skudai,
Johor, Malaysia.
Tel:
Fax:

+607-521 3178
+607-521 1861

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

31

ROBOT . HEAD to TOE


Product Users Manual BlueBee

URL: www.cytron.com.my
Email: support@cytron.com.my
sales@cytron.com.my

Created by Cytron Technologies Sdn. Bhd. All Rights Reserved

32

You might also like