Step by step installation windows XP

From IPRE Wiki
Revision as of 10:41, 28 December 2010 by Jlem (Talk | contribs)

Jump to: navigation, search

Step-by-step Myro Installation Manual: Windows XP SP2/SP3 Setup

The purpose of this guide is to provide detailed, step-by-step instructions for those who like to see all of the information together on one page with lots of details. A more condensed version is available in the Myro Installation Manual.
If you are a student and someone has already done the initial set up of your robot for you, then you should go to Step_by_Step_Connecting_to_Robot_for_Students_XP.


Overview

To get your robot up and working for the first time, you are going to have to go through the following steps in the following order!! Detailed instructions for each step follows:

  1. Confirm that you have administrative rights in windows XP
  2. Acquire a Myro CD or download the software from the Internet
  3. Install the Myro Software on your computer
  4. Set up your robot
  5. Set up the bluetooth connection so that your computer can talk to your robot
  6. Install the latest version of the myro server on the scribbler robot
  7. Upgrade the firmware on your IPRE Fluke to the latest version
  8. Upgrade the Myro Software on your computer (note: do NOT attempt to do this step before the others, it can cause problems!)
  9. Do some testing to make sure everything is working smoothly

Confirming that you have administrative rights in Windows XP

  1. Log on to your PC as you would normally
  2. Right-click on the start button (make sure you use the right mouse button!)
  3. Look at the list of options that appear (the picture below is from my computer. You may have some different items on your list)
Start right click xp.jpg


  • If you have the "Open All Users" and "Explore All Users" options, then you DO have administrative rights
  • If you do not have both of these options, then you DO NOT have administrative rights. You will not be able to continue with the software installation from this account. Contact your system administrator.


Downloading the Myro Software to Your Computer

If you have a Myro Installation CD, you can skip this step

  1. Download the latest Myro ZIP File & save that to your hard drive (i.e. click "Save to disk").
  2. Extract all of the files from the zip file and put them into a new folder on your desktop as follows:
    1. Create a new folder on your desktop
    2. Right click on the zip file you saved, click Open, and select and copy the "Myro Install Files" folder.
    3. Paste the "Myro Install Files" folder into the new folder you created on your desktop.
    4. Close the window showing you your zip file


Installing Myro from a zip file

