shinTheOne
Posts: 1
Joined: Wed Apr 25, 2018 2:45 am

How to control a servo using PWM pulse(1100-1900) using RPi?

Wed Apr 25, 2018 2:48 am

How to control a servo using PWM pulse(1100-1900) using RPi? Where can I get started?

texy
Forum Moderator
Forum Moderator
Posts: 5155
Joined: Sat Mar 03, 2012 10:59 am
Location: Berkshire, England

Re: How to control a servo using PWM pulse(1100-1900) using RPi?

Wed Apr 25, 2018 8:54 am

Hi and welcome to the forum.
Lots of options, here is a good starting place :
viewtopic.php?t=43579

Texy
Various male/female 40- and 26-way GPIO header for sale here ( IDEAL FOR YOUR PiZero ):
https://www.raspberrypi.org/forums/viewtopic.php?f=93&t=147682#p971555

User avatar
B.Goode
Posts: 8256
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: How to control a servo using PWM pulse(1100-1900) using RPi?

Wed Apr 25, 2018 9:02 am

In addition to the prompt reply from a Moderator -

It might be too obvious to say that you will need to install an Operating System on a microSD card and boot your RPi from it.

If you choose the Raspberry Pi Foundation recommended and supported Raspbian Operating System then you would have access to the gpiozero Python library module. This includes built-in support for common hobbyist 'Little Blue Servos' - it is implemented by calling on the pigpio library already mentioned.

http://gpiozero.readthedocs.io/en/stabl ... html#servo

Return to “General discussion”