Sunday, November 22, 2009
Arduino & Servo Control Using The Mouse
After the iPhone & Arduino project, I wanted to try some mechanical objects with the Arduino MEGA. This is the first test of controlling a Servo connected to the Arduino MEGA by moving the mouse.
The mouse X axis is read by a Processing Sketch and then sent to the arduino to tell the servo to rotate.
I have updated the code to include Y axis, however I only have 1 servo at the moment =P
I will post a new video once I have received more servos...
UPDATE: Here are the Processing and Arduino source codes for this project:
ServoAppArduino.pde(File Size: 755 Bytes - Downloads:
ServoAppTest1.pde(File Size: 1.31KB - Downloads: