Você está na página 1de 2

Bluetooth Serial Adaptor TABLE OF CONTENTS

1. INTRODUCTION…………………………………………………3
User’s Manual
1.1. Features………………………………………………………… 3
1.2. Package……………………………….…………...……………3
2. SPECIFICATIONS……………………………………….……...3
2.1. General………………………...……………………………….3
2.2. RS232 Interface………………….........................................4
2.2.1. Pin-out………………………………………………………4
2.2.2. Signals………………………….....................................4
2.3. Factory Settings………………………………………..............4
3. INSTALLATION……………………………………………………4
3.1. Hardware Structure...…………………………………………..4
3.1.1. Reset Button……………………………………………..4
3.1.2. Slide Switch ………………………………………………5
3.1.3. Power Supply …………………………………………….5
3.1.4. LED Status……………………………………………..... 5
3.2 Installation Procedure………………………………………….5
4. USAGE…………………………………………………………….5
4.1 HyperTerminal Settings………………………………………..5
4.2 Configuration…………….……………………………………..5
4.2.1. Configuration Start-up…………………………………..6
Wireless Solutions in Your Hand
4.2.2. Master Role Configuration………………………………6
4.3 AT Command Set………………………………………………6

-2-

1. Introduction 2.2. RS232 Interface


Thank you for purchasing our Bluetooth serial adaptor. The adaptor eliminates 2.2.1. Pin-out
your conventional RS232 serial cables, providing an easy-to-use, invisible
connection with superior freedom of movement. This tiny adaptor allows any
device with a standard 9-pin serial port to communicate wirelessly. You can
communicate with another Bluetooth serial adaptor or other Bluetooth-enabled
devices such as a laptop computer, PDA or mobile phone.
2.2.2. Signals
1.1. Features Pin Signal Direction Description
z Supports Bluetooth Serial Port Profile and Generic Access Profile
z No need of external host and software 2 TxD Output Transmitted data
z Easy of installation and use 3 RxD Input Received data
z Supports configuration of the local device 5 GND N/A Signal ground
z Easy of maintenance
z Supports up to 100 meters (line of sight) 7 CTS Input Clear to send (Remarks)
1.2. Package 8 RTS Output Request to send (Remarks)
z Bluetooth serial adaptor: 2 ea 9 Vcc Input Power supply
z Antenna: 2 ea Remarks: The default hardware configuration is for using CTS/RTS. If you want to
z DB9 male to female converter: 2 ea use DSR/DTR, please contact us.
z USB cable for power supply: 2 ea
z DC adaptor: 2 ea 2.3. Factory Settings
z User’s manual: 1 The factory settings of COM port are as follows:
z Baud rate: 19200 bps
2. Specifications z Data bit: 8
2.1. General z Parity: none
z Stop bit: 1
Specification Description z Flow control: H/W or none
Baud Rate Supports 4.8/9.6/19.2/38.4/57.6/115.2/230.4/460.8 Kbps
z Others: Please refer to section 4.3 AT Command Set.
Coverage Up to 100 m
Connection Point-to-point (pico net) 3. Installation
Signal TxD, RxD, GND, CTS, and RTS 3.1. Hardware Structure
RS-232 The figure below is an outline of the adaptor.
D_SUB 9-pin female
Interface
Standard Bluetooth specification version 2.0+EDR
Frequency 2.400 to 2.4835 GHz
Hopping 1,600/sec, 1MHz channel space
Modulation GFSK-1 Mbps, DQPSK-2 Mbps, and 8-DPSK-3 Mbps
Tx. Power Max. 18 dBm (Class 1)
Rx. Sensitivity -86 dBm typical
Antenna Chip antenna or SMA female + external antenna (optional)
Antenna Gain Chip antenna max. 1 to 2 dBi
Power Supply +5 to +9 V DC 1 Power LED 2 Data LED 3 Link LED 4 RS232 connector
Current 5 Slide switch 6 Mini USB connector 7 Reset button 8 Antenna connector
Max. 90 mA
Consumption
3.1.1. Reset Button
Operation
-20°C to +75°C By pressing the Reset button, you can:
Temperature
Dimensions 35 mm (W) x 65 mm (D) x 16 mm (H) z Disconnect and reconnect a wireless connection (after a short press).
z Restore the factory settings (after over three seconds' press).

-3 - -4-
3.1.2.
3.1.2. Slide Switch Step 4: On the interface of the new HyperTerminal file, click Properties button.
3.1.2. Slide
Slide Switch
Switch Step 4: On the interface of the new HyperTerminal file, click Properties button.
The slide switch is used to set the adaptor as Step 5: Select the COM port where the adaptor is attached to your PC and set the port
The
The slide
slide switch
switch isis used
used to to set
set the
the adaptor as aa
adaptor as DTE
a DTE (to
DTE (to the
(to the side
the side of
side of antenna
of antenna
antenna Step 5: Select the COM port where the adaptor is attached to your PC and set the port
connector) or properties as described in section 4.1 HyperTerminal Settings.
connector) or aa
connector) or DCE
a DCE
DCE (to (to the
(to the side
the side of
side of RS232
of RS232 connector).
RS232 connector).
connector). properties as described in section 4.1 HyperTerminal Settings.
3.1.3. Power Supply Step 6: Input "A" in the file and then press <Enter>.
3.1.3.
3.1.3. Power
Power Supply
Supply Step 6: Input "A" in the file and then press <Enter>.
The adaptor can be powered via: If no echo, that is, nothing is displayed when you input "A", it indicates that the
The
The adaptor can be
adaptor can be powered
powered via: via: If no echo, that is, nothing is displayed when you input "A", it indicates that the
zz
z An
An AC/DC
An AC/DC converter
AC/DC converter (output
converter (output power:
(output power: +5
power: +5 to
+5 to +9
to +9
+9 V V DC/300
V DC/300 mA)
DC/300 mA)
mA)
baud rate is incorrect. Ensure that the baud rate is 19200 bps.
z A USB cable baud rate is incorrect. Ensure that the baud rate is 19200 bps.
zz AA USB
USB cable
cable Step 7: Input "AT", and then press <Enter>.
zz
z Pin
Pin 9 of
Pin 99 of the
of the
the DD SUB
D SUB 9-pin
SUB 9-pin connector
9-pin connector
connector
Step 7: Input "AT", and then press <Enter>.
"OK" is displayed.
3.1.4. LED Status "OK" is displayed.
3.1.4.
3.1.4. LED
LED Status
Status If necessary, reprogram the configuration of adaptor using AT commands. For related
If necessary, reprogram the configuration of adaptor using AT commands. For related
The
The following
The following is
following is LED
is LED status
LED status information.
status information.
information. commands, please refer to section 4.3 AT Command Set.
commands, please refer to section 4.3 AT Command Set.
Status Description 4.2.1 Master Role Configuration
Status
Status Description
Description 4.2.1 Master Role Configuration
Power LED off No power supply. You can use "ATR0" to change the adaptor to the master role. When the adaptor is in
Power
Power LED
LED off
off No
No power
power supply.
supply. You can userole,
the master "ATR0" to change
you can the adaptor
use "ATO1" to the set
to manually master
up arole. When the
connection andadaptor
"ATF?"istoin
Power LED on Firmware is running OK. the
Power
Power LED
LED onon Firmware
Firmware isis running
running OK.
OK. findmaster role,you
the device youwant
can use "ATO1" to manually set up a connection and "ATF?" to
to connect.
Link
Link LED off No pairing established. find the device you want to connect.
Link LED
LED off
off No pairing established.
No pairing established.
Link
Link LED fast (0.1 sec) blinking Pairing (slave or master mode). 4.4. AT Command Set
Link LED
LED fast
fast (0.1
(0.1 sec)
sec) blinking
blinking Pairing
Pairing (slave
(slave oror master
master mode).
mode). 4.5.
4.3. AT Command Set
Discoverable and
Discoverable
Discoverable and waiting
and waiting for
waiting for aa
for a The following is the AT command set for the local adaptor in the command mode
Link
Link LED
Link LED fast
LED fast (0.3
fast (0.3 sec)
(0.3 sec) blinking
sec) blinking
blinking The following is the AT command set for the local adaptor in the command mode
connection
connection (slave
connection (slave mode).
(slave mode).
mode). (that is, the local adaptor is in the disconnection state). All the commands and
(that is, the local adaptor is in the disconnection state). All the commands and
Link
Link LED slow (0.9 sec) blinking Inquiring (master mode). parameters are case insensitive.
Link LED
LED slow
slow (0.9
(0.9 sec)
sec) blinking
blinking Inquiring
Inquiring (master
(master mode).
mode). parameters are case insensitive.
Link LED
Link
Link LED very
LED very slow
very slow (1.2
slow (1.2 sec)
(1.2 sec) blinking
sec) blinking
blinking Connecting (master
Connecting
Connecting (master mode).
(master mode).
mode). Command Description
Link
Link LED
Link LED steadily
LED steadily on
steadily on
on Connection
Connection established.
Connection established.
established. Command Description
Description
This command is used to establish a connection.
3.2. Installation Procedure A This commandonly is used
3.2.
3.2. Installation
Installation Procedure
Procedure A It is available whentothe establish
adaptora isconnection.
in the master role.
Step 1: It is available only when the adaptor is in the master role.
Step 1:IfIf
Step 1: provided
If provided with
provided with an
with an external
an external antenna,
external antenna, assemble
assemble ititit to
antenna, assemble to the
to the adaptor
the adaptor body.
adaptor body.
body. Connect the adaptor to a specified Bluetooth device.
Step
Step 2:
Step 2: Plug
2: Plug the
Plug the adaptor
the adaptor into
adaptor into the
into the
the COMCOM port
COM port of
port of device.
of device.
device. A Connect the adaptor to a"ATD=xxxxxxxxxxxx"
specified Bluetooth device.
A It is available only when is executed.
Step
Step 3:
Step 3: Adjust
3: Adjust the
Adjust the slide
the slide switch,
slide switch, depending
switch, depending on
depending on whether
on whether the
whether the device
the device is
is aa
device is DTE
a DTE or
DTE or DCE.
or DCE.
DCE. It is available only when "ATD=xxxxxxxxxxxx" is executed.
Step 4: Power the adaptor on. Connect the adaptor to a Bluetooth device in the neighborhood found
Step
Step 4:
4: Power
Power the
the adaptor
adaptor on.
on. A1-A8 Connect the adaptor to a Bluetooth device in the neighborhood found
Step 5: Configure the adaptor A1-A8 through "ATF?".
Step
Step 5:
5: Configure
Configure the adaptor ififif necessary.
the adaptor necessary.
necessary. through "ATF?".
This command is used to display the Bluetooth address of the local
4.
4. Usage B This command is used to display the Bluetooth address of the local
4. Usage
Usage B adaptor.
adaptor.
You
You can
You can reprogram
can reprogram the
reprogram the default
the default settings
default settings on
settings on the
on the adaptor
the adaptor using
adaptor using HyperTerminal.
using HyperTerminal.
HyperTerminal. B? Inquire the Bluetooth address of the local adaptor.
B? Inquire the Bluetooth address of the local adaptor.
4.1
4.1 HyperTerminal
4.1 HyperTerminal Settings
HyperTerminal Settings
Settings For security purpose, this command is used to specify a unique remote
For security
Bluetooth purpose,
serial adaptorthistocommand is used to specify a unique remote
be connected.
z
z
z Bits
Bits per
Bits per second:
per second: 19200
second: 19200 bps
19200 bps (baud
bps (baud rate)
(baud rate)
rate) Bluetooth
In the masterserial adaptor
role, to be connected.
the adaptor pairs and connects with the designated
z
z
z Data
Data bit:
bit: 88
Data bit: D In the master role, the adaptor pairs and connects with the designated
z Parity: None
8 D remote slave address.
z
z Parity:
Parity: None
None remote slave address.
If the adaptor is in the slave mode, this command is a filter condition to
z
z
z Stop
Stop bit:
bit: 11
Stop bit: 1 Ifaccept
the adaptor is in of
thethe
slave mode, this command is a filter condition to
z
z Flow control: H/W the inquiry master device.
z Flow
Flow control:
control: H/W
H/W accept the inquiry of the master device.
4.2
4.2 Configuration D=xxxxxxxxxxxx "xxxx-xx-xxxxxx" is a string of 12 hexadecimal digits.
4.2 Configuration
Configuration D=xxxxxxxxxxxx "xxxx-xx-xxxxxx" is a string of 12 hexadecimal digits.
4.2.1 Configuration Start-up Restore the status in which the adaptor can connect with any remote
4.2.1
4.2.1 Configuration
Configuration Start-up D0 Restore
address.the status in which the adaptor can connect with any remote
Start-up
Step 1: Plug the adaptor into D0
Step
Step 1:
1: Plug
Plug the
the adaptor into aa
adaptor into COM
a COM port
COM port of
port of PC.
of PC.
PC. address.
Step
Step 2: Power the adaptor on. D? Inquiry the designated address that can be paired and connected.
Step 2:
2: Power
Power the
the adaptor
adaptor on.
on. D? Inquiry the designated address that can be paired and connected.
Step 3:
Step
Step 3: Create
3: Create aa
Create a HyperTerminal
HyperTerminal file.
HyperTerminal file.
file. -6 -
-5 -- -6 -
-5
-5 -

Command Description Command


Command Description
Description
Command Description
This command is used to specify whether the adaptor echoes characters This
This command is used to specify a name
command is used to specify a name for
for the
the adaptor.
adaptor.
E This command is used to specify whether the adaptor echoes characters You
E received from the UART back to the DTE/DCE. N
N You can
can specify
specify aa friendly
friendly name
name using
using 00 to
to 9,
9, A A to
to Z,
Z, aa to
to z,
z, space
space and
and –,
–, which
which are
are
received from the UART back to the DTE/DCE. all valid
all valid characters.
characters. Note
Note that
that "first
"first space
space oror -,-, last
last space
space or or –– isn’t
isn’t permitted".
permitted". The
The
Command characters received from the UART are not echoed back to the default name is “Serial Adaptor”.
default name is “Serial Adaptor”.
E0 Command characters received from the UART are not echoed back to the
E0 DTE/DCE.
DTE/DCE. N=xxxxxx
N=xxxxxx "xxxxxx" is
"xxxxxx" is aa character
character string
string with
with aa maximal
maximal length
length of
of 16.
16.
Command characters received from the UART are echoed back to the
E1 (default) Command characters received from the UART are echoed back to the N? Inquire
DTE/DCE.
E1 (default) DTE/DCE. N? Inquire thethe name
name of of the
the local
local adaptor.
adaptor.
E? Inquire the current setting. O This command
This command is is used
used to
to enable/disable
enable/disable auto-connection
auto-connection feature.
feature.
E? Inquire the current setting. O ItIt is
is available
available only
only when
when the
the adaptor
adaptor is
is inin the
the master
master role.
role.
This command is used to search for any Bluetooth device in the
This command is used to search for any Bluetooth device in the O0 Automatically
Automatically connect
connect the
the adaptor
adaptor to
to aa device
device specified
specified by
by "ATD"
"ATD" or
or any
any available
available
neighborhood within one minute. When one minute is up, the names and O0 (Default)
(Default) device
F neighborhood within one minute. If any device is found, its name and
addresses of devices if found will be listed with an ending message. device ifif "ATD=xxxxxxxxxxxx"
"ATD=xxxxxxxxxxxx" is is not
not executed.
executed.
F address will be listed. The search ends with a message "Inquiry ends. xx Disable auto-connection
auto-connection feature.
feature. After
After itit is
is executed,
executed, you
you need
need to
to execute
execute "ATA"
"ATA" to
to
This command is available only when the adaptor is in the master role. O1 Disable
device(s) found." O1 manually
manually connect
connect aa remote
remote device.
device.
F? This command
Inquire is available
Bluetooth devices inonly
the when the adaptor is in the master role.
neighborhood.
O?
O? Inquire the
Inquire the current
current setting.
setting.
F? Inquire Bluetooth
This command is devices in the neighborhood.
used to specify whether the adaptor can be discovered
H This
or connected by remote devices.
This command is used to specify whether the adaptor can be discovered P
P This command is used to
command is used to specify
specify aa PIN.
PIN. TheThe default
default PIN
PIN is
is "1234".
"1234". Paired
Paired adaptors
adaptors
should have
should have aa same
same PIN.
PIN.
H
or
Theconnected
adaptor enters
by remote
the undiscoverable
devices. mode. If a pair has been made,
H0 the original connection can be resumed. But other remote master device P=xxxx
P=xxxx "xxxx"
"xxxx" is
is aa 4-digit
4-digit string.
string.
The adaptor enters the undiscoverable mode. If a pair has been made,
cannot discover this adaptor.
H0 the original connection can be resumed. But other remote master device P0 Cancel authentication
authentication by
by PIN.
PIN.
P0 Cancel
H1 (default) The adaptor
cannot discover
enters
thisthe
adaptor.
discoverable mode.
P?
P? Inquire the current PIN.
Inquire the current PIN.
H1
H? (default) The adaptor
Inquire enters setting.
the current the discoverable mode.
The command
The command isis used
used to
to decide
decide whether
whether result
result messages
messages are
are sent
sent back
back to
to the
the
I H? Inquire the current
This command setting.
is used to inquiry the firmware version. Q DTE/DCE
DTE/DCE when
when AT
AT commands
commands are are executed.
executed.
Q The result messages are: OK/ERROR for command execution, or
The result messages are: OK/ERROR for command execution, or
I I? This command
Inquire is used
the version to inquiry the firmware version.
codes. CONNECT/DISCONNECT
CONNECT/DISCONNECT for for connection
connection status.
status.
L I? Inquire the version
This command codes.
is used to specify the baud rate of COM port. Q0
Q0 (default)
(default) Result
Result messages are back to the DTE/DCE.
messages are back to the DTE/DCE.
L L0 This
4800command
bps is used to specify the baud rate of COM port. Q1
Q1 Result
Result messages
messages are
are not
not back
back to
to the
the DTE/DCE.
DTE/DCE.
L0
L1 4800
9600 bps Q? Inquire
Q? Inquire thethe current
current setting.
setting.
L1
L2 (default) 9600
19200bps
bps This
R This command is
command is used
used toto specify
specify whether
whether the
the adaptor
adaptor is
is in
in the
the master
master or
or slave
slave role.
role.
R IfIf the
the device
device role
role is
is changed,
changed, the
the adaptor
adaptor will
will reboot
reboot and
and all
all paired
paired addresses
addresses will
will be
be
L2 (default)
L3 19200
38400 bps cleared.
cleared.
L3
L4 38400
57600 bps R0 Set
R0 Set thethe adaptor
adaptor to
to the
the master
master role.
role.
L4
L5 57600
115200bps
bps
R1
R1 (default)
(default) Set
Set the
the adaptor
adaptor to
to the
the slave
slave role.
role.
L5
L6 115200 bps
230.4 Kbps
R?
R? Inquire
Inquire the
the current
current role
role of
of the
the adaptor.
adaptor.
L6
L7 230.4
460.8 Kbps
Z
Z This command is
This command is used
used to
to restore
restore the
the default
default settings
settings and
and originate
originate aa warm
warm start.
start.
L7
L? 460.8
InquireKbps
the current baud rate.
L? Inquire the current baud rate. Z0
Z0 Restore
Restore the
the default
default settings
settings (e.g.
(e.g. 19200
19200 bps).
bps).

-- 77 -- - 8-
- 8-

Você também pode gostar