Arduino multi-servo remote control through serial with Processing
This is based on http://www.arduino.cc/playground/Learning/SingleServoExample but extended to multiple servos and with a matching Processing class.
To try this out:
- Edit the number of servos and the pin numbers in RemoteServo.pde (read the comments) and upload to Arduino
- Edit the number of servos and the Arduino serial port index in RemoteServoTest.pde.
- Check the range of motion for the servos in the test (START_POSITION and END_POSITION) is OK for your servos
- Run RemoteServoTest in Processing
The baud rate is set to 115200 in both programs, if this doesn't work for you try lowering it in both programs.