4.53 out of 5
4.53
1288 reviews on Udemy

PID Control with Arduino

Learn to implement the widely used industrial controller on the Arduino platform! (For students, makers, and engineers)
Instructor:
Nabil Mohammad
13,058 students enrolled
English [Auto]
Students will gain an intuitive insight into how a PID controller works and how to implement it on the Arduino Platform!
Use the PID algorithm for their Arduino or microcontroller-based projects such as quad-copters, self balancing robots, temperature control, motor speed control, and much more!

Learn the basics behind how a proportional-integral-derivative (PID) controller works and how to implement one on the Arduino hardware!

A PID controller is the most common feedback controller used in the industry, but they can also be used for hobbyist electronic projects such as quad-copters, self-balancing robots, temperature controllers, and much more! In this course, we will not be going into the classical control theory behind PID controllers, instead we will approach the controller intuitively so that it’s role and implementation is practically understood. 

The lecture series contains 7 lectures covering: 

  • Feedback Systems, P, PI, and PID Controllers
  • Arduino Implementation and Live Demonstration (Propeller Arm Example)
  • Heuristic PID Tuning 

A template for the Arduino code will also be provided and explained in the series. In order to demonstrate the controller in real-time, a propeller arm example has been constructed. The live demonstration will be used to explain the behavior of the PID controller and how to tune one heuristically. 

This course is suitable for any student, engineer, hobbyist, or maker who always wished to understand PID control in a easy intuitive manner; although a basic understand of electronics, C coding, and calculus is preferred. Having knowledge of feedback control prior to taking this course is also a plus!

After taking this course, you will not only understand PID control better, but you’ll become a lot more comfortable with designing projects that involve feedback control.

Course Lectures

1
Introduction to Feedback Systems and PID Control
2
Proportional (P) Control
3
Proportional-Integral (PI) Control
4
Proportional-Integral-Derivative (PID) Control
5
Implementing the PID Control Algorithm (Code Attached)

An Arduino template code for a PID controller is attached below!

6
Demonstration of PID Control (Propeller Arm Example)

Disclaimer Note: During the demonstration where I decreased the Kd value from 0.3255 to 0.103 which resulted in a sustained underdamped oscillation, I had also increased Kp from 2.1 to 2.4. Increasing Kp does increase overshoots but in this scenario it was mainly because I had lowered Kd value by nearly 68%.

7
PID Tuning (Ziegler–Nichols method)
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.5
4.5 out of 5
1288 Ratings

Detailed Rating

Stars 5
661
Stars 4
468
Stars 3
136
Stars 2
16
Stars 1
9
51fa3fc640aac548e7ae94bb77a07f41
30-Day Money-Back Guarantee

Includes

1 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion