Whats the best way for the Raspberry pi to output PWM?
Whats the best way for the Raspberry pi to output PWM?
Joey, you can use the RPI for controlling servos but because the updates will not be perfectly timed and the servos will jitter because of the Linux interrupts are not perfectly regular it would be much easier to attach a micro controller such as an Arduino or some such and get the RPI communicate to this your servo positions then have the controller generate the servo PWM perfectly accurately.
Also make sure you use another power supply to power the Servos as the motor noise is likely to crash the PI/Controller.
Joey, you can use the RPI for controlling servos but because the updates will not be perfectly timed and the servos will jitter because of the Linux interrupts are not perfectly regular it would be much easier to attach a micro controller such as an Arduino or some such and get the RPI communicate to this your servo positions then have the controller generate the servo PWM perfectly accurately.
Also make sure you use another power supply to power the Servos as the motor noise is likely to crash the PI/Controller.