Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5859

Advanced users • Re: Rpi5 servo gpiozero only goes 1/2 distance

$
0
0
Check the documentation carefully for what units the min and max pulse lengths need to be. On many servo library calls of that nature the times are in microseconds, not seconds, so you would use 400 and 2400. The 'standard' range is 1000 to 2000. I suggest changing the limits by no more than 100 at a time to avoid over-driving the servo.
I just had a similar problem driving a servo from a Pico. I could put an oscilloscope across the output to check that the output timings are correct, but an error like that would probably have been noticed soon after the library was released, so I assumed the servo needed non-standard timings. Using a range of 700-2400 fixed it.

Statistics: Posted by IanS — Tue May 07, 2024 10:43 am



Viewing all articles
Browse latest Browse all 5859

Trending Articles