Difference between revisions of "Bluetooth Setup for Calico Myro on Mac OSX"

From IPRE Wiki
Jump to: navigation, search
(Setup Bluetooth)
Line 1: Line 1:
==Setup Bluetooth==
Watch the [http://www.youtube.com/watch?v=J_x_1DsEzzc Video] or follow the instructions below
# Attach the IPRE Fluke to the scribbler
# Turn on the scribbler
# Click on the bluetooth icon in the upper right of your toolbar, select "Set up Bluetooth Device"
# Follow the wizard, select "Any device" as the device type
# Select the IPRE-XXXXXX or Fluke2-XXXX where XXXXXX is your Fluke's serial number
# Enter the Passkey/PIN code (1234 for the fluke1, no PIN required for Fluke2)
# From the bluetooth menu in the toolbar select "Open Bluetooth Preference"
# Highlight the IPRE bluetooth connection name
# Select Edit Serial Ports (little gear picture)
## Add a serial port to the Fluke via the "+" button if you don't have one already
## If you already have a serial port listed, change the port name to "scribbler" all lowercase
## Click Apply
# Select Edit Serial Ports again
## Select the "Require pairing for security" button
## Click Apply
# You should now have a device like "/dev/tty.scribbler" that is the serial port to the scribbler. Confirm the actual name using the terminal application.
## Start Calico
## At the Python prompt enter:
  from Myro import *
and then
now you can try
  forward(0.5, 1.25)
to tell your robot to move forward at half speed for 1.25 seconds
== Troubleshooting ==
== Troubleshooting ==

Latest revision as of 11:56, 28 September 2013


If you get an RFCOMM error, go back to the Bluetooth Menu

  1. Click "Disconnect"
  2. Click "Edit Serial Ports"
    1. Select the "Require pairing for security" button
    2. Click Apply
  3. In Python:

Bluetooth Problems

We have received reports that on some Macintosh computers the /dev/tty.scribbler port will sometimes change it's name to a /dev/tty.scribblerXX (where XX is a number). For example, /dev/tty.scribbler remains in the /dev/ directory, but does not connect to the scribbler robot, while /dev/tty.scribbler04 is the correct communications port to use when connecting to your robot. If you run into "A Bluetooth serial failure has occurred." and/or "Serial element not found." errors, please check for other entries in your /dev/ directory and try using the one with the highest number. You may have to delete your bluetooth serial port and re-add it to create a new entry that works.