Raspberry Pi: PWM in GPIO (Python)

This is a tutorial on how to implement Pulse Width Modulated (PWM) in Raspberry Pi 2 and 3 using Python.

Since the Raspberry Pi 3 uses the BCM2837 and currently I could not find the specification sheet of BCM2837. I shall assume that the GPIO for the BCM2837 and the BCM2835 (Pi 2) are the same since the Pi 2 and Pi 3 Model B looks the same. I will use the Specification Sheet of the BCM2835 for reference.

I’ll check slowly check if there’s a difference among the two in terms of GPIO.

Raspberry Pi PWM

Continue reading Raspberry Pi: PWM in GPIO (Python)