![]() |
Bluetooth and Mac OS X
Setting up a Mac to Use MyroC and
Scribbler 2 Robots
|
![]() |
|
Macintosh computers communicate with Scribbler 2 robots using Bluetooth. Each robot has a different serial number, and communication is based upon that number.
Setting up Bluetooth connections on Mac OS X relies upon the Bluetooth menus with the machine's System Preferences.
Open the Bluetooth menus within System Preferences
Pick up a Scribbler 2 robot, and look for a sticker on the Fluke or Fluke 2 that indicates a serial number.
Turn on the Scribbler 2. After several seconds (but likely less than a minute), a device will appear in the Bluetooth System Preferences window with a name containing the robot's serial number. Examples might be:
A button containing the word "Pair" will appear to the right of the device. Click on that button.
Note: When this pairing process succeeds, the new device will appear in the computer's listing of Bluetooth devices. For a short time, the device will appear as "Connected", but then the status will change to "Not Connected". This is normal and expected — there is no need to try to maintain this connection at this point!
Double check that a device file containing the serial number has been created in the /dev directory. As an example, use the following commands in a terminal window to search for the two serial numbers above.
ls /dev | grep 365877 | grep tty ls /dev | grep 0958 | grep tty
This search provides the full device name for MyroC connections, such as
When using rConnect within MyroC to connect to a robot,
If a more generic device name is desired, create a symbolic link in the /dev directory. For example, a device name /dev/rfcomm0 could be used within rConnect, after issuing the following command in a terminal window
cd /dev sudo ln -s tty.IPRE6-365877-DevB rfcomm0
Notes:
|
created 19 October 2015 last revised 19 October 2015 |
|
| For more information, please contact Henry M. Walker at walker@cs.grinnell.edu. |