Connecting to the Create robot
Rose-Hulman Institute of Technology -
Computer Science & Software Engineering
Overview
This assumes that you have a Bluetooth driver successfully installed and configured on your laptop.
Connecting to the iCreate (we'll do this in class, since it needs a robot)
If you are working in pairs, only ONE of you should do the following. (The other one can do it at the next session.)
- Ensure the BAM is properly connected to the iCreate's cargo bay connector, and
turn on the Create robot.
- Make sure that your wireless is ON (and hence your Bluetooth is enabled).
- For the Microsoft driver (pre-installed on the Fall 2009 laptops and newer):
- Find the Bluetooth icon
in your Taskbar in the lower-right corner of your laptop display.
- If you don't have one, open Bluetooth Devices in the Control Panel, choose the Options tab, and check "Show the Bluetooth icon in the notification area".
- Right-click the Bluetooth logo and choose Show Bluetooth Devices.
- Check "Add" or click "Add a device" and follow the directions in the wizard:
- You should see icons for all the robots in the room, each labeled "Element Serial".
- Right-click and choose properties on each, until you find one with the address that matches the label on the robot's BAM.
- In that properties window, rename it as the name of your robot, like "HanSolo1". (This will make finding it much easier in the future)
- Click Next and in the next screen, choose "Use the passkey found in the documentation" and enter 0000.
- Click Next, and it will discover the hardware.
- Take note of the outgoing Bluetooth COM port (write it down); you'll need it when you connect to the robot in Python.
- For other laptops:
- Find the Bluetooth icon
in your Taskbar in the lower-right corner of your laptop display.
- Right-click the Bluetooth logo and choose Explore My Bluetooth Places.
- If you have previously made a shortcut to your robot's BAM, you'll see it in the My Bluetooth Places that you just opened.
In that case, SKIP the next step.
- If you don't yet have a shortcut to your robot's BAM in My Bluetooth Places, make one as follows:
- Click "View devices in range", followed by "Search for devices in range", to refresh the list of available devices.
- "Element Serial" should appear. If you are doing this in a room
full of robots, there will be many of them! Each robot's
BAM has a serial number printed on a label. Hover
over each "Element Serial" shown until you find yours.
Then right-click and select Explore.
- Right-click on the icon that appears and select Create Shortcut.
- Select My Bluetooth Places.
- Right-click on the icon that appears and select Rename.
Name it your robot's name (e.g. HanSolo01) so that you can find it more easily in the future.
- Now that you have a shortcut to your robot's BAM, right-click on the icon and select Connect.
You may be prompted to enter a passkey — if so, enter 0000.
In about 30 seconds you should obtain a connection — the icon will change color and
tell you that you have a connection, and it will show you the COM port. Take note of that COM Port (write it down);
you'll need it when you connect to the robot in Python.
- The iCreate should now be connected and ready for use.