Shop OBEX P1 Docs P2 Docs Learn Events
Is there are anybody ever used the servo "KRS-2350 HV ICS Red version" ? — Parallax Forums

Is there are anybody ever used the servo "KRS-2350 HV ICS Red version" ?

kevinspacekevinspace Posts: 56
edited 2010-12-19 21:39 in Propeller 1
Is there are anybody ever used the servo "KRS-2350 HV ICS Red version" ?

Here is the manual of KRS-2350 HV ICS Red version, could anybody teach me how to operate it ?

http://www.robotshop.ca/PDF/rbixs03-KRSmanual.pdf

It seems that can set parameter to capture servo position, and I try to give some pluse-width modulation signal

to the servo by Propeller Demo Board, but I didn't get any feedback signal on oscilloscope from the servo.

Here is my test code, and I used it to generate square wave.

CON

_clkmode = xtal1 + pll16x ' System clock → 80 MHz
_xinfreq = 5_000_000


VAR long ms, us

PUB program
dira[3] := 1 'set the output pin
ms := clkfreq/1_000
us := clkfreq/1_000_000
repeat
outa[3] := 1 'set the output pin to on

waitcnt(150*us + cnt) 'modify the number can change the pluse-width value
outa[3] := 0 'set the output pin to off
waitcnt(20*ms + cnt)


Here is the wave which I saw on my oscilloscope.

TEK0000.PNG
320 x 240 - 58K
320 x 240 - 5K
Sign In or Register to comment.