Acelex Dx-bt12 4.0 Bluetooth Module User Manual

Acelex Dx-bt12 4.0 Bluetooth Module User Manual

ACELEX-logo

ACELEX DX-BT12 4.0 Bluetooth Module

ACELEX-DX-BT12-4-0-Bluetooth-Module-product

Feature

  • Bluetooth protocol: Bluetooth Specification V4.0 BLE, transceivers haven’t byte restrictions
  • Working frequency:2.4GHz ISM band
  • Modulation: GFSK(Gaussian Frequency Shift Keying) Sensitivity:≤-84dBm at 0.1% BER
  • Security features: Authentication and encryption
  • Support service:Central & Peripheral UUID FFE0,FFE1,FFE2 Power consumption:
  • Low-power mode: standby current 1-3mA, Iphone is 3mA, Android is 8mA when transmission.
  • Normal working mode: standby 8mA, transmission 8mA.
  • Power supply:+3.3VDC 50mA
  • Size:22mm x 12mm x 2mm
  • Bluetooth certification:BQB, FCC, ROHS, REACH
  • Transmission distance:10-12m

Physical Feature

Operating Frequency Band2.4GHz ISM band
Bluetooth Specification2.0+BLE4.0
Output Power ClassClass 2
Operating Voltage3.3V
Host InterfaceUART
Dimension22mm (L) x 12 (W) mm x 2mm (H)

Operating Voltage

projectMin.Typ.Max.Unit
IO Supply voltage (VDDIO)1.7 3.6V
Battery Input(BAT_P) (LI_MODE_N = 0)2.73.04.2V
Battery Input(BAT_P) (LI_MODE_N = 1)2 3.6V
Charger supply voltage(VCHG)4.556.5V

Transparent transmission parameters

UART parameter

Baud rate9600~3000000 (Defaults 9600)
Data bit8
Stop bit1
Check Digitnone
Hardware flow controlOptional
the maximum bytes in a single package280 bytes

Data throughput
SPP data throughputACELEX-DX-BT12-4-0-Bluetooth-Module-fig1

BLE data throughput

UART->DX-BT12->IPhone 5UART->DX-BT12->Android
Baud rate3000000Baud rate3000000
Connection interval (ms)18.75Connection interval (ms)18.75
Sending interval(ms)20Sending

time-consuming(ms)

50
Sending interval(ms)continuous

sending

Sending interval(ms)continuous

sending

Throughput

(bytes/sec)

4291Throughput

(bytes/sec)

4274
UART->DX-BT12->IPhone 5UART->DX-BT12->Android
Baud rate3000000Baud rate3000000
Connection interval (ms)18.75Connection interval (ms)18.75
Characteristic writing wayWrite         without

 

Response

Characteristic writing wayWrite  without

 

Response

App data size (bytes)53260Sending file size (bytes)50000
Sending interval(ms)20Sending time-consuming(s)50
Throughput

(bytes/sec)

4635Throughput

(bytes/sec)

1916

For reference only

Application circuitACELEX-DX-BT12-4-0-Bluetooth-Module-fig2

Pin Function

PINIONameTypeDescription
1PGNDGround
2PBAT_PModule power input PIN (2.7V ~ 4.2V), the default is 3.3V. Note: when off

After the Module is powered off, the IO that the

MCU is not connected to must be driven low.

3IREGENModule Power-on test pin, need to pull up to

VBAT (Note: must be pulled high, otherwise the module can not start)

4PVREGOUT_HV3.3V LDO output PIN, the maximum output

current of this power is 300mA

5PVDDIOModule IO port power supply (1.7 ~ 3.6V, the customer can according to the IO voltage

The size of their own configuration within the

scope of the voltage size, the default is 3.3V)

6PVREGOUT_MVInternal 1.8V LDO output pin, the maximum output current of this power supply is 200mA
7IWAKE_UPModule wake-up pin:

1.    When Module enters hibernation, the PIN will detect a rising edge change

Module is awakened and Module enters pairing after waking up (power-on default is high).

2.   When the module is enabled Sniff mode (serial command set), MCU to

Module must pull low when sending data to wake module up and then delay

≥ 2ms and then send data.

8PNCNC
9ONCNC
10OSTATUS_INDBluetooth connection status: High level – fail connect

Low level – connect successfully

11N/ANCNC
12N/ANCNC
13IUART_CTSUART flow control, the flow control function is enabled by default. When the module detects this PIN is high, it indicates that the MCU processes. However, the Module will stop transmitting data to the MCU. The Module will wait for the PIN to be low before restarting the

data transmission.

14ONCNC
15OUART_RTSUART flow control, flow control enabled by default, when the Module data processing comes however,

