Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: LOLsim on March 03, 2009, 02:45:34 PM

Title: How to Control Digital Servo(MG995)?
Post by: LOLsim on March 03, 2009, 02:45:34 PM
I've tested my MG995 digital servo powered by a PIC12F675.

This servo can turn 200degree or 220degree, didn't measure, but definitely more than 180degree.

Using the normal 1.5ms/18.5ms timing, I manage to make it go 90degree. Around 0.9ms/19.1ms, it is at 45degree.

Then, around 0.7ms/19.3ms, it is at 20degree. However, at this degree, the servo is twitching yet it hasn't reach 0degree. How do you think I can make it to 0 degree? Or maybe it can only go 180degree when controlled by uC?

Also, 20ms is for analog servo although digital can also accept the timing. But digital servo usually has 300Hz frequency and therefore can has timing as low as 3.3ms. In this situation, how do we control it?
Title: Re: How to Control Digital Servo(MG995)?
Post by: Admin on March 24, 2009, 11:49:56 PM
I don't quite understand your question, but you can control digital servos exactly how you control an analog servo . . .