problems with Servo Motors...
Yet again this project of mine involves a couple of servo motors only this time not in a walking robot but rather in a small fork lift put together using Lego pieces. But i seem to have this unusual problem where the servo motor behaves in an erratic manner when power is apllied (6v). After turning on and off the power a few times it finally behaves. I was wondering is this was due to the power supply to the 16F84 and servo motors? This also happens to my bipedal robot from time to time when power is applied to it.
also, i seem to have regular problems with the pulsout to the servo motors. does the time interval affect pulsout in codes? i can't seem to catch on to it for some reason.
ps. was not too sure where this post should go so pls dun kill me Melanie ;)
Servos having eaten to much lead or Alzheimer ???
Hi, Saturnix
Servos always have little movement at power up ... that's it !
For PULSOUT, just read ( very) carefully your manual,( Pulsout section + "driving large capacitive loads" section ) and you'll discover why a simple " LowPortX.Y" before PULSIN can avoid any signal problems.
Think to let a while to the servo-amplifiers to settle ...before asking them movements. The current draw, for few ms may reach 3/4 amp per servo ...
so, the PIC must have a private regulator to work properly.
Not so bad nor to have a separate batt just to feed the servos ...
For time interval, let's say signal period must be 20 to 50 ms ... for conventionnal servos, to have enough output power ;
a period change in that interval doesn't disturb too much the servo.
note a shorter period CAN be applied to "High end" Gyro servos ( 5 to 8 ms ).
For the end, Using the internal reset of the PIC is not a good idea here ... read µChip 16F84 Datasheet for info about reset circuitry.
read you next time
Alain