Uploading Code

Upload code to the Arduino Mega board :

Uploading code to the Android Tablet :

ROFI has an Arduino Mega board that controls all of the hardware (servos and ultrasonic range sensor). To upload new programs to the Arduino Mega board follow these steps:

  1. Install and setup the Arduino development environment

    1. Plug a USB A to B cable into the Arduino Mega board as shown.

    2. Plug the other end of the cable into an open USB port on your computer.

    3. Open the Arduino development environment on your computer.

    4. Select the serial port that ROFI is on.

    5. Open the program that you want to put onto ROFI.

    6. Press the upload program button.

  1. ROFI's Android tablet has 4 GB of storage space to hold programs and media. You can upload programs to the tablet by following these steps :Install and setup the Android development environment

    1. Plug a USB A to micro cable into the Android tablet as shown.

    2. Plug the other end of the cable into an open USB port on your computer.

    3. Open the Eclipse on your computer.

    4. Wait for the tablet to turn on. This could take up to 10 minutes if the battery on the tablet is totally discharged.

    5. Open the workspace with your program in it.

    6. Select the program from workspace explorer panel.

    7. Run your program.

    8. Select "Android Application" as the type.

    9. Select that Android Tablet as the target device