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)