happy_99
Member level 2
- Joined
- Oct 10, 2003
- Messages
- 45
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 320
16f877 servo basic
hi friends,
I need to control 20 hobby servos using a single PIC16F877. I use TMR0 interrupt to produce position signals at 20ms interval. But the problen is, when all the servos are at extreme positions, the total time taken for ISR itself is 2ms*20 = 40ms (2ms delay/servo). So I can't command all the 20 servos with in their power downtime of 20ms. Somebody pls suggest a solution.
Thank you.
hi friends,
I need to control 20 hobby servos using a single PIC16F877. I use TMR0 interrupt to produce position signals at 20ms interval. But the problen is, when all the servos are at extreme positions, the total time taken for ISR itself is 2ms*20 = 40ms (2ms delay/servo). So I can't command all the 20 servos with in their power downtime of 20ms. Somebody pls suggest a solution.
Thank you.