heikok
Posts: 4
Joined: Thu Nov 24, 2016 9:14 am

Re: Scratch servo control

Thu Dec 15, 2016 5:35 pm

I used the demo program and my own programs. I used the servo commands %-100 to %100 which should generate pulses from 1 to 2 ms. I used 2 servos. At least one servo is able to turn for 180°. But in the demo and in my program it only turns for 90°. Can you imagine, what is the fault?
Servo data: http://www.servodatabase.com/servo/hitec/hs-475hb
THX for your ideas...

timrowledge
Posts: 1286
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: Scratch servo control

Fri Dec 16, 2016 4:39 am

As you say, the Scratch server currently uses pules from 1ms to 2ms and generally that it the recommended range. Some servos rotate more degrees over that range of pulses than others.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012

Return to “Scratch”