This is an old revision of the document!


Bluetooth Installation

The TCB can communicate wirelessly with your computer if you attach a Bluetooth device to the Serial 1 port. All operations you can do through the USB port, you can also do over Bluetooth - updating settings, viewing debug messages, flashing new firmware, even radio setup. Remember to set Dipswitch #5 to the Off position, this tells the TCB to communicate over the Serial 1 port instead of the USB port.

Required Items

You will need two items:

Presently the Adafruit Bluefruit EZ-Link adapter is the only one fully supported by the TCB. Other types of Bluetooth serial adapters may function partially, or they may not work at all.

The Bluefruit EZ-Link comes without any headers. You will need to solder a 6-pin Dupont pigtail to it so it can plug into the TCB's SER.1 connector (Serial Port 1). The pin order on the Bluefruit and the TCB will match exactly, just be sure not to reverse the Bluefruit when you plug it in!

Bluefruit EZ-Link

Bluefruit EZ-Link

Bluefruit attached to TCB

Bluefruit EZ-Link connected to the TCB SER.1 connector

2. Bluetooth Module

If your computer or tablet doesn't already have Bluetooth capability built-in, you will need a Bluetooth v2.1 or later module. We recommend this Bluetooth 4.0 USB Module, also from Adafruit.

You don't need to download any Bluetooth drivers, the correct ones will already be included with your operating system.

Bluetooth module

Bluetooth module for computer USB port

Set the Alternate COM Dipswitch on the TCB

Dipswitch #5 Setting for Serial 1 Dipswitch #5 on the TCB is used to determine which serial port the TCB will communicate to the computer with. If Dipswitch #5 is On, the TCB will communicate via the USB port. If it is Off the TCB will communicate over the Serial 1 port. The Bluetooth adapter will be plugged into the Serial 1 connector, so in this case we want to make sure Dipswitch #5 is in the Off position.

Pairing

Now apply power to the TCB and visit this tutorial for pairing the Bluefruit to your computer:
Adafruit Bluefruit EZ-Link Pairing Tutorial

Pairing only needs to be done once. Make a special note of the quirk which that tutorial describes: Windows will assign two different COM ports to your Bluefruit, but only one of them will work for communication. Both ports will appear in the OP Config program, so follow the instructions to determine which port to use and remember it.

That's It

Once your Bluefruit EZ-Link is paired to the Bluetooth module on your computer, and once you know the COM Port that Windows assigned to it, you can communicate with the TCB through OP Config exactly as you would with a cable.

wiki/tcb/tcbinstall/bluetooth.1460606281.txt.gz ยท Last modified: 2016/04/14 03:58 by opadmin