Using the Raspberry Pi Pico [3] – PWM output with Micro Python

The Raspberry Pi Pico can output a PWM signal to each of its GPIO pins. In this article I  will try to use this feature to control a tri-color RGB LED and a servo motor. PWM on Raspberry Pi Pico The RP2040 has 8 PWM blocks as shown in the figure below, and each block has two signal outputs, for a total of up to 16 PWM outputs. PWM on Raspberry Pi Pico Each PWM block output is connected to a GPIO pin as shown in the correspondence below, so the Raspberry Pi Pico has PWM outputs available on all GPIO pins. Mapping of PWM outputs to GPIO pins Driving a tri-color RGB LED with a PWM signal Hardware connections Below is a wiring diagram of Raspberry Pi Pico’s I/O terminals and LEDs.The tri-color RGB LED used in this project is a LATBT66B from Akizuki Denshi, which is an anode

Read more