control eight servos

Guilherme Martins's icon

I need to control 8 servo motors (attached to an Arduino board) with max, can someone point me a direction? My max skills are limited and I can't understand the serial object in its plenitude.. any kind of help would be very appreciated

Antoine Villeret's icon

The most common Arduino board, Duemilanove, provides only 6 PWM outputs, if you need more, for example to drive each motors individualy, you should take a look at the Arduino Mega which provides 14 PWM output. Moreover you should take care about the power supply of the motors, if you take it from the board, pay attention to plug the motors on the Vin pin instead of the 5V pin. Vin is directly connected to the power supply jack whereas 5V is connected to the voltage regulator which can't provide a sufficient current to drive 8 servo motors.

For controlling the board from Max, i think the best way is to use Maxuino, "The Max patch that talks to Firmata ". More information and tutorial here :
http://www.maxuino.org/

best

a.

Guilherme Martins's icon

My problem resides in communicating with max.. I will give a deep reading on Maxuino
Thanks a lot Antoine!

Guilherme Martins's icon

I'm in love by the Maxuino! It's just what I need!!
Thank you one more time ;)