YoVDO

Controlling a Servo with Raspberry Pi and Python

Offered By: Paul McWhorter via YouTube

Tags

Raspberry Pi Courses Electrical Engineering Courses Python Courses Servo Control Courses

Course Description

Overview

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

Related Courses

Information Theory
The Chinese University of Hong Kong via Coursera
Fundamentals of Electrical Engineering
Rice University via Coursera
Digital Signal Processing
École Polytechnique Fédérale de Lausanne via Coursera
Circuits and Electronics 1: Basic Circuit Analysis
Massachusetts Institute of Technology via edX
Solar: Solar Cells, Fuel Cells and Batteries
Stanford University via Stanford OpenEdx