Computer Remote Control
Arduino Mega 2560
This program allows the Arduino Mega board to be remotely controlled by a computer over the built in USB port. The computer sends the Arduino Mega board a position for each servo, and the Arduino Mega board sends back the current range reading from the ultrasonic range sensor. This is currently only used by the Robot Poser application.
Setup ROFI as follows:
Use a USB A to B cable to connect ROFI to the computer (don't use the servo shield)
Plug in a power adapter to ROFI to power the servos (no greater than 12v and at least 1.5 Amps)
Flip on the servo power switch on the side of ROFI (otherwise no power will go to the servos)
Setup the Arduino development environment on your computer.
Download the source file for this program.
Open the Arduino development environment application on your computer.
Open the source for this program ( from the main menu : File/Open...).
Setup ROFI as detailed above.