Rainbow Electronics BTD-434 User Manual

Bluetooth Serial Adaptor
TABLE OF CONTENTS
User’s Manual
1. INTRODUCTION…………………………………………………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
Wireless Solutions in Your Hand
4.2 Configuration…………….……………………………………..5
4.2.1. Configuration Start-up…………………………………..6
4.2.2. Master Role Configuration………………………………6
4.3 AT Command Set………………………………………………6
1. Introduction
Thank you for purchasing our Bluetooth serial adaptor. The adaptor eliminates 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.
1.1. Features
z Supports Bluetooth Serial Port Profile and Generic Access Profile z No need of external host and software z Easy of installation and use z Supports configuration of the local device z Easy of maintenance z Supports up to 100 meters (line of sight)
1.2. Package
z Bluetooth serial adaptor: 2 ea z Antenna: 2 ea z DB9 male to female converter: 2 ea z USB cable for power supply: 2 ea z DC adaptor: 2 ea z User’s manual: 1
2. Specifications
2.1. General
Specification Description
Baud Rate Supports 4.8/9.6/19.2/38.4/57.6/115.2/230.4/460.8 Kbps Coverage Up to 100 m Connection Point-to-point (pico net) Signal TxD, RxD, GND, CTS, and RTS RS-232 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 Current Consumption Operation Temperature Dimensions 35 mm (W) x 65 mm (D) x 16 mm (H)
D_SUB 9-pin female
Max. 90 mA
-20°C to +75°C
-3 -
-
2-
2.2. RS232 Interface
2.2.1. Pin-out
2.2.2. Signals Pin Signal Direction Description
2 TxD Output Transmitted data 3 RxD Input Received data 5 GND N/A Signal ground 7 CTS Input Clear to send (Remarks) 8 RTS Output Request to send (Remarks) 9 Vcc Input Power supply
Remarks: The default hardware configuration is for using CTS/RTS. If you want to use DSR/DTR, please contact us.
2.3. Factory Settings
The factory settings of COM port are as follows:
z Baud rate: 19200 bps z Data bit: 8 z Parity: none z Stop bit: 1 z Flow control: H/W or none z Others: Please refer to section 4.3 AT Command Set.
3. Installation
3.1. Hardware Structure
The figure below is an outline of the adaptor.
1 Power LED 2 Data LED 3 Link LED 4 RS232 connector 5 Slide switch 6 Mini USB connector 7 Reset button 8 Antenna connector
3.1.1. Reset Button
By pressing the Reset button, you can:
z Disconnect and reconnect a wireless connection (after a short press).
z Restore the factory settings (after over three seconds' press).
- 4 -
3.1.2. Slide Switch
3.1.2. Slide Switch
3.1.2. Slide Switch
3.1.2. Slide Switch
The slide switch is used to set the adaptor as a DTE (to the side of antenna
The slide switch is used to set the adaptor as a DTE (to the side of antenna
The slide switch is used to set the adaptor as a DTE (to the side of antenna
The slide switch is used to set the adaptor as a DTE (to the side of antenna connector) or a DCE (to the side of RS232 connector).
connector) or a DCE (to the side of RS232 connector).
connector) or a DCE (to the side of RS232 connector).
connector) or a DCE (to the side of RS232 connector).
3.1.3. Power Supply
3.1.3. Power Supply
3.1.3. Power Supply
3.1.3. Power Supply
The adaptor can be powered via:
The adaptor can be powered via:
The adaptor can be powered via:
The adaptor can be powered via:
z An AC/DC converter (output power: +5 to +9 V DC/300 mA)
z An AC/DC converter (output power: +5 to +9 V DC/300 mA)
z An AC/DC converter (output power: +5 to +9 V DC/300 mA)
z An AC/DC converter (output power: +5 to +9 V DC/300 mA)
z A USB cable
z A USB cable
z A USB cable
z A USB cable
z Pin 9 of the D SUB 9-pin connector
z Pin 9 of the D SUB 9-pin connector
z Pin 9 of the D SUB 9-pin connector
z Pin 9 of the D SUB 9-pin connector
3.1.4. LED Status
3.1.4. LED Status
3.1.4. LED Status
3.1.4. LED Status
The following is LED status information.
The following is LED status information.
The following is LED status information.
The following is LED status information.
Status Description
Status Description
Status Description
Power LED off No power supply.
Power LED off No power supply.
Power LED off No power supply.
Power LED off No power supply. Power LED on Firmware is running OK.
Power LED on Firmware is running OK.
Power LED on Firmware is running OK.
Power LED on Firmware is running OK. Link LED off No pairing established.
Link LED off No pairing established.
Link LED off No pairing established.
Link LED off No pairing established. Link LED fast (0.1 sec) blinking Pairing (slave or master mode).
Link LED fast (0.1 sec) blinking Pairing (slave or master mode).
Link LED fast (0.1 sec) blinking Pairing (slave or master mode).
Link LED fast (0.1 sec) blinking Pairing (slave or master mode). Link LED fast (0.3 sec) blinking
Link LED fast (0.3 sec) blinking
Link LED fast (0.3 sec) blinking
Link LED fast (0.3 sec) blinking Link LED slow (0.9 sec) blinking Inquiring (master mode).
Link LED slow (0.9 sec) blinking Inquiring (master mode).
Link LED slow (0.9 sec) blinking Inquiring (master mode).
Link LED slow (0.9 sec) blinking Inquiring (master mode). Link LED very slow (1.2 sec) blinking Connecting (master mode).
Link LED very slow (1.2 sec) blinking Connecting (master mode).
Link LED very slow (1.2 sec) blinking Connecting (master mode).
Link LED very slow (1.2 sec) blinking Connecting (master mode). Link LED steadily on Connection established.
Link LED steadily on Connection established.
Link LED steadily on Connection established.
Link LED steadily on Connection established.
3.2. Installation Procedure
3.2. Installation Procedure
3.2. Installation Procedure
3.2. Installation Procedure
Step 1: If provided with an external antenna, assemble it to the adaptor body.
Step 1: If provided with an external antenna, assemble it to the adaptor body.
Step 1: If provided with an external antenna, assemble it to the adaptor body.
Step 1: If provided with an external antenna, assemble it to the adaptor body. Step 2: Plug the adaptor into the COM port of device.
Step 2: Plug the adaptor into the COM port of device.
Step 2: Plug the adaptor into the COM port of device.
Step 2: Plug the adaptor into the COM port of device. Step 3: Adjust the slide switch, depending on whether the device is a DTE or DCE.
Step 3: Adjust the slide switch, depending on whether the device is a DTE or DCE.
Step 3: Adjust the slide switch, depending on whether the device is a DTE or DCE.
Step 3: Adjust the slide switch, depending on whether the device is a DTE or DCE. Step 4: Power the adaptor on.
Step 4: Power the adaptor on.
Step 4: Power the adaptor on.
Step 4: Power the adaptor on. Step 5: Configure the adaptor if necessary.
Step 5: Configure the adaptor if necessary.
Step 5: Configure the adaptor if necessary.
Step 5: Configure the adaptor if necessary.
4. Usage
4. Usage
4. Usage
4. Usage
You can reprogram the default settings on the adaptor using HyperTerminal.
You can reprogram the default settings on the adaptor using HyperTerminal.
You can reprogram the default settings on the adaptor using HyperTerminal.
You can reprogram the default settings on the adaptor using HyperTerminal.
4.1 HyperTerminal Settings
4.1 HyperTerminal Settings
4.1 HyperTerminal Settings
4.1 HyperTerminal Settings
z Bits per second: 19200 bps (baud rate)
z Bits per second: 19200 bps (baud rate)
z Bits per second: 19200 bps (baud rate)
z Bits per second: 19200 bps (baud rate)
z Data bit: 8
z Data bit: 8
z Data bit: 8
z Data bit: 8
z Parity: None
z Parity: None
z Parity: None
z Parity: None
z Stop bit: 1
z Stop bit: 1
z Stop bit: 1
z Stop bit: 1
z Flow control: H/W
z Flow control: H/W
z Flow control: H/W
z Flow control: H/W
4.2 Configuration
4.2 Configuration
4.2 Configuration
4.2 Configuration
4.2.1 Configuration Start-up
4.2.1 Configuration Start-up
4.2.1 Configuration Start-up
4.2.1 Configuration Start-up
Step 1: Plug the adaptor into a COM port of PC.
Step 1: Plug the adaptor into a COM port of PC.
Step 1: Plug the adaptor into a COM port of PC.
Step 1: Plug the adaptor into a COM port of PC. Step 2: Power the adaptor on.
Step 2: Power the adaptor on.
Step 2: Power the adaptor on.
Step 2: Power the adaptor on. Step 3: Create a HyperTerminal file.
Step 3: Create a HyperTerminal file.
Step 3: Create a HyperTerminal file.
Step 3: Create a HyperTerminal file.
Status Description
Discoverable and waiting for a
Discoverable and waiting for a
Discoverable and waiting for a
Discoverable and waiting for a connection (slave mode).
connection (slave mode).
connection (slave mode).
connection (slave mode).
-5 -
-5 -
-5 -
-5 -
Step 4: On the interface of the new HyperTerminal file, click Properties button. Step 4: On the interface of the new HyperTerminal file, click Properties button.
Step 4: On the interface of the new HyperTerminal file, click Properties button.
Step 5: Select the COM port where the adaptor is attached to your PC and set the port Step 5: Select the COM port where the adaptor is attached to your PC and set the port
Step 5: Select the COM port where the adaptor is attached to your PC and set the port
properties as described in section 4.1 HyperTerminal Settings. properties as described in section 4.1 HyperTerminal Settings.
properties as described in section 4.1 HyperTerminal Settings.
Step 6: Input "A" in the file and then press <Enter>. Step 6: Input "A" in the file and then press <Enter>.
Step 6: Input "A" in the file and then press <Enter>.
If no echo, that is, nothing is displayed when you input "A", it indicates that the
If no echo, that is, nothing is displayed when you input "A", it indicates that the
If no echo, that is, nothing is displayed when you input "A", it indicates that the
baud rate is incorrect. Ensure that the baud rate is 19200 bps.
baud rate is incorrect. Ensure that the baud rate is 19200 bps.
baud rate is incorrect. Ensure that the baud rate is 19200 bps.
Step 7: Input "AT", and then press <Enter>. Step 7: Input "AT", and then press <Enter>.
Step 7: Input "AT", and then press <Enter>.
"OK" is displayed.
"OK" is displayed.
"OK" is displayed.
If necessary, reprogram the configuration of adaptor using AT commands. For related If necessary, reprogram the configuration of adaptor using AT commands. For related
If necessary, reprogram the configuration of adaptor using AT commands. For related
commands, please refer to section 4.3 AT Command Set. commands, please refer to section 4.3 AT Command Set.
commands, please refer to section 4.3 AT Command Set.
4.2.1 Master Role Configuration
4.2.1 Master Role Configuration
4.2.1 Master Role Configuration
You can use "ATR0" to change the adaptor to the master role. When the adaptor is in You can use "ATR0" to change the adaptor to the master role. When the adaptor is in
You can use "ATR0" to change the adaptor to the master role. When the adaptor is in
the master role, you can use "ATO1" to manually set up a connection and "ATF?" to the master role, you can use "ATO1" to manually set up a connection and "ATF?" to
the master role, you can use "ATO1" to manually set up a connection and "ATF?" to
find the device you want to connect. find the device you want to connect.
find the device you want to connect.
4.4. A T Command Set
4.5. A T Command Set
4.3. A T Command Set
The following is the AT command set for the local adaptor in the command mode The following is the AT command set for the local adaptor in the command mode
The following is the AT command set for the local adaptor in the command 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
(that is, the local adaptor is in the disconnection state). All the commands and
parameters are case insensitive. parameters are case insensitive.
parameters are case insensitive.
Command Description Command Description
Command Description
A A
A
A A
A A1-A8
A1-A8
A1-A8
B B
B
B? Inquire the Bluetooth address of the local adaptor. B? Inquire the Bluetooth address of the local adaptor.
B? Inquire the Bluetooth address of the local adaptor.
D D
D
D=xxxxxxxxxxxx "xxxx-xx-xxxxxx" is a string of 12 hexadecimal digits. D=xxxxxxxxxxxx "xxxx-xx-xxxxxx" is a string of 12 hexadecimal digits.
D=xxxxxxxxxxxx "xxxx-xx-xxxxxx" is a string of 12 hexadecimal digits. D0
D0
D0 D? Inquiry the designated address that can be paired and connected.
D? Inquiry the designated address that can be paired and connected.
D? Inquiry the designated address that can be paired and connected.
This command is used to establish a connection. This command is used to establish a connection.
This command is used to establish a connection.
It is available only when the adaptor is in the master role. It is available only when the adaptor is in the master role.
It is available only when the adaptor is in the master role. Connect the adaptor to a specified Bluetooth device.
Connect the adaptor to a specified Bluetooth device.
Connect the adaptor to a specified Bluetooth device.
It is available only when "ATD=xxxxxxxxxxxx" is executed. It is available only when "ATD=xxxxxxxxxxxx" is executed.
It is available only when "ATD=xxxxxxxxxxxx" is executed. Connect the adaptor to a Bluetooth device in the neighborhood found
Connect the adaptor to a Bluetooth device in the neighborhood found
Connect the adaptor to a Bluetooth device in the neighborhood found
through "ATF?". through "ATF?".
through "ATF?". This command is used to display the Bluetooth address of the local
This command is used to display the Bluetooth address of the local
This command is used to display the Bluetooth address of the local
adaptor. adaptor.
adaptor.
For security purpose, this command is used to specify a unique remote For security purpose, this command is used to specify a unique remote
For security purpose, this command is used to specify a unique remote
Bluetooth serial adaptor to be connected. Bluetooth serial adaptor to be connected.
Bluetooth serial adaptor to be connected.
In the master role, the adaptor pairs and connects with the designated In the master role, the adaptor pairs and connects with the designated
In the master role, the adaptor pairs and connects with the designated
remote slave address. remote slave address.
remote slave address.
If the adaptor is in the slave mode, this command is a filter condition to If the adaptor is in the slave mode, this command is a filter condition to
If the adaptor is in the slave mode, this command is a filter condition to
accept the inquiry of the master device. accept the inquiry of the master device.
accept the inquiry of the master device.
Restore the status in which the adaptor can connect with any remote Restore the status in which the adaptor can connect with any remote
Restore the status in which the adaptor can connect with any remote
address. address.
address.
-6 -
-6 -
-6 -
Command Description Command Description
E
E
E0
E0
E1 (default)
E1 (default)
E? E?
F F
F? F?
H H
H0 H0
H1 (default) H1 (default)
H? H?
I
I?
I
I?
L L
L0 L0
L1 L1
L2 (default) L2 (default)
L3 L3
L4 L4
L5 L5
L6 L6
L7 L7
L? L?
This command is used to specify whether the adaptor echoes characters This command is used to specify whether the adaptor echoes characters received from the UART back to the DTE/DCE.
received from the UART back to the DTE/DCE.
Command characters received from the UART are not echoed back to the
Command characters received from the UART are not echoed back to the
DTE/DCE.
DTE/DCE.
Command characters received from the UART are echoed back to the
Command characters received from the UART are echoed back to the
DTE/DCE.
DTE/DCE.
Inquire the current setting.
Inquire the current setting.
This command is used to search for any Bluetooth device in the
This command is used to search for any Bluetooth device in the
neighborhood within one minute. When one minute is up, the names and
neighborhood within one minute. If any device is found, its name and
addresses of devices if found will be listed with an ending message.
address will be listed. The search ends with a message "Inquiry ends. xx
This command is available only when the adaptor is in the master role.
device(s) found." This command is available only when the adaptor is in the master role.
Inquire Bluetooth devices in the neighborhood.
Inquire Bluetooth devices in the neighborhood.
This command is used to specify whether the adaptor can be discovered or connected by remote devices.
This command is used to specify whether the adaptor can be discovered
The adaptor enters the undiscoverable mode. If a pair has been made,
or connected by remote devices.
the original connection can be resumed. But other remote master device
The adaptor enters the undiscoverable mode. If a pair has been made,
cannot discover this adaptor.
the original connection can be resumed. But other remote master device
The adaptor enters the discoverable mode.
cannot discover this adaptor. The adaptor enters the discoverable mode.
Inquire the current setting.
Inquire the current setting.
This command is used to inquiry the firmware version.
This command is used to inquiry the firmware version.
Inquire the version codes.
Inquire the version codes.
This command is used to specify the baud rate of COM port.
This command is used to specify the baud rate of COM port.
4800 bps
4800 bps
9600 bps
9600 bps
19200 bps
19200 bps
38400 bps
38400 bps
57600 bps
57600 bps
115200 bps
115200 bps
230.4 Kbps
230.4 Kbps
460.8 Kbps
460.8 Kbps
Inquire the current baud rate.
Inquire the current baud rate.
Command Description
Command Description
N
N
N=xxxxxx "xxxxxx" is a character string with a maximal length of 16.
N=xxxxxx "xxxxxx" is a character string with a maximal length of 16. N? Inquire the name of t he local adaptor.
N? Inquire the name of t he local adaptor.
O
O
O0 (Default)
O0 (Default)
O1
O1 O? Inquire the current setting.
O? Inquire the current setting.
P
P
P=xxxx "xxxx" is a 4-digit string.
P=xxxx "xxxx" is a 4-digit string. P0 Cancel authentication by PIN.
P0 Cancel authentication by PIN. P? Inquire the current PIN.
P? Inquire the current PIN.
Q
Q
Q0 (default) Result messages are back to the DTE/DCE.
Q0 (default) Result messages are back to the DTE/DCE.
Q1 Result messages are not back to the DTE/DCE.
Q1 Result messages are not back to the DTE/DCE. Q? Inquire the current setting.
Q? Inquire the current setting.
R
R
R0 Set the adaptor to the master role.
R0 Set the adaptor to the master role.
R1 (default) Set the adaptor to the slave role.
R1 (default) Set the adaptor to the slave role.
R? Inquire the current role of the adaptor.
R? Inquire the current role of the adaptor.
Z This command is used to restore the default settings and originate a warm start.
Z This command is used to restore the default settings and originate a warm start.
Z0 Restore the default settings (e.g. 19200 bps).
Z0 Restore the default settings (e.g. 19200 bps).
This command is used to specify a name for the adaptor.
This command is used to specify a name for the adaptor.
You can specify a friendly name using 0 to 9, A to Z, a to z, space and –, which are
You can specify a friendly name using 0 to 9, A to Z, a to z, space and –, which are
all valid characters. Note that "first space or -, last space or – isn’t permitted". The
all valid characters. Note that "first space or -, last space or – isn’t permitted". The
default name is “Serial Adaptor”.
default name is “Serial Adaptor”.
This command is used to enable/disable auto-connection feature.
This command is used to enable/disable auto-connection feature.
It is available only when the adaptor is in the master role.
It is available only when the adaptor is in the master role. Automatically connect the adaptor to a device specified by "ATD" or any available
Automatically connect the adaptor to a device specified by "ATD" or any available
device if "ATD=xxxxxxxxxxxx" is not executed.
device if "ATD=xxxxxxxxxxxx" is not executed. Disable auto-connection feature. After it is executed, you need to execute "ATA" to
Disable auto-connection feature. After it is executed, you need to execute "ATA" to
manually connect a remote device.
manually connect a remote device.
This command is used to specify a PIN. The default PIN is "1234". Paired adaptors
This command is used to specify a PIN. The default PIN is "1234". Paired adaptors
should have a same PIN.
should have a same PIN.
The command is used to decide whether result messages are sent back to the
The command is used to decide whether result messages are sent back to the
DTE/DCE when AT commands are executed.
DTE/DCE when AT commands are executed.
The result messages are: OK/ERROR for command execution, or
The result messages are: OK/ERROR for command execution, or
CONNECT/DISCONNECT for connection status.
CONNECT/DISCONNECT for connection status.
This command is used to specify whether the adaptor is in the master or slave role.
This command is used to specify whether the adaptor is in the master or slave role.
If the device role is changed, the adaptor will reboot and all paired addresses will be
If the device role is changed, the adaptor will reboot and all paired addresses will be
cleared.
cleared.
- 7 -
- 7 -
- 8-
- 8-
Loading...