First of all many thanks for sharing your tutorials! I am trying to build the animatronic face, starting with the eyebrows, and got stuck. I programed the PIC and made the circuit. Everything looks fine, but when I switch the battery, just one of the servos moves a bit for a moment and nothing else happens. I checked the conections with a voltimeter and seem right. Any idea what else should I check?
 Load a simple program onto the PIC to make sure your download process works correctly:
Code: Select all
TRISA = 0x00;
PORTA = 0x01; // Pin 2 @ +5v
Connect an LED on RA0 (pin2) and to ground. When you load the above program does the LED turn on? If yes, then your download process is working.
 What is the voltage at the Servo control signal output?
The servo signal is only at +5v for 1ms to 2ms for a 20ms period, so the voltage shouldn't measure on a dmm as more than +0.5v. If you're in range then continue...
 What is the frequency coming out of the control signal output?
If your dmm doesn't measure frequency (it should be 50 Hz) you can use a sound-card oscilloscope that connects with headphone/microphone wire to your PChttp://zelscope.com/
This debug process is all to make sure that your code is actually running and to see that the signal coming out of your device is actually the signal you want.