Bluetooth Setup

From IPRE Wiki
Jump to: navigation, search

Bluetooth Setup

Follow the below step to connect to your robot via Bluetooth. (If you already have bluetooth ignore the steps concerning the Cellink Bluetooth adapter).

  1. Plug in the Fluke to the Scribbler
  2. Power on the Scribbler
  3. Plug in the USB cellink adapter
  4. Open Bluetooth Devices in the Control Panel
  5. In the Devices pane select the "Add..." button
  6. Follow the wizard selecting the scribbler device (it will be labeled IPRE-XXXXXX where XXXXX is something like 125898, the serial number on the label of your fluke)
  7. Use the passkey found in the documentation option with passkey = 1234
  8. Once finished the wizard, click the "COM Ports" Pane
  9. Note the "Outgoing COM port"

First Connection - Install

The first time you connect to your robot you will need to install the myro server on the scribbler.

First, double-click the "Start Python" icon. Then enter:

>>> from myro import *
Myro, (c) 2006 Institute for Personal Robots in Education
[See http://www.roboteducation.org/ for more information]
Version 1.0.2, Revision 1.101, ready!
>>> upgrade("scribbler") # enter comport, like "com4" when prompted


Testing

Now that you know your com port, you should be able to connect to your robot.

First, double-click the "Start Python" icon. Then enter:

>>> from myro import *
Myro, (c) 2006 Institute for Personal Robots in Education
[See http://www.roboteducation.org/ for more information]
Version 1.0.2, Revision 1.101, ready!
>>> initialize() # enter comport, like "com4" when prompted
>>> joyStick()

(Note the capital S in joyStick.)

You should be able to drive your robot around. Press Control+D when your cursor is at the >>> prompt.

>>> beep(1, 800)
>>> <control+d> [ENTER]

If you need more details see Bluetooth Lowlevel Installation