Servo Multiplexing!

Hi! I'm kind of new to MCU and Robotics and I'm doing this multiple servo project... Unfortunately I'm stuck! I need your help guys! I'm desperate Here are the details:

I'm supposed to simultaneously control 18 servo motors using the Arduino Uno... So I resorted on using multiplexers
I'm currently utilizing three 74ls138 decoder/demultiplexer ICs each coupled with 74ls04 inverter ICs as multiplexers(74ls138s are active-low ICs so I had to invert the output to produce PWM signals)
Each multiplexer controls 6 servo motors
I'm utilizing the Servo.h library that's included in the Arduino Compiler

One of the problems i'm encountering is that I can't simultaneously operate the servo motors. I could only run 1 servo motor at a time. So in each multiplexer, 5 servos remain stationary while 1 Servo changes position. Another problem is that I had to maintain my delay after servo.write() command at 250 microseconds. Anywhere below that and the servo motors start to jitter and the positioning starts to get all messed up...

Do you have any suggestions on the multiplexer? I'm seeing Servo multiplexers in the internet but their limited to 16 servos (I'm 2 servos short)

Please... I could really use some help...

*I also posted this on the "LEDs and Multiplexing" page of the forums (I'm not sure where to place this) :slight_smile:

A similar question.

A possible solution.

http://www.web4robot.com/Flexel.html

welcome to the club

i don't think the arduino can be used for anything beyond 1 servo

i asked recently and had nothing

someone has suggested that you need a special servo add on

there must be something more to it that meets the eye - the whole refresh thing seems to play a part

i don't think the arduino can be used for anything beyond 1 servo

That is not true, see:-
http://www.arduino.cc/playground/ComponentLib/Servo
it says:-

the Arduino Servo library supports up to 12 motors on most Arduino boards and 48 on the Arduino Mega.