Permalink
Fetching contributors…
Cannot retrieve contributors at this time
198 lines (132 sloc) 6.47 KB
layout lang ref read_time share author_profile permalink sidebar
archive
en
bt-210
true
true
false
/docs/en/parts/communication/bt-210/
title nav
BT-210
bt-210

Introduction

BT-210

BT-210 uses Bluetooth communication to allow the modules to interact via serial communication (UART). The compatible products are shown below:
(Please refer to the compatible part for instructions on how to connect the device.)

  • BT-210
    • CM-100A, CM-530 : Wireless control, Wireless download
    • CM-510, CM-700, CM-900 : Wireless control (Firmware update required)

{% capture bt-210_warning_01 %} Caution Following products are not compatible with BT-210.

  • Remote Controller : RC-100, RC-100A
  • Controller : CM-100, CM-5, CM-2+ {% endcapture %}
{{ bt-210_warning_01 | markdownify }}

Example

  • Able to control the OLLO Bug using Bluetooth communication.
    • Connect BT-210 onto the OLLO Bug controller (CM-100A)
    • Able to wirelessly control the OLLO with the Android smart phone by connecting the BT-210 onto the OLLO.
  • Using the PC to control the controller via Bluetooth communication.
    • Connect BT-210 onto the CM-900 and connect onto the Bluebooth port.
    • Able to mount the BT-201 onto the Bioloid Premium kit’s controller (CM-530)

CAUTION : Please be sure to connect the device while the controller is turned off. Damage may occur if the device is connected while the power is turned on. {: .notice--warning}

Specifications

Item Description
Weight 4.51g
Size 18mm X 30mm X 9.1mm
Bluetooth Bluetooth Specification 2.1 Support
Effective Communication Distance 10M
Frequency 2.4 GHz ISM Band
Bandwidth MAX 250kbps
Default Baud rate 57600bps
Sensitivity -81dBm (Typical)
Transmit Power 4dBm(Typical)
Bluetooth Profile Supported SPP (Serial Port Profile)
Operational Voltage 3.3V
Consumed Current 48mA (Max)
Operating Temperature -40°C ~ 85°C
Baud rate Range 1,200bps ~ 4,000,000bps(F/W v13 or above)
Antenna Chip Antenna
Interface UART (3.3V Level)
Conducted Net Power -6~4dBm(Class 2)

Available Baudrate

{% include en/parts/communication/bt_baudrate.md %}

Communication Mode

Utilizes a pairing mechanism that allows reliable 1:1 communication.

1:1 Communication

  • When using two BT-210s, it is possible to set one as the “Master” and the other as the “Slave” use the device to communicate with each other. Also, It is possible to use the BT-210 with a smart phone—with the Bluetooth capability—by setting BT-210 to “Slave mode” and pairing the two devices to each other.
  • When the power is initially supplied to the BT-210, the blue LED blinks. Once the pairing is successful the blinking stops and the blue LED light is maintained.

BT-210 Setting

Setup

  1. Download sketch example for the OpenCM-9.04("f_SerialUSB_Serial2_Converter")

    When using OpenCM IDE

    img

    When using Arduino IDE

  2. Connect the BT-210 to the OpenCM9.04, then run Tera Term

  3. Once connection is complete baud rate can be any.

  4. Go to Setup->Terminal and check local echo

  5. Enter ! in terminal and if OK is returned, BT-210 is in Command Mode. Enter AT and if OK is returned, now BT-210 is ready for the setting.

  6. Once setup is completed, reconnect the BT-210 with the controller. The picture shows BT-210 is set as a Master.

AT Commands

The following are AT terminal commands for the BT-210

  1. System reset
    Enter ATZ press the Enter key and the BT-210 resets.if settings have changed the mode will change upon reset.

  2. Mode change

    • Use this command to switch between master and slave modes for the BT-210.
      • AT+BTROLE=M -> Master mode
      • AT+BTROLE=S -> Slave mode
    • Afterwards enter ATZ to reset.

    MASTER Mode

    SLAVE Mode

  3. Peripheral device search
    This is possible only in master mode. Enter AT+BTINQ followed by the Enter key the device class comes as 0x1F00(SPP).

  4. Connecting devices (pairing)
    Once devices have been found they can be connected via its 12-digit hex MAC address. for example a device with MAC address of abc2-ff-123458 enter ATDabc2ff123458 (ignore the – sign). When asked for pin code enter 0000.

  5. Change pin code

  • AT+BTKEY=digit Pin Code

  • To change pin code follow the procedure below.

    • then enter AT+BTKEY (ignore the = sign)

  1. Output current device class
    Output of SPP (serial port profile) 0x1f00

  2. Change Bluetooth device name
    AT+BTNAME = for name change

  3. Device Under Test (DUT) mode
    Under this mode the device is a “test” device and not suited for applications.

    Enter AT+BTDUT then ATZ (make sure is in slave mode)
    To get out of DUT mode enter AT+BTDUT one more time then ATZ

  4. Change Baudrate
    AT+BTUART,baudrate,parity_bit,stop_bit
    Example AT+BTUART,57600,n,1

<iframe width="560" height="315" src="https://www.youtube.com/embed/dN7oqAOQzhw" frameborder="0" allowfullscreen></iframe>

Pinout

Pin No. Name Description I/O
1 RXD Receive Data(Data In) INPUT
2 TXD Transmit Data(Data Out) OUTPUT
3 VCC 3.3V DC INPUT
4 GND Ground (0v) -