In this Servo Motor Control with PIC project, the U2 IC generates a frequency between 500Hz to 1500Hz. You can change the output frequency with these two buttons. Actually, the servo motor rotates to a certain degree according to this frequency. And the U1 IC acts as a simple frequency meter so you can watch the frequency on the LCD.
Note that this motor is frequency-controlled motor (so you can’t control it with a duty-cycle motor controller).
Download the files here.
Also, don’t forget to checkout our Ultimate AVR Project Pack.