TLC5940 Servo Controller for PIC Microcontrollers

See the full source code and tutorial at Bitbucket

schematic

16 Channel Servo Controller

This is a 16 channel servo controller that uses the TLC5940 PWM driver with a PIC18F4520. This controller was used as a replacement for the Arduino controller on my robotic arm. The TLC5940 was meant to off load the servo controls from the PIC18F4520 and for the most part it did. There was however a need for a constant reset of a count pin using up some of my interrupt time. This controller allowed me to have very precise and stable control of my robotic arm.

schematic