Differences between revisions 29 and 30
Revision 29 as of 2008-10-21 19:02:44
Size: 4112
Editor: JunHu
Comment:
Revision 30 as of 2008-11-03 11:30:28
Size: 276
Editor: JunHu
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
== Processing ==
 1. [[http://processing.org/download/processing-0135.zip|Download processing]]. Please make sure you are downloading the standard Windows version '''0135''', not the latest releases. Or download it here: [[attachment:processing-0135.zip]]
 1. Create a directory "Programs" on the C: disk, in the root. If "C:\Programs" exists already, skip this step.
 1. Extract the entire directory to C:\Programs (note, not "C:\Program Files"). if you are reinstalling Processing, remove the entire processing directory first.
<<Include(InstallProcessing)>>
Line 12: Line 9:
<<Anchor(creapro)>>
=== Creapro Java library for Processing ===
This library adds the support for Arduino and AdMoVeo to Processing.
<<Include(InstallArduino)>>
Line 16: Line 11:
 1. Download [[attachment:CreaproProcessingLibrary/creapro.jar|creapro.jar]]
 1. In C:\Programs\processing-0135\libraries, create a sub-directory "creapro".
 1. In C:\Programs\processing-0135\libraries\creapro, create a sub-directory "library".
 1. Place [[attachment:CreaproProcessingLibrary/creapro.jar|creapro.jar]] in C:\Programs\processing-0135\libraries\creapro\library.

After this procedure, your should have a directory tree as below:

[[attachment:creapro_jar_installed.png|{{attachment:creapro_jar_installed.png|creapro.jar installed|width=120}}]]

And in Processing, you should be able to import the creapro library as shown below:

[[attachment:processing_creapro_installed.png|{{attachment:processing_creapro_installed.png|import creapro in processing|width=120}}]]

=== ControlP5 library for Processing ===
This library adds a GUI library to Processing.

 1. Download [[attachment:controlP5_0.3.0.zip|controlP5_0.3.0.zip]] from this wiki, or from [[http://www.sojamo.de/modules/transfer.php?t=controlP5_0.3.0|its website ]]
 1. Open the zip file, extract, or copy the direcotry "controlP5" into "C:\Programs\processing-0135\libraries"

After this procedure, you should be able to import the controlP5 library in Processing as shown below:

[[attachment:processing_controlP5_installed.png|{{attachment:processing_controlP5_installed.png|import creapro in processing|width=120}}]]
== Arduino software ==
 1. [[http://www.arduino.cc/files/arduino-0011-win.zip|Download Arduino software]] Please make sure you are downloading the Windows version '''0011''', not the latest releases.
 1. Create a directory "Programs" on the C: disk, in the root. If "C:\Programs" exists already, skip this step.
 1. Extract the entire directory to C:\Programs (note, not "C:\Program Files"). if you are reinstalling Arduino software, remove the entire Arduino directory first.

== AdMoVeo robot ==

=== Assemble the AdMoVeo robot ===
 1. loose the four screws that fix the PCB on the platform.
 1. lift the upper PCB up carefully.
 1. install four '''rechargeable''' AA batteries >= 2000mAh. pay attention to the "+" and "-" indicators. /!\ DO NOT TRY TO CHARGE NORMAL AA BATTERIES! /!\
 1. put the PCB back to its position and fasten the screws.
 1. remove the power selection jumper on the Arduino board, if the jumper is there. You may found it by looking for "PWR_SEL" on the PCB.
 1. carefully install the Arduino board onto the robot platform. Pay attention to the orientation. Do not force the Arduino board onto the platform if it does not fit.
 1. You may need to charge the batteries first. The batteries can only be charged when the robot is switched off. When the robot is on, the batteries are not being charged at the same time. You need the power adapter to charge the batteries:
  1. Set the power adapter to 9 Volts.
  1. Connect the fitting plug for the arduino board onto the adapter so that the + is inside and the - is outside (watch the symbols on the plug, the arrows must match).

=== IDuino firmware for the AdMoVeo robot ===
 1. see [[IDuino]] for Details.

=== Test the AdMoVeo robot ===
 1. Download the test program and see whether everything works as expected. see AdMoVeo for details.
<<Include(PreparingAdMoVeo)>>

Software Environment

Throughout this assignment, only Windows platform is supported. No Mac OSX or Linux please. If you don't have a PC, find one.

AdMoVeo robot

What you get (to loan)

  • 1 numbered storage box.
  • 1 numbered AdMoVeo.

  • 1 wireless Xbee module placed on the AdMoVeo.

  • 1 numbered USB2Xbee wireless module.
  • 1 USB Cable (mini).
  • 4 AA rechargeable batteries (Camelion 2500maH).
  • 1 Charging converter.
  • 2 foam pieces for protection.

AdMoVeo parts you get to loan

What you need (to buy)

  • 1 Arduino Diecimila or Duemilanove -> You can buy an Arduino at the servicedesk.

  • 1 USB cable -> A-B Type

  • 1 Universal Power Adapter, -> e.g. PA500 , you can also buy one in shops like kijkshop, mediamarkt or wiener electronics.

  • The requirements for the power adapter are:
    • >=300mA minimum current

    • 7,5V or 9V voltage selection
    • 2,5 mm output plug, plus inside, minus outside.

AdMoVeo parts you have to buy

Install the Arduino Board on your Robot

  1. If you have a Diecimila board remove the power selection jumper on the Arduino board, if the jumper is there. You may found it by looking for "PWR_SEL" on the PCB. You don't need to do this step if you have a Duemilanove board.
  2. carefully install the Arduino board onto the robot platform. Pay attention to the orientation. Do not force the Arduino board onto the platform if it does not fit.

Charge the AdMoVeo robot

  • /!\ DO NOT REMOVE THE RECHARGEABLE BATTERIES! /!\

  • You may need to charge the batteries first. The batteries can only be charged when the robot is switched off. When the robot is on, the batteries are not being charged at the same time. You need the power adapter to charge the batteries:
    1. Set the power adapter to 9 Volts.
    2. Connect the Charging converter on the white connector near the On/Off switch.
    3. Connect the fitting plug for the charging converter (2.5 mm) onto the Universal Power Adapter so that the + is inside and the - is outside.
    4. Connect the the Charging converter to the Universal Power Adapter to charge the AdMoVeo (Robot must be OFF to charge).

When the AdMoVeo is fully charged (after 10+ hours) you can continue with the next step.

IDuino firmware for the AdMoVeo robot

  1. see IDuino for Details.

Test the AdMoVeo robot

  1. Download the test program and see whether everything works as expected. see AdMoVeo for details.

References

  • CreaproProcessingLibrary: The creapro java package offers the library of classes and interfaces for controlling the AdMoVeo robot and the Arduino board within Processing.

  • IDuino: Firmware for Arduino to communicate to the creapro processing library and to drive the AdMoVeo robot. It is only needed in case you need to reload the firmware.

CreaPro: SoftwareEnvironment (last edited 2008-11-25 11:15:16 by JunHu)