Bluetooth 2.1 Module
The module is a JY-MCU Arduino Bluetooth Wireless Serial Port Module. We are currently shipping units with the Linvor 1.7 firmware. The datasheet/manual is available here
Connect the Module to your Device
To pair, use your Device’s Bluetooth browser to locate the Bluetooth Module. The name should be “Arcbotics” and the default PIN is “0000”. Windows 7 and OSX specific guides are available below:
Much like the modems of yore, the Bluetooth module responds to a limited set of Hayes-like AT commands.
The module enters AT command mode when you power it up and it is not connected/paired to your PC.
The following is a subset of all the available commands. NOTE: Command intervals must be of 1 second and must not be followed with a newline/carriage-return, it is therefore easiest to copy/paste the commands instead of typing manually.
All settings are saved automatically.
- Request: AT
- Response: OK
Changing the Serial Baud Rate
- Request: AT+BAUD1
- Response: OK1200
- AT+BAUD1 Sets Baud rate to 1200
- AT+BAUD2 Sets Baud rate to 2400
- AT+BAUD3 Sets Baud rate to 4800
- AT+BAUD4 Sets Baud rate to 9600 (Default)
- AT+BAUD5 Sets Baud rate to 19200
- AT+BAUD6 Sets Baud rate to 38400
- AT+BAUD7 Sets Baud rate to 57600
- AT+BAUD8 Sets Baud rate to 115200
- AT+BAUD9 Sets Baud rate to 230400
- AT+BAUDA Sets Baud rate to 460800
- AT+BAUDB Sets Baud rate to 921600
- AT+BAUDC Sets Baud rate to 1382400
The red LED on the Bluetooth module does not come on
When Hexy is powered on and only has power supplied through the ‘SERVOS’ power jack the Bluetooth module may not power up properly (i.e. the red LED on the Bluetooth module may stay off and not flash). I found two solutions:
- Unplug the Bluetooth module and plug it back in again. The light will begin to flash.
- In addition to providing power to the ‘SERVOS’ power socket also provide power to the ‘LOGIC ‘ power jack using a separate power supply. If the ‘LOGIC’ jack receives power first the Bluetooth module will start up properly.
comList = list(set(comList))
print "Attempting to connect to Servotor"
for port in comList:
ser = serial.Serial(port, baudrate= BAUD_RATE, timeout=2)
result = ser.readline()
if "SERVOTOR" in result:
print "Connect Successful! Connected on port:",port
self.ser = ser
self.serOpen = True
self.serNum = 1
if self.serOpen == False:
print "Trying Windows Method"
Some Bluetooth modules ships pre-configured for 115200 baud though recent versions of the Servotor firmware are configured for 9600 baud. If you use the Servotor32 2.0 firmware or above, however, it will automatically reconfigure itself for you.
There is a red LED on the module which indicates its state. The module is on when the red LED is flashing. It will also flash when you pair it to your computer. It will stop flashing and glow when a connection to the module has been made (e.g. when you are using PoMoCo to control Hexy via Bluetooth).