If you have the Myro Installation CD, skip this step
If you downloaded the zip file, install Myro this way from the new folder you made on your desktop:

  1. If it's not open already, open the new folder you created by double clicking on it, or right clicking on it and then selecting Open.
  2. Confirm that you are looking at your new folder (and not at your zip file. The rest of the steps won't work if you try to do things from within the zip file, rather than with the copy you made)
  3. Open the "Myro Install Files" folder in the new folder you made on your desktop by double clicking on it, or right clicking on it and then selecting Open.
  4. Double-click on the install.bat file
  • Be prepared to click on "next" and "finish" a lot. Some background: while most people think of Myro as a single program, there are in fact multiple programs that will get installed after you click on install.bat. So the system will regularly claim to be finished when in fact it's just finished one part of the install. Just keep hitting next and finish.
  • always choose Python2.4 if given a choice
  • if you already have Python2.4 installed, choose the Repair option
  • always take the recommended defaults (so, for example, let it choose where to put all the files!)
  • never select Remove
  • Eventually you'll be left with a black "DOS" type window on your screen with the instructions to "Press any key to continue," so press a key to get rid of it.

Installing Myro from the Myro Installation CD

If you don't have a CD, skip this step

  • Double click on install.bat
    • Be prepared to click on "next" and "finish" a lot.
      • Some background: while most people think of Myro as a single program, there are in fact multiple programs that will get installed after you click on install.bat. So the system will regularly claim to be finished when in fact it's just finished one part of the install. Just keep hitting next and finish.
    • always choose Python2.4 if given a choice
    • if you already have Python2.4 installed, choose the Repair option
    • always take the recommended defaults (so, for example, let it choose where to put all the files!)
    • never select Remove
  • Eventually you'll be left with a black "DOS" type window on your screen with the instructions to "Press any key to continue," so press a key to get rid of it.

Set up your Robot

  • Insert 6 AA Batteries into the base of your Scribbler Robot.
    • Make sure these are new alkaline batteries or well-charged NiMH batteries!
    • Do not mix different types of batteries
    • Do not mix old batteries with new batteries
  • Before plugging in your Fluke, take note of the location of the Scribbler Robot's power switch: it's right next to the serial port on your Scribbler robot, near the words "Scribbler Robot"
  • Insert the IPRE Fluke into the serial port of the Scribbler Robot as shown in the picture below
Ipre-fluke.jpg

Set up your Bluetooth Connection

  • Turn the scribbler power switch to on (on looks like a line | and off looks like a circle o). When you do so
    • The red power LED next to the power switch should turn on
    • The green Power LED on the fluke board should turn on
    • The scribbler should play a sound
  • If your computer doesn't have built in bluetooth, plug your Bluetooth USB Adapter into your computer
  • Open Bluetooth Devices in the Control Panel as follows: From the start menu, select start -> settings -> control panel -> bluetooth devices
  • In the Devices pane select the "Add..." button (Note: If you don't see an "Add..." button, make sure you're looking at the "Devices" pane -- is the "Devices" tab at the top of the Bluetooth Devices window selected?)
  • Follow the wizard selecting the scribbler device as follows:
    • Make sure you really did turn the scribbler on!
    • Select the "My device is set up and ready to be found" check box
Add bluetooth wizard screen1XP.jpg
    • Click Next; a flashlight should wave back and forth for a little while
Add bluetooth wizard flashlight XP.jpg
    • On your fluke board there should be a little sticker with a serial number on it. Make a note of that number
    • When the flashlight on the bluetooth stops waving back and forth, you should get a window that says "Select the Bluetooth device that you want to add" at the top, and under that, a list of one (or more) devices. Click on the device that starts with the letters IPRE and ends with the serial number on your fluke sticker and hit next
Add bluetooth wizard found devices XP.jpg
    • You should see a screen that says "Do you need a passkey to add to your device?" Select the option "Use the passkey found in the documentation", type 1234 into the textbox, and select next
Add bluetooth wizard passkey XP.jpg
    • Make a note of the outgoing COM port on the "completing" screen. It should be the letters "COM" followed by an integer
Add bluetooth wizard completionscreen XP.jpg
    • Click on the finish button
  • Back in the bluetooth devices window, you can always click on the "COM Ports" tab to bring you to the COM ports pane. Notice that the outgoing com port for your connection is also listed here. If you ever forget your outgoing COM port number, you can always check it by opening the "Bluetooth Devices" in the control panel again and selecting the "COM PORTS" pane.
Com port bluetooth device screen XP.jpg


Installing the myro server on the scribbler robot

  • Before proceeding, confirm that you remember your outgoing com port number
    • If you forget your outgoing com port number, pen Bluetooth Devices in the Control Panel as follows: From the start menu, select start -> settings -> control panel -> bluetooth devices and click on the "COM Ports" tab)


Com port bluetooth device screen XP.jpg
  • On your windows desktop, locate the "Start Python" icon (with the cute green snake) and double click on it.
Start python icon.jpg
  • You may see a black window open up briefly and then close again, ignore that, and shortly a window should open up that has the title "Python Shell"
Python shell XP.jpg
  • type from myro import * after the ">>>" prompt and hit enter. The result should look something like this:
>>> from myro import *
(c) 2006-2007 Institute for Personal Robots in Education
[See http://www.roboteducation.org/ for more information]
Myro version 2.7.0 is ready!
>>>
  • Now type upgrade("scribbler") and hit enter
  • A window will pop up and ask you for the port number. Enter the outgoing COM port number you got when you set up your bluetooth connection and hit "OK"


Com port askdialog.jpg


  • As soon as you hit OK, keep your eyes open for a small message that pops up on your taskbar (usually at the bottom of your screen) that says:
A Bluetooth device is requesting to connect to your computer. To allow this connection, click this message. 
  • If you see the message, click on it!!!!
  • If you don't see the message, look on the "notification area" of your task bar (usually on the lower right area of the very very bottom of your screen) and see if you see a little bluetooth logo. If you see that, click on it!!!
  • The bluetooth dialog box should appear. Enter 1234 for the passkey


Add bluetooth dialog XP.jpg


.

  • You should get a message indicating that the connection happened successfully


Add bluetooth success XP.jpg


.

  • Click on the finish button
  • You should see the python shell window again. Sit back and wait for some messages on the python shell. When it's completed, you'll see the >>> prompt again.
  • Close your python shell window by selecting File->Exit
  • We really mean it, close your python shell window. You can open it up again in a minute and do stuff, but things go much more smoothly if you close it once at this point!

If something goes wrong and you followed all the instructions carefully, see the My bluetooth isn't working instructions below

Upgrading the Firmware on your IPRE Fluke

  • Turn the scribbler power switch to on (on looks like a line | and off looks like a circle o). When you do so
    • The red power LED next to the power switch should turn on
    • The green Power LED on the fluke board should turn on
    • The scribbler should play a sound
  • Before proceeding, confirm that you remember your outgoing com port number
    • If you forget your outgoing com port number, pen Bluetooth Devices in the Control Panel as follows: From the start menu, select start -> settings -> control panel -> bluetooth devices and click on the "COM Ports" tab)
