??? 01/17/10 20:47 Read: times |
#172522 - Controlling multiple servo motors |
Hello all,
I am trying to control six servo motors using an 8051 chip. I am using a code similar to the code posted by Mr . Adam Klaum here http://www.8052.com/forumchat/read/97655 However, I noticed that the above code works seamlessly only for 3 servo motors. If I try to interface even a single motor more to the above code, the other servos start behaving erratically. What could be the problem? I have also tried using Timer0 for the first three servos and Timer 1 for the 4th servo motor. Still, the same result. Why could this be happening? Also,what can I do in such a case? P.S: I am using a P89v51RD2. I am aware that multiple PWM patterns can be generated using a certain PCA timer. I tried searching for the PCA cookbook on the net. But most of the links are dead. It would be great if somebody could post a fresh link for the above. |