User Manual V0.1 Bluetooth RS-232 Adapter User manual for Bluetronium models Date: 2015.11.23 1. Component Explanation 1.1 Front: Setting the Parameter by Toggle Switch. LED Display:
Power/Batt: Power Source Status: Bluetooth work TX: Data Efferent RX: Data Receive Charging Button Switch: (Paperclip) Reset: return the original set Function Set by Toggle Switch Transfer Mode Bluetooth Auxiliary Connection by Automatic Close the flow control Four-stage switch settings Baud Rate Setting Location Location Function DIP Run Slave Auto Flow off S/W Config Master Manual Flow On Open the flow control Software Setting Setting Mode Bluetooth Main Connection by Manually Four-stage switch settings 1 User Manual V0.1 1.2 Sid:
Date: 2015.11.23 2. Power Supplying (use one of them), Input 5Vdc Maximum 2.1 Mini USB 2.2 DB9 Pin9 2.3 Battery 3. The Original Set l Baud rate: 9600 bps l Data bit: 8 l Parity: none l Stop bit: 1 l Flow control: none Remark: Any setting can return the original set when pressing the "Reset" button continue 3 seconds. 4. LED Status:
Status Power LED off Power LED on Description No power supply. The power input is equal or larger than 3.5 Volt
(Please check the command DETECT) The power input is lower than 3.5 Volt
(Please check the command DETECT) No pairing established. Pairing (slave or master mode). Discoverable and waiting for a connection
(Slave mode). Inquiring (master mode). Power LED (0.5 sec) blinking Status LED off Status LED fast (0.1 sec) blinking Status LED fast (0.3 sec) blinking Status LED slow (0.9 sec) blinking Status LED very slow (1.2 sec) blinking Connecting (master mode). Status LED steadily on TX LED Flash RX LED Flash Charging Connection established. Data transmitted Data received The power/Batt lights, and the light off when finished 2 User Manual V0.1 Date: 2015.11.23
?
Y N
?
Y N Value 5. Setup Command set (Please type in all capital letter or all lowercase letter) via RS-
232 interface Command
<<<
<<<
<<<=
(Default)
>>>
>>>
>>>=
(Default) Description Set the local adapter change the data mode into command mode. The command will be unavailable if the data pass through within 1 second when after set the command. Switch the data mode to the command. The time interval between each character will be more than the time:
[500ms] < [500ms] < [500ms] < [1500ms]
Inquire the current setting. Turn on the <<< command Turn off the <<< command Set the remote adapter change the data mode into command mode from the local adapter in connecting status. The command is available after 500 ms when data transferring finished. Switch the remote adapter from the data mode to the command. The time interval between each character will be more than the time:
[1 sec] < [1 sec] < [1 sec] < [2 sec]
Inquire the setting status of the >>> command. Turn on the >>> command Turn off the >>> command This command is used to display the Bluetooth address of the local Adapter. Inquire the Bluetooth address of the local Adapter. Check the connection status between control terminal and the RS-232 adapter. Response: OK when the connection is ok. Response: ERROR when the connection is not ok. Test the RS-232 status when first connect the adapter with the controller. This command is used to enable/disable auto-connection feature. It is available only when the Adapter is in the master role. The command is available when DIP=N. The system will not re-start after change. The Master role adapter will connect the latest paired Bluetooth device automatically. The user will connect the Bluetooth device manually. Inquire the current setting. This command is used to specify the baud rate of COM port. The command will need 200 ms delay. 1200 bps 2400 bps 4800 bps 9600 bps 19200 bps 38400 bps 57600 bps 115200 bps ADDRESS=
AT AT AUTO=
(Default) BAUD=
(Default)
?
Y N
?
1200 2400 4800 9600 19200 38400 57600 115200 3 User Manual V0.1 Date: 2015.11.23 CONNECT=
DEFAULT=
DETECT=
(Default) DEVICE=
DFU=
DIP=
(Default) DISCOVER=
230400 460800 921600 R
?
DEVICE 1~8 xxxxxxxxxxxx
?
Y N P Y N Y R x.x
?
xxxxxxxxxxxx R
?
Y
?
Y N N 230400 bps 460800 bps 921600 bps Restore the default settings. (Baud rate =19200 bps) Inquire the current baud rate. This command is used to establish a connection manually. It is available only when the Adapter is in the master role. Connect the Adapter to a specified Bluetooth device manually. It is available only when DEVICE=xxxxxxxxxxxx is executed. Connect the Adapter to a Bluetooth device in the neighborhood found through SEARCH=?
Connect the remote adapter by type the MAC address directly without searching. Display the MAC address of the latest paired device. Recover the latest connection in the command mode. Disconnect the two adapters in the command mode Connect the previous connected adapter. This command is used to restore the default settings and originate a warm start. Restore the default settings (e.g. 19200 bps). The command will re-start the system for 1 second. The command is used to detect the voltage of the power supply and set the alert value of low power. Disable the voltage detection Enable the voltage detection Restore the default value (3.5 Volt) Setup the range of voltage detection from 3.0 to 3.7 Volt. The x indicate the number. Inquire the setting ststus For security purpose, this command is used to specify a unique remote Bluetooth serial Adapter to be connected. In the master role, the Adapter pairs and connects with the designated remote slave address. If the Adapter is in the slave mode, this command is a filter condition to accept the inquiry of the master device. xxxxxxxxxxxx is a string of 12 hexadecimal digits. Restore the status in which the Adapter can connect with any remote address. Inquiry the designated address that can be paired and connected. Device Firmware Upgrade Set the DIP switch function. Inquire the setting status of the DIP switch function. Turn on the function of the DIP switch. The ROLE and AUTO command are not available to set the Master or Slave. Turn off the function of the DIP switch. The ROLE and AUTO command are available when the DIP=N. This command is used to specify whether the Adapter can be discovered or connected by remote devices. This command is available only when the Adapter is in the slave role. The Adapter enters the undiscoverable mode. If a pair has been made, the original connection can be resumed. But other remote master device 4 User Manual V0.1
(Default) ECHO=
(Default) FLOW=
(Default) NAME=
(Default) PARITY=
(Default) PIN=
(Default) PROMPT=
(Default) Y
?
N Y
?
N Y
?
Serial Adapter xx.xx R
?
N O E
?
1234 xx.xx N R
?
Y N
?
cannot discover this Adapter. Date: 2015.11.23 The Adapter enters the discoverable mode. Inquire the current setting. This command is used to specify whether the Adapter echoes characters received from the UART back to the DTE/DCE. Command characters received from the UART are not echoed back to the DTE/DCE. Command characters received from the UART are echoed back to the DTE/DCE. Inquire the current setting. This command enable or disable flow control signals (CTS/RTS) of the UART port. Note, the setting is not affected by DEFAULT. The command will need 1 second delay. Disable flow control. Enable flow control. Inquire the current setting This command is used to specify a name for the Adapter. 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 isnt permitted. The default name is Serial Adapter. Default device name xx.xx is a character string with the length from 2 to 30. Restore the default settings name=Serial Adapter. Inquire the name of the local Adapter. This command is used to specify parity bit setting of COM port. The command will need 200 ms delay. None parity bit Odd parity Even parity Inquire the current setting. This command is used to specify a PIN. The default PIN is 1234. Paired Adapters should have a same PIN. This command is used to specify a PIN. The default PIN is 1234 and the length is not smaller than 4. Paired Adapters should have a same PIN. The PIN code includes the numeral and English characters. xx.xx is a 4~16 digit string or English character (in capital or lower case) Cancel authentication by PIN. Restore the default settings PIN=1234. Inquire the current PIN. The command is used to decide whether result messages are prompted when Setup commands are executed. The result messages are:
OK/ERROR for command execution, or CONNECT/DISCONNECT/Try Connect Device for connection status. Prompt result messages. Not prompt result messages. Inquire the current setting. 5 User Manual V0.1 Date: 2015.11.23 RECONNECT=
(Default) ROLE=
(Default) RSSI=
SEARCH=
STATUS=
STOP=
(Default) VERSION=
?
Y N M S
?
?
?
T
?
1 2
?
?
The command is used to re-connect the lost link for the Master adapter. Inquire the current setting. Re-connect is Enable Re-connect is disable This command is used to specify whether the Adapter is in the master or slave role. If the device role is changed, the Adapter will reboot and all paired addresses will be cleared. The command is available when the adapter is in DIP=N status. The command will need 1 second delay. Set the Adapter to the master role. Set the Adapter to the slave role. Inquire the current role of the Adapter. Received signal strength indication Display the Received signal strength indication in command mode when connected. 1. Strong: RSSI>-9 2. Medium: -9>RSSI>-20 3. Weak: RSSI<-20 This command is used to search for any Bluetooth device in the neighborhood within one minute. If any device is found, its name and its 12-digit-address will be listed. The search ends with a message Inquiry ends. xx device(s) found. This command is available only when the Adapter is in the master role by manual. Inquire Bluetooth devices in the neighborhood, listing 8 devices the maximum Inquire all the current setting of the adapter. Inquire the inner temperature of the IC in centigrade Display the current setting of the adapter This command is used to specify one or two stop bits of COM port. The command will need 200ms delay. One stop bit. Two stop bits. Inquire the current setting. This command is used to inquiry the firmware version. Inquire the version codes. Remark:
(1) If you need to customize the command, please call.
(2) Command is not available in the status:
No Command 1 ROLE=S Not available command in the conditions SEARCH=?, CONNECT=?, CONNECT=P, CONNECT=xxxxxxxxxxxx, CONNECT=DEVICE SEARCH=?, CONNECT=?, CONNECT=P, CONNECT=xxxxxxxxxxxx, CONNECT=DEVICE ROLE=M, ROLE=S, AUTO=Y, AUTO=N ,DISCOVER=Y,DISCOVER=N SEARCH=?, CONNECT=?, CONNECT=P, CONNECT=xxxxxxxxxxxx, CONNECT=DEVICE, DFU=Y SEARCH=?, CONNECT=?, CONNECT=P, CONNECT=xxxxxxxxxxxx, CONNECT=DEVICE, DFU=Y Not connection RSSI=?, CONNECT=Y, CONNECT=N AUTO=Y DIP=Y
<<<
>>>
2 3 4 5 6 6 User Manual V0.1 Date: 2015.11.23 6. RS232 Interface 6.1 Pin-out:
6.2 Signals:
Pin Signal DTE Direction DCE Direction Description 1 2 3 4 5 6 7 8 9 Input CD TxD Output Input RxD DSR Input GND N/A DTR Output CTS RTS Output Vcc Input Input Remark: DSR/DTR Connection:
Output Input Output Output N/A Input Output Input Input Not connected Transmitted data Received data Contact manufacturer to set this Signal ground Contact manufacturer to set this Clear to send Request to send (Default) Power supply (5VDC, 1.5A Max.) Original Pin 2 Add Pin 2 Original Pin 3 Add Pin 3 Original Pin 7 Add Pin 4 Original Pin 8 Add Pin 6 7 User Manual V0.1 7. Set the Software:
Date: 2015.11.23 8 User Manual V0.1 Date: 2015.11.23 8. Warning Statements:
15.19:
THIS DEVICE COMPLIES WITH PART 15 OF THE FCC RULES. OPERATION IS SUBJECT TO THE FOLLOWING TWO CONDITIONS: (1) THIS DEVICE MAY NOT CAUSE HARMFUL INTERFERENCE, AND (2) THIS DEVICE MUST ACCEPT ANY INTERFERENCE RECEIVED, INCLUDING INTERFERENCE THAT MAY CAUSE UNDESIRED OPERATION. 15.21:
The user manual for an intentional or unintentional radiator shall caution the user that changes or modifications not expressly approved by the party responsible for compliance could void the users authority to operate the equipment. NOTE: THE GRANTEE IS NOT RESPONSIBLE FOR ANY CHANGES OR MODIFICATIONS NOT EXPRESSLY APPROVED BY THE PARTY RESPONSIBLE FOR COMPLIANCE. SUCH MODIFICATIONS COULD VOID THE USERS AUTHORITY TO OPERATE THE EQUIPMENT. 15.105(b):
NOTE: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
- Reorient or relocate the receiving antenna.
- Increase the separation between the equipment and receiver.
-Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
-Consult the dealer or an experienced radio/TV technician for help. RF Exposure:
This equipment complies with the FCC RF radiation exposure limits set forth for an uncontrolled environment. This equipment should be installed and operated with a minimum distance of 20cm between the radiator and any part of human body. 9