Main Site Documentation

Fez Domino & Servo


#1

Hi,
I’m new in this world and I’m trying to make a little project with Fez Domino and servo.
I started with the guide http://code.tinyclr.com/project/139/rc-hobby-servo-control/ and I used the Hitec hs-645MG but it dosen’t work very well.
I want explane my problem, I downloaded the file and I created the project with the same test example but the servo dosen’t stop. I tried to write only. “servo.move(-10)” but the direction is only right!

I will show you the movie what happened and what is my problem.

I don’t know because the servo continues to turn but just stop the right angle. I tried with this servo and another but the same thing was happen.

(Sorry for my bad english)

I tried to send only a single pulse and I followed the information on this page: http://www.servocity.com/html/hs-645mg_ultra_torque.html



PWM servo = new PWM((PWM.Pin)FEZ_Pin.PWM.Di10);
servo.SetPulse(20 * 1000 * 1000, 1250 * 1000);
Thread.Sleep(1000);//wait for a second



#2

Sorry I’m so stupid, I used the external power and It’s normal that it dosen’t work.
Just one thing, the external power I need to attacch in VBAT or 5 Volt pin?


#3

Here a couple posts that may help: