FlexSEA Wiki

A WEARABLE ROBOTICS TOOLKIT

User Tools

Site Tools


bluetoothconfignew

Configure a new Bluetooth module

The first question is: is my module configured or not? If you obtained it from Dephy, as part of an Actuator Package or another pre-tested setup, it likely is. If you assembled a test adapter yourself, it is guaranteed to not be configured. If you start the setup procedure listed in Using Bluetooth and your PC shows a peripheral named RBNT-xxxx it indicates that your module has not been configured yet. Keep going through the steps of Connecting a module to your computer for the first time, then jump to the next section of this page.

Bluetooth LEDs:

Each RN-42 Bluetooth module has two LEDs (one green, one red). The list below covers the typical patterns seen on our products. Please refer to the module's documentation for all the details.

Green LED Blink Rate Mode
No LED No Power, or held in reset by a microcontroller
Once per second Waiting for port opening (can't be switch in CMD mode)
2 times per second Startup/Configuration Timer (default 60s, can be switch in CMD mode)
10 times per second Module is in Configuring mode (CMD mode)
Solid On Serial Port Connected
Red LED Blink Rate
Blink in Bursts (In CMD mode) When a command is sent
Blink in Bursts (In Data mode) When new data is received and the module hasn't been configured yet

Plan 3.0

Using the Plan GUI to configure a Bluetooth module

  1. Make sure that your module is powered and detected by your computer
  2. Use the latest Plan 3.0 to do this, some versions of Plan 3.0 have a known bug in the config code.
  3. Using the “Bluetooth Config” window, connect to the BT COM port of the device.
  4. Click on “Set mode: Cmd”.
    1. The Green LED will start blinking quickly. If it doesn't, do not continue with the following steps. Power cycle and start over. You only have a short period of time to enter “set mode: Cmd” from the power-up. Typically around 15s.
  5. Click on “GUI”. You'll see quick Orange flashes every 500ms. Wait for the progress bar to be complete.
  6. Click on “Reboot”

At this point, you can re-open the COM port and start using the GUI. Power cycling is not typically needed. Windows might keep listing your module as an RBNT-xxxx for a little while, but it will eventually refresh it to be FlexSEA-xxxx. All other computers should see it as FlexSEA-xxxx almost immediately.


Legacy: Plan 2.0

Using the Plan GUI to configure a Bluetooth module

  1. Make sure that your module is powered and detected by your computer
  2. Use Plan 2.0 to do this, some versions of Plan 3.0 have a known bug in the config code.
  3. Using the Configuration window, connect to the bluetooth COM port of the device. The BT ID should look like “RPNT-XXXX”
  4. Under Bluetooth, click on Set mode: Cmd.
    1. The Green LED will start blinking quickly. If it doesn't, do not continue with the following steps. Power cycle and start over.
  5. Click on “GUI”. You'll see quick Red flashes every 500ms. Wait for the progress bar to be complete.
  6. Click on “Reboot”

At this point you can re-open the COM port and start using the GUI. Power cycling is not typically needed. Windows might keep listing your module as an RBNT-xxxx for a little while, but it will eventually refresh it to be FlexSEA-xxxx. All other computers should see it as FlexSEA-xxxx almost immediately.

bluetoothconfignew.txt · Last modified: 2020/09/21 18:58 by nbenz