Com port bluetooth device screen XP.jpg


  • On your windows desktop, locate the "Start Python" icon (with the cute green snake) and double click on it.
Start python icon.jpg
  • You may see a black window open up briefly and then close again, ignore that, and shortly a window should open up that has the title "Python Shell"
Python shell XP.jpg
  • type from myro import * after the ">>>" prompt and hit enter. The result should look something like this:
>>> from myro import *
(c) 2006-2007 Institute for Personal Robots in Education
[See http://www.roboteducation.org/ for more information]
Myro version 2.7.0 is ready!
>>>
  • Now type upgrade("fluke") and hit enter
  • A window will pop up and ask you for the port number. Enter the outgoing COM port number you got when you set up your bluetooth connection (or that you checked above) and hit "OK"


Com port askdialog.jpg



  • As soon as you hit OK, keep your eyes open for a small message that pops up on your taskbar (usually at the bottom of your screen) that says:
A Bluetooth device is requesting to connect to your computer. To allow this connection, click this message. 
  • If you see the message, click on it!!!!
  • If you don't see the message, look on the "notification area" of your task bar (usually on the lower right area of the very very bottom of your screen) and see if you see a little bluetooth logo. If you see that, click on it!!!
  • The bluetooth dialog box should appear. Enter 1234 for the passkey


Add bluetooth dialog XP.jpg


.

  • You should get a message indicating that the connection happened successfully


Add bluetooth success XP.jpg


.

  • Click on the finish button
  • You should see the python shell window again. Sit back and wait for some messages on the python shell. When it's completed, you'll see the >>> prompt again.
  • Close your python shell window by selecting File->Exit
  • We really mean it, close your python shell window. You can open it up again in a minute and do stuff, but things go much more smoothly if you close it once at this point!

Upgrade the Myro Software on your computer

  • If your python shell window is open, close it by selecting File->Exit
  • On your windows desktop, locate the "Start Python" icon (with the cute green snake) and double click on it.
Start python icon.jpg
  • You may see a black window open up briefly and then close again, ignore that, and shortly a window should open up that has the title "Python Shell"
Python shell XP.jpg
  • type from myro import * after the ">>>" prompt and hit enter. The result should look something like this:
>>> from myro import *
(c) 2006-2007 Institute for Personal Robots in Education
[See http://www.roboteducation.org/ for more information]
Myro version 2.7.0 is ready!
>>>
  • type upgrade("myro")
>>> upgrade("myro")
  • sit back and wait
  • close your python shell window by selecting File->Exit
  • We really mean it, close your python shell window. You can open it up again in a minute and do stuff, but things go much more smoothly if you close it once at this point!

Testing

  • Turn the scribbler power switch to on (on looks like a line | and off looks like a circle o). When you do so
    • The red power LED next to the power switch should turn on
    • The green Power LED on the fluke board should turn on
    • The scribbler should play a sound
  • Before proceeding, confirm that you remember your outgoing com port number
    • If you forget your outgoing com port number, pen Bluetooth Devices in the Control Panel as follows: From the start menu, select start -> settings -> control panel -> bluetooth devices and click on the "COM Ports" tab)
Com port bluetooth device screen XP.jpg


  • On your windows desktop, locate the "Start Python" icon (with the cute green snake) and double click on it.
Start python icon.jpg
  • You may see a black window open up briefly and then close again, ignore that, and shortly a window should open up that has the title "Python Shell"
Python shell XP.jpg
  • type from myro import * after the ">>>" prompt and hit enter. The result should look something like this:
>>> from myro import *
(c) 2006-2007 Institute for Personal Robots in Education
[See http://www.roboteducation.org/ for more information]
Myro version 2.7.0 is ready!
>>>
  • type init()

A window will pop up and ask you for the port number. Enter the outgoing COM port number you got when you set up your bluetooth connection (or that you checked above) and hit "OK"

Com port askdialog.jpg



  • As soon as you hit OK, keep your eyes open for a small message that pops up on your taskbar (usually at the bottom of your screen) that says:
A Bluetooth device is requesting to connect to your computer. To allow this connection, click this message. 
  • If you see the message, click on it!!!!
  • If you don't see the message, look on the "notification area" of your task bar (usually on the lower right area of the very very bottom of your screen) and see if you see a little bluetooth logo. If you see that, click on it!!!
  • The bluetooth dialog box should appear. Enter 1234 for the passkey


Add bluetooth dialog XP.jpg


.

  • You should get a message indicating that the connection happened successfully


Add bluetooth success XP.jpg


.

  • Click on the finish button
  • Place your robot on the floor, or somewhere else that it won't get hurt if it drives around!
  • You should see the python shell window again. Sit back and wait for some messages on the python shell. When it's completed, you'll see the >>> prompt again.
  • At the >>> prompt, type joyStick( ) (note the capital S in joyStick and the open and close parenthesis after the word!)
>>> joyStick()
  • The joystick window should appear:
JoyStick interface.jpg]
  • Use your mouse to click in the window, your robot should move around!

Troubleshooting

Wait: My bluetooth connection isn't working!!!

Try the following. Eventually one should work. They are listed in order of how irritating they are going to be for you ... a higher irritation level is likely to make you more annoyed, so try the easy stuff first!

Bluetooth isn't working: Super-Simplest Fix (Irritation Level: 1)

  • If you are using an external Bluetooth USB key, make sure it is plugged in!
  • Confirm that the batteries in your robot are fresh & installed correctly
  • If you have the Python Shell open, Choose File -> Exit from the Python Shell
  • Double click on the "Start Python" icon
  • Try connecting to your robot again

Bluetooth isn't working: Simplest Fix (Irritation Level: 2)

  • If you are using an external Bluetooth USB key, make sure it is plugged in!
  • If you have the Python Shell open, Choose File -> Exit from the Python Shell
  • Turn off the power on your scribbler
  • Count to 5 slowly for good luck
  • Power on your scribbler
  • Double click on the "Start Python" icon
  • Try connecting to your robot again

Bluetooth isn't working: Moderate Fix (Irritation Level: 3)

  • If you are using an external Bluetooth USB key, make sure it is plugged in!
  • If you have the Python Shell open, Choose File -> Exit from the Python Shell
  • Turn off the power on your scribbler
  • Count to 5 slowly for good luck
  • Open Bluetooth Devices in the Control Panel as follows: From the start menu, select start -> settings -> control panel -> bluetooth devices
  • Make sure the Devices Panel is visible (look at the tabs at the top of the window)
  • On your fluke board there should be a little sticker with a serial number on it. Make a note of that number
  • If you see a device that starts with IPRE and ends with the serial number you just found
    • Single click on the device that starts with IPRE and ends with the serial number you just found.
    • Press the "Remove" Button
Remove bluetooth dialog.jpg
  • If you don't see a device that starts with IPRE and ends with the serial number you just found
    • look again, are you sure it's not there? If it is, go back to the previous step
    • If it's genuinely not there, just continue ...
  • Go back and set up your bluetooth again from scratch as described above in the Set up Your Bluetooth Connection section

Bluetooth isn't working: Serious Fix (Irritation Level: 4)

  • If you are using an external Bluetooth USB key, make sure it is plugged in!
  • If you have the Python Shell open, Choose File -> Exit from the Python Shell
  • Turn off the power on your scribbler
  • Count to 5 slowly for good luck
  • Open Bluetooth Devices in the Control Panel as follows: From the start menu, select start -> settings -> control panel -> bluetooth devices
  • Make sure the Devices Panel is visible (look at the tabs at the top of the window)
  • If you see a device that starts with IPRE and ends with the serial number you just found
    • Single click on the device that starts with IPRE and ends with the serial number you just found.
    • Press the "Remove" Button
Remove bluetooth dialog.jpg
  • If you don't see a device that starts with IPRE and ends with the serial number you just found
    • look again, are you sure it's not there? If it is, go back to the previous step
    • If it's genuinely not there, just continue ...

For more info try slow computer solutions