Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4151

Troubleshooting • RPI 5 PWM fluctuate Problem

$
0
0
Hi,


My Raspberry Pi 5 (RPi5) isn't generating a stable PWM signal on the freshly installed Raspberry Pi OS (December 5th, 2023 version-raspios-bookworm-arm64), I'm running a simple PWM code. I verified this fluctuation using a logic analyzer before even connecting an LED. I'm using the recommended gpiozero Python library, and all the RPi5 wires and connections are proper.

Code:

from gpiozero import LEDfrom time import sleepred = LED(17)while True:    red.value(0.5)    sleep(1)
pwm.jpg

pwm fluctuate.png

Statistics: Posted by rahul_c — Thu May 16, 2024 4:49 am



Viewing all articles
Browse latest Browse all 4151

Trending Articles