AC Drive China Forum
Forum » Servo Control » Servo control help » Reply Thead


Your name:



Put the result (4 * 2) in      

Start by
Control
06-10-2012 08:22 AM

Servo control help

I am new to servo controls. Unfortunately I cannot find a spec of the pulse-width for this servo, the only thing i see on the package is 4.8v: 0.09s/60 degrees. I tried a couple of pulses within the range of 1 to 2 ms with 1.5 (see code) being default operation pulse. The only thing i get out of it is some ticking movement (moving a little and returning right away).

My first question is, is it even possible to do it like this?
Can you advise on the pulse-width for this servo and my setup for control?
Any pointers in the right direction would be greatly appreciated!
My setup:
MPLAB IDE
C18 C compiler
Pickkit 3 with 44 pin demo board. (18f45k20)
5 volt power supply
Modelcraft (TOP LINE) micro servo ES-07/JR.

I am using the pickit internal Oscilator at 1 mhz.
The servo is connected to port RB4 on the demo board Vdd/Vcc connected to external 5v power supply.