intermediate

PWM, Servos and Motors on the Pi

Move things from a Raspberry Pi: hardware versus software PWM and why Linux timing jitters, driving servos with gpiozero, a PCA9685 servo driver over I2C, DC motors through an H-bridge, powering servos and motors separately with a common ground, current and stall budgets, duty-cycle arithmetic, and safe start-up and shutdown of moving parts.

65 min

PWM, Servos and Motors on the Pi

Move things from a Raspberry Pi: hardware versus software PWM and why Linux timing jitters, driving servos with gpiozero, a PCA9685 servo driver over I2C, DC motors through an H-bridge, powering servos and motors separately with a common ground, current and stall budgets, duty-cycle arithmetic, and safe start-up and shutdown of moving parts.

In this lesson:

  • pwm
  • servo
  • motor
  • h-bridge
  • pca9685
  • gpiozero
  • hardware pwm
  • dc motor
  • power
  • actuators

🔒 This lesson is part of a paid plan

This lesson is part of the Pro plan. Upgrade to unlock the full lesson, the labs and the exam.

Upgrade Now

Official References

This lesson is part of a paid plan

Upgrade to Pro to unlock this course, its labs and its exam.

View Pricing Plans