Prototypes‎ > ‎ROFI‎ > ‎

Uploading Code

Upload code to the Arduino Mega board :

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
  2. Plug a USB A to B cable into the Arduino Mega board as shown.
  3. Plug the other end of the cable into an open USB port on your computer.
  4. Open the Arduino development environment on your computer.
  5. Select the serial port that ROFI is on.
  6. Open the program that you want to put onto ROFI.
  7. Press the upload program button.








Uploading code to the Android Tablet :



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 :

  1. Install and setup the Android development environment
  2. Plug a USB A to micro cable into the Android tablet as shown.
  3. Plug the other end of the cable into an open USB port on your computer.
  4. Open the Eclipse on your computer.
  5. Wait for the tablet to turn on.  This could take up to 10 minutes if the battery on the tablet is totally discharged.
  6. Open the workspace with your program  in it.
  7. Select the program from workspace explorer panel.
  8. Run your program.
  9. Select "Android Application" as the type.
  10. Select that Android Tablet as the target device


Comments