IDuino

IDuino is a modified and extended version of Firmata (v1.0). It is the "software brain" of the AdMoVeo robot loaded in the Arduino board.

Uploading IDuino to Arduino or to AdmoVeo

In case you need to reload it, please follow the steps below:

  1. Make sure you have the Arduino software installed on your PC. see SoftwareEnvironment for details.

  2. Download the latest IDuino sketch: SoftwareDownloads/IDuino.pde.

  3. Start the Arduino programming environment.
  4. Load the downloaded sketch in the Arduino programming environment by selecting the menu item "File|Sketchbook|Open".
  5. Compile it by either:
    • pushing the "Verify" button arduino_compile.gif, or

    • Pressing "Ctrl+R", or
    • selecting the menu item "Sketch|Verify/Compile".
    Compiling process should be finished with the message "Done compiling" in the message box of the programming environment.
  6. You need to identify the COM port that the Arduino board or the AdMoVeo robot is connected to. it is better if you start the "Device Manager" of your Windows system first. The quickest way to start it is:

    • Press "Win+R";
    • Run "devmgmt.msc" by copy it or type it into the "Open" box then press "OK".

    In "Device Manager", expand "Ports (COM&LPT)", and later watch out what is added when you connect the Arduino board or the AdMoVeo robot. For some laptops, it is possible that there are no "Ports (COM&LPT)" at all. This happens if the laptop itself has no built-in COM ports.

    • devmgmt.png devicemanager.png

  7. Connect your Arduino board or the AdMoVeo robot to the PC using a USB cable. If this is the first time the robot is connected to your computer, the driver installation starts. This process is usually done by Windows automatically by downloading the driver from the Internet, be sure your computer is connected to the Internet. This process can take some time. Be patient.

    • /!\ If you are using the new Arduino UNO, it is possible that Windows won't be able to find the proper driver. Then you have to point Windows to <wherever Arduino softerwere is installed>\drivers.

      /!\ If you are using a MAC computer, you might find some useful information at ArduinoUno.

  8. Switch the robot on if the robot is used instead of just the Arduino board.
  9. Check the newly added COM port. It should be something like "USB Serial Port (COM5)". It could be a different COM port on your computer. Remember the port number. Close the "Device Manager".

    devicemanager.pngdevicemanager_com5.png

  10. In the Arduino programming environment, set the connection serial port accordingly. You may do it by selecting the menu item "Tools|Serial Port|COMn", n is the port number you found out in the previous step.

  11. In the ARduino programming environment, select the correct item in the menu "Tools|Board" according to the type of your Arduino board.
  12. Now load the IDuino sketch onto the Arduino board or the AdMoVeo robot, by either:

    • pushing the button "Upload to I/O Board" arduino_upload.gif, or

    • selecting the menu item "File|Upload to I/O Board".
  13. In the message box of the Arduino programming environment, you should see "Uploading to I/O Board", and if succeed, then "Done uploading".
  14. If you see any red text in the message box, most likely the USB cable was not connected correctly or the COM port was not set correctly. Check the USB cable and the COM port.

CreaPro: IDuino (last edited 2013-12-27 22:45:53 by JunHu)