Yep I am using a separate power supply for both and each is filtered
Yep I used 5volts and I even tried it with 6Make sure you're using the correct voltage for your servo. These normally run on 4.8 to 6V. If you're trying to operate your servo from 9V that may be a problem. Most hobby type servos can't handle 9V, and a 5V control pulse from the PIC is going to look pretty weak to a servo operating at 9V.
I am using a hi-tec HS-322HD
I tested the above code example, and it works as expected with a Hitec HS311 servo operating at 5V with a 16F627. Note some servos will move 90 degrees right or left, so you can tweak the value in the Flush routine between 200 to 250 to extend the rotation range.
My HS311 moves full right with 250, and centers with 150.
And I used another servo which was a futaba S3003
but it was modified for continues rotation but it was rotating in 90% degree section
but that was when it was not in contact but when it was in contact it didn't move just like the hs-322HD
Bookmarks