Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Controlling a Servo with Raspberry Pi and Python

Paul McWhorter via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn to control a servo motor using a Raspberry Pi and Python in this comprehensive tutorial. Follow step-by-step instructions to accurately achieve desired servo positions, covering topics such as powering the servo, understanding PWM signals, pulse width, and servo positioning. Explore practical applications through hands-on lab exercises, including setting left, middle, and right positions. Gain proficiency in Python programming for servo control by importing necessary libraries, writing and editing programs, and implementing loops for continuous servo movement.

Syllabus

Introduction
Powering the Servo
PWM
Position
Pulse Width
Servo Position
PWM Command
Period
Lab Position
Middle Position
Right Position
Entering the Python Shell
Importing the RPI Library
Writing a Python Program
Editing the Program
Running the Program
Looping the Servo

Taught by

Paul McWhorter

Reviews

Start your review of Controlling a Servo with Raspberry Pi and Python

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.