This IO output to inform the MCU high; low level can receive MCU normally

The data.

16INCNC
17INCNC
18I/OPIO3GPIO
19IRST_NModule reset pin: active low
20IUART_RXModule data transmission port
21OUART_TXModule data transmission port
22I/OPIO4GPIO
23IPOWER_OFFModule shutdown pin, pull-up input

The module shuts down when it detects a low level of 50ms or longer

Power  off  the  module  boot,  only  need  to

WAKE_UP pin low to boot

24IGPIO20GPIO
25ILINK_DROPModule disconnect pin:

The module is disconnected when the module detects a low pulse of more than 50ms while the PIN is connected

The current connection, enter the pairing (this

PIN power-on default is high)

26ONCNC
27ONCNC
28OLED0Bluetooth work indicator (not connected status: uniform slow flashing 800ms-on,

800ms-off; connection status: Always), this pin is

an open drain output.

29PGNDGround
30NCNCNC

Size:ACELEX-DX-BT12-4-0-Bluetooth-Module-fig3

AT Instruction set
Users can communicate via a serial port and a Bluetooth chip. The serial port uses Tx, Rx, two signal lines, baud rate supports 9600, 19200, 38400, 57600, 115200bps. The default baud rate of the serial port is 9600bps. The DX-BT12 dual mode Bluetooth serial module instruction is the Command instruction set. (P.S. if send AT instruction, must use ENTER key or \r\n; 16 hexadecimal regards ODOA as ending. It doesn’t need < > when input commend.
The AT instruction can only take effect in the unconnected state of the module. Once the Bluetooth module is connected to the device, the Bluetooth module enters the data transmission mode.)

Instruction detailed description

(AT Instruction must use a capital letters, return key, and index character as ending:\r\n)

  1. Get the software version number:
    InstructionResponseParameter
    AT+VERSION+VERSION=<Param><Param>:Software version number
  2. Setting / querying SPP 2.0 device name:(Effect after Reboot)
    InstructionResponseParameter
    AT+SPPNAME<Param>OK<Param>:Bluetooth device Default name:“BT12” Max length:18 bytes
    AT+SPPNAME+NAME=<Param>

For example:

  1. Send setting:
  2. Send query:
  3. Setting / querying BLE 4.0 device name
    InstructionResponseParameter
    AT+LENAME<Param>OK<Param>:Bluetooth device Default name:“BT12” Max length:18 bytes
    AT+LENAME+NAME=<Param>
  4. Get SPP 2.0 Bluetooth address:
    InstructionResponseParameter
     

    AT+SPPMAC

    + SPPMAC

    =<Param>

    Param:Bluetoothaddress
  5. Get BLE 4.0 Bluetooth address: 6.Set / query – serial baud rate:
    InstructionResponseParameter
     

    AT+LEMAC

     

    =+LEMAC

    =<Param>

    Param:Bluetoothaddress
  6. Set / query – serial baud rate:
    InstructionResponseParameter
    AT+BAUD<Param>OK<Param>:baud rate(bits/s)
    AT+BAUD +BAUD=<Param>The values (decimal):

    1——1200

       2——2400
    AT+BAUD 3——4800
       4——9600
       5——19200
       6——38400
       7——57600
       8——115200
       Default:4

    For example:Set the serial port baud rate to 38400

    1. Send setting:
    2. Send query:
  7. Reset software
    InstructionResponseParameter
    AT+RESETOKNA
  8. Power off software
    InstructionResponseParameter
    AT+PWROFFOKNA
  9. Set whether to enter the low power consumption (this command can not be saved when no power):
    InstructionResponseParameter
    AT+PWRM<Param>+PWRM=<Param>Param:(0、1)
     OK1-Enter low power consumption 0-work normally

    Defaults: 0

    AT+PWRM+PWRM=<Param>
  10. Query \ set BLE broadcast time:
    InstructionResponseParameter
    AT+ADVI<Param>+ADVI=<Param>Param:(ms)
     OKThe unit is 1ms Default: 165ms
    AT+ADVI+ADVI=<Param>
  11. Set GPIO port:
    InstructionResponseParameter
    AT+GPIO<Param>+ GPIO =<Param>Param:(1R1、1R0、2R1、

    2R0、3R1、3R0)

     OKCorresponding IO port: GPIO3: 1R1 high

    1R0 low

    GPIO4: 2R1 high 2R0 low

    GPIO20: 3R1 high

    3R0 low

    AT+GPIO+GPIO=<Param>

For example:(Set GPIO4 output port as high level)

  1. Send command:

AT+GPIO2R1\r\n Return:OK\r\n ——SGPIO4 output is high——Settingsuccessfully

Documents / Resouces

Download manual
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.


Related Manuals