beautypg.com

Getting started, Two blu2i modules, Two blu – TDK Module blu2i User Manual

Page 30: Modules, Getting started 8, 1 two blu

background image

Getting Started

8


This section describes how to quickly make your first Bluetooth
connection based on the following combinations of Bluetooth hardware:-

1. Two

blu

2i

Modules.

2. One

blu

2i

Module and a Bluetooth Enabled PC using TDK’s Go

Blue USB Adaptor or PC Card.

Note: The following examples assume that a PC is used to control the
blu

2i

Module using a Terminal Emulation application.

8.1.1 Two blu

2i

Modules


Assuming your PC has 2 serial ports (COM1 and COM2) or that you
have 2 PCs that each have one free serial port, attach a blu

2i

Module to

each COM port. Launch a terminal emulation for each COM port and
start off with comms parameters 9600,N,8,1.

Type AT and confirm that you see it echoed and then an OK
response. If you do not see this behavior, close the application and
restart with comms parameters 115200,N,8,1 and try again.

On the first terminal emulator application, enter the following
commands:-

ATI4
ATS0=1
AT+BTP

The response to ATI4 will be the modules Bluetooth address in the form
of a 12 digit hex number.

On the second terminal emulator app, enter the following command:-

ATD

Where is the 12 digit Bluetooth address you saw in response
to ATI4 above.
After a moment, you will see the response “CONNECT ” on
both terminal emulators. This confirms that you have a Bluetooth
connection between the two.

30 of 36