How to Fix LED Not Responding to PWM Signals on BeagleBone Black?
Hey guys, am developing a lighting control system using a BeagleBone Black running Embedded Linux using microcontroller(
AM335x ARM Cortex-A8
). The system needs to control the brightness of an LED using PWM. i have ensured that the Adafruit_BBIO
library is correctly installed and imported in your script, adjusted the PWM.set_duty_cycle()
values to ensure they are within the valid range (0-100). but i keep encountering errors such as the LED not responding to PWM signals.
4 Replies
Could you try with another PWM channel
i think PWM channel driver is still using it
Okay would try that now @melta101
@Boss lady Make sure that the
PWM
pin (P9_14)
is correctly configured for PWM
output and that there are no conflicts with other peripherals. check the BeagleBone
Black pin configuration in the device tree and : You can use the config-pin
utility to configure the pin for PWM
. Try running the following command in the terminal:
Make sure you get no errors when running this command.