IRXON BT580 Serial Bluetooth Adapter User Guides
1. Introduction
Thank you for purchasing the IRXON BT580 Serial Bluetooth adapter! This adapter is typically connected to a serial device via a DB9 serial port and communicates with a mobile phone or PC via Bluetooth Low Energy (BLE). It eliminates the need for conventional RS232 serial cables, providing a wireless serial connection with greater freedom and convenience.
The device facilitates upgrading to wireless serial communication, connecting a serial device to a BLE-enabled mobile phone or tablet, or a desktop/laptop computer.
Diagram Description: The diagram illustrates the upgrade path from a conventional serial connection to a new wireless serial connection. It shows a serial device connected via a conventional RS232 serial cable to a desktop or laptop computer. The new wireless setup shows the serial device connected to the IRXON BT580 Serial Bluetooth Adapter, which then communicates wirelessly via BLE to a mobile phone or tablet, or a desktop/laptop computer.
Adapter Components:
- 1. Serial Data Activity LED (Green)
- 2. Bluetooth Status LED (Blue)
- 3. Power/Charging LED (Red)
- 4. Restore Defaults Button
- 5. DB9 Male/Female Slide Switch
- 6. Serial Port (DB9-Male)
- 7. Internal Battery Power Switch
- 8. External MiniUSB Power Port
Manufacturer: IRXON Electronics Co., Ltd
1.1 Features
- Can function as either a Bluetooth slave or a Bluetooth master.
- Connects to serial devices via DB9 connector (female or male, with converter).
- Configurable via AT commands through Bluetooth link or traditional RS232 connection.
- Green LED indicates TX/RX activity for RS232 serial communication.
- Built-in battery and charging circuit; can also be powered via Pin 9 of the DB9 port.
- Auto sleep function conserves internal battery power for extended use.
- Wakes up automatically upon Bluetooth link or serial port data activity.
- Integrated amplifier provides a typical wireless communication distance of up to 30 meters.
1.2 Package Contents
- BT580 Serial Bluetooth adapter x1
- DB9 male to female converter x1
- AC to USB power adapter x1
- USB to MiniUSB power/charging cable x1
- This User Guides x1
2. Specifications
2.1 Technical Specifications
- Standard: Bluetooth v4.0 Low Energy (BLE)
- Selectable Serial Baud Rate: 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 bps
- Serial Communication BLE Characteristic: 0000fff6-0000-1000-8000-00805f9b34fb
- Typical Bluetooth Coverage: 30 meters (line of sight)
- TX Power: 3dBm
- RX Sensitivity: -90dBm
- Typical Sleep/Full-speed Current: 0.1mA / 10 mA
- Dimensions and Weight: 78x34x16mm, 39g
2.2 RS232 Interface
The RS232 interface uses a DB9 connector. The pinout is as follows:
PIN | DB9-M | DB9-F | NOTE |
---|---|---|---|
2 | RXD | TXD | Receive Data |
3 | TXD | RXD | Transmit Data |
5 | GND | GND | Signal Ground |
9 | VCC | VCC | Power Supply (VCC range: 3V~6V) |
Pins 1, 4, 6, 7, 8 are not connected.
2.3 Factory Settings
The default factory settings for the BT580 are:
- Serial Port Baud Rate: 9600 bps
- Serial Port Parity bit: None
- Serial Port Data bit: 8
- Serial Port Stop bit: 1
- Bluetooth Role: Slave
- Bluetooth Name: BT580
- Bluetooth Pairing Mode: No need Pairing
- Bluetooth Pairing Password: 123456 (if pairing mode requires a password)
Refer to section 5.3 for AT Commands.
3. Hardware Structure
Please refer to the hardware structure figure on the first page for visual reference.
3.1 Restore Default Button
To restore all settings to factory defaults, press and hold the Restore Defaults button, then switch on the adapter. Release the button to start the adapter with default settings.
3.2 Power Supply
- External Power Supply: Slide the internal battery power switch to the "external power supply" icon side. Connect the MiniUSB cable to the adapter and then to a USB power adapter. The red LED will turn on, indicating the adapter is powered by the external source. The internal battery charges when connected to external power.
- Built-in Lithium Battery Power Supply: Do not insert the MiniUSB cable. Slide the internal battery power switch to the "battery" icon side. The adapter will be powered by its internal battery. Sliding the switch to the other side shuts down the adapter.
- Pin 9 of DB9 Connector Power Supply: Connect Pin 9 to a 3V-6V power source and Pin 5 to GND.
3.3 LED Status
- Power/Charging LED (Red): This LED is on when external power is connected. It also indicates charging status; it turns off when the internal battery is fully charged. Charging time from empty to full is approximately 2-3 hours.
- Bluetooth Status LED (Blue):
- Flashes several times after a successful boot.
- When Bluetooth is not connected: flashes slowly (2 seconds interval) for slave mode, and flashes quickly (1 second interval) for master mode.
- When Bluetooth is connected: stays continuously lit for both master and slave modes.
- The LED is off when the adapter enters sleep mode or is shut down.
- Flashes rapidly (0.2 second interval) when the built-in battery voltage is too low.
- Serial Data Activity LED (Green): Flashes whenever a byte is sent or received through the BT580's serial port.
3.4 DB9 Male/Female Slide Switch
The BT580 features a male DB9 serial interface. This allows direct connection to devices with a female DB9 serial port by sliding the switch to the "M" side.
For connecting to devices with a male DB9 serial port, use the provided DB9 male to female converter. In this scenario, slide the switch to the "F" side.
4. Sleep and Wake-up
The BT580 serial Bluetooth adapter operates in two power modes: Sleep mode and Full-Speed mode. Sleep mode consumes approximately 0.1mA, while Full-Speed mode consumes about 10mA.
In Sleep mode, Bluetooth functionality remains active, but serial communication is only available in Full-Speed mode.
- Auto Sleep: After powering on, the adapter operates in Full-Speed mode. If there is no Bluetooth or serial port data activity for over 30 seconds, the adapter automatically enters Sleep mode, and the Blue LED turns off.
- Auto Wake-up: When in Sleep mode, the adapter will immediately switch to Full-Speed mode and reactivate the Blue LED if it detects any Bluetooth or serial port data activity.
- Disable Auto Sleep: The auto sleep function can be disabled by sending the AT command
AT+AUTOSLEEP=0
. The factory default is auto sleep enabled.
Note: The adapter does not support auto sleep and auto wake-up when operating in master role.
5. Configuration
Before connecting the BT580 serial Bluetooth adapter to a serial device, it is often necessary to adjust its default settings, such as the serial port baud rate. The BT580's serial port baud rate must match the serial device's baud rate.
Settings can be inquired or changed using AT commands. There are two methods for sending commands:
- Sending AT commands to the BT580 slave via a Bluetooth connection.
- Sending AT commands to the BT580 slave or master via an RS232 serial connection.
5.1 Remote Bluetooth AT Command Setting
- For Android Mobile Phones: Download and install the "ATBlue" app from http://www.irxon.com/download/ATBlue-EN.rar. Run the app, tap "SCAN" to find nearby BLE devices, then tap "BT580" in the list to establish a Bluetooth link (Blue LED turns steady). You can then communicate with the BT580 and the attached serial device. Test commands by typing "AT+BT" and tapping "SEND". A successful command execution returns "OK".
- For iPhones: Install the "LightBlue" app from the App Store. Send AT commands to the BT580 by writing to its characteristic FFF6 and listening for notifications. Refer to the Android instructions for general usage.
5.2 Local RS232 AT Command Setting
Connect the adapter to a Windows PC's serial port using a DB9 converter, ensuring the DB9 Male/Female switch is set to "F". If your PC lacks a serial port, use a USB-RS232 serial port cable.
Most serial port monitor programs can be used. A recommended program is available at http://www.irxon.com/download/BT578-Tester.rar.
Run the program, select the COM port connected to the adapter, and configure the COM port settings to match the BT580's serial port (default: 9600, N, 8, 1). Ensure the Blue LED is blinking (indicating no Bluetooth connection). Click "Open Com", input "AT" in the data box, and press "SEND". A successful command returns "OK".
5.3 AT Commands
AT commands must use uppercase English letters, with '+', '=', '?' as English symbols. Settings changed via remote AT commands require an AT+RESTART
command for activation, which interrupts the Bluetooth connection. Local AT command settings take effect immediately upon adapter restart.
5.3.1 AT Commands for Both BT580 Master and BT580 Slave
- Inquire/Change Serial Baud Rate:
- Inquire:
AT+BAUDRATE=?
(Returns current baud rate setting) - Change:
AT+BAUDRATE=Code
(Code 0-7 corresponds to baud rates 1200 to 115200 bps)
- Inquire:
- Inquire/Change Serial Parity Bit:
- Inquire:
AT+PARITY=?
(Returns current parity setting) - Change:
AT+PARITY=Code
(Code 0: None, 1: Even, 2: Odd)
- Inquire:
- Inquire/Change Serial Stop Bit:
- Inquire:
AT+STOPBIT=?
(Returns current stop bit setting) - Change:
AT+STOPBIT=Code
(Code 0: 1 stop bit, 1: 2 stop bits)
- Inquire:
- Inquire/Change Bluetooth Name:
- Inquire:
AT+NAME=?
(Returns current Bluetooth name) - Change:
AT+NAME=Name
(Max 8 characters)
- Inquire:
- Inquire/Change Bluetooth Pairing Password:
- Inquire:
AT+WORD=?
(Returns current password) - Change:
AT+WORD=Password
(6 digits, requiresAT+PASS=1
)
- Inquire:
- Inquire Bluetooth Address:
- Command:
AT+ADDR=?
(Returns the adapter's Bluetooth address)
- Command:
- Clear Binding Record:
- Command:
AT+CLEAR
(Removes all saved Bluetooth pairings)
- Command:
- Inquire/Change Bluetooth Role:
- Inquire:
AT+ROLE=?
(Returns current role: 0 for Slave, 1 for Master) - Change:
AT+ROLE=Code
(Code 0: Slave, 1: Master)
Note: When set to Master role, the adapter cannot be found by phones and cannot be configured remotely. It is used for searching and connecting to BT580 slaves.
- Inquire:
- Restart Adapter:
- Command:
AT+RESTART
(Applies settings changed via remote commands)
- Command:
5.3.2 AT Commands for BT580 Slave Only
- Inquire/Change Bluetooth Password Authentication:
- Inquire:
AT+PASS=?
(Returns current password setting: 0 for no pairing, 1 for password needed) - Change:
AT+PASS=Code
(Code 0: No pairing, 1: Password required)
If
AT+PASS=1
is set, the slave will request a password after connection. If incorrect, the connection terminates. - Inquire:
- Inquire/Change Auto Sleep Function:
- Inquire:
AT+AUTOSLEEP=?
(Returns current auto sleep status: 1 for enabled, 0 for disabled) - Change:
AT+AUTOSLEEP=Code
(Code 1: Enable, 0: Disable)
Default is auto sleep enabled (1).
- Inquire:
5.3.3 AT Commands for BT580 Master Only
- Automatic Searching and Connecting Commands: These can be sent locally or remotely. After remote configuration, send
AT+ROLE=1
andAT+RESTART
to enable master mode and automatic connection based onAT+AUTOCONN
settings. - Inquire/Change Searching and Connecting Mode of BT580 Master:
- Inquire:
AT+AUTOCONN=?
(Returns current mode) - Change:
AT+AUTOCONN=Code
(Code 0: Manual, 1: Auto Mode 1 (first found), 2: Auto Mode 2 (last connected), 3: Auto Mode 3 (specified BD address))
Default is Auto Mode 1 (1). Setting to 0 enables manual search/connect.
- Inquire:
- Inquire/Change BT580 Slave BD Address for Auto Mode 3:
- Inquire:
AT+BD=?
(Returns the specified Bluetooth address) - Change:
AT+BD=Address
(12-digit hexadecimal number, e.g., F78EABB95850)
- Inquire:
- Manual Searching and Connecting Commands: Must be sent locally. First, set role to master (
AT+ROLE=1
), then set mode to manual (AT+AUTOCONN=0
).- Manual Searching: Command:
AT+FIND
(Lists nearby BT580 slaves with numbers and addresses) - Manual Connecting: Command:
AT+CONNECT=Number
(Connects to a slave identified by number fromAT+FIND
)
- Manual Searching: Command:
For more information, please visit http://www.irxon.com/english/.