Uploaded February 2022 | Updated December 2026, 3 hours ago
Use PWM on the Raspberry Pi Pico to control LED brightness with a potentiometer (variable resistor) in MicroPython. This demo reads the pot via the ADC and fades the LED accordingly.
🛠Gear used in this video (Amazon affiliate links):
• Raspberry Pi Pico: amzn.to/3RWnkm5
• 10kΩ potentiometer: amzn.to/4xrry5j
• 5mm LED: amzn.to/43vOGly
• Resistor kit (220Ω): amzn.to/4fDnhp5
• Micro USB Cable: amzn.to/3ShZm4G
• Breadboard: amzn.to/4xnppYn
• Jumper Wires: amzn.to/3PXJUKu
As an Amazon Associate we earn from qualifying purchases.
(Demo) Raspberry Pi Pico PWM Control LED Brightness with Variable resistor
microcontrollerslab.com/raspberry-pi-pico-pwm-micropython-tutorial
Use PWM on the Raspberry Pi Pico to control LED brightness with a potentiometer (variable resistor) in MicroPython. This demo reads the pot via the ADC and fades the LED accordingly.
🛠Gear used in this video (Amazon affiliate links):
• Raspberry Pi Pico: amzn.to/3RWnkm5
• 10kΩ potentiometer: amzn.to/4xrry5j
• 5mm LED: amzn.to/43vOGly
• Resistor kit (220Ω): amzn.to/4fDnhp5
• Micro USB Cable: amzn.to/3ShZm4G
• Breadboard: amzn.to/4xnppYn
• Jumper Wires: amzn.to/3PXJUKu
As an Amazon Associate we earn from qualifying purchases.
(Demo) Raspberry Pi Pico PWM Control LED Brightness with Variable resistor
microcontrollerslab.com/raspberry-pi-pico-pwm-micropython-tutorial