Difference between revisions of "PhantomX Reactor Robot"

From RobolaboWiki
Jump to: navigation, search
Line 20: Line 20:
 
<li> Uncompress the libraries to a path of your convenience. In this file you will find two folders: <b> hardware </b> and <b> libraries </b>
 
<li> Uncompress the libraries to a path of your convenience. In this file you will find two folders: <b> hardware </b> and <b> libraries </b>
 
<li> Copy both folders to the <ARDUINO_MAIN_DIRECTORY>. In some Windows you will find this folder in <i> My Documents\Arduino\ </i>, while in others you will find it in <i> Documents\Arduino\ </i>.
 
<li> Copy both folders to the <ARDUINO_MAIN_DIRECTORY>. In some Windows you will find this folder in <i> My Documents\Arduino\ </i>, while in others you will find it in <i> Documents\Arduino\ </i>.
In Linux you will find this folder in <i>~/Arduino/</i>.
+
In Linux you will find this folder in <i>~/Arduino/</i>.<br>
  
 
<b> Important: </b> If you already have a <i>libraries</i> folder, move the content of the <i>libraries</i> folder downloaded inside the <i>libraries</i> folder of <ARDUINO_MAIN_DIRECTORY>
 
<b> Important: </b> If you already have a <i>libraries</i> folder, move the content of the <i>libraries</i> folder downloaded inside the <i>libraries</i> folder of <ARDUINO_MAIN_DIRECTORY>

Revision as of 11:48, 14 September 2016

Configuring the environment

Setting up the Arduino Software

  • Download the Arduino IDE 1.6.x according to your operating system from: https://www.arduino.cc/en/Main/Software .
  • Install the Arduino IDE
    • If you have chosen to download the installer, run the installer and install the software in a path of your convenience.
    • If you have chosen to download the sources (Linux or zip on Windows), uncompress the software in a path of your convenience
  • Open/run the arduino IDE so it will create all the folders needed

Installing Tools and Libraries

  • Download the robot libraries from: here .
  • Uncompress the libraries to a path of your convenience. In this file you will find two folders: hardware and libraries
  • Copy both folders to the <ARDUINO_MAIN_DIRECTORY>. In some Windows you will find this folder in My Documents\Arduino\ , while in others you will find it in Documents\Arduino\ . In Linux you will find this folder in ~/Arduino/.
    Important: If you already have a libraries folder, move the content of the libraries folder downloaded inside the libraries folder of <ARDUINO_MAIN_DIRECTORY>

Hello World example

Compiling the code

Downloading the code to the robot

Installing FTDI drivers

If you are using Linux or Mac, skip this step. If you are using Windows, power up the robot and connect it to your computer. Windows should ask you to install some FTDI drivers to be able to connect to the robot.