Hello,
I am making a project that involves servo and PWM controll. I am using Python and I tried multiple solutions for this problem. First solution that kind of worked was using gpiozero library. However, with this solution servo jittered a lot. Ive read about this problem and I find out that it was probably due to PWM being implemented using software. There comes the problem. I want to use hardware controlled PWM, but none of the solution in the internet worked for me. I tried using sysfs interface, but even though that command " sudo cat /sys/kernel/debug/pwm" shows that channels are working, I am not getting any output from pins (i checked using voltmeter).
Do you know any solution for this problem? Maybe help me making sysfs interface to work or any Python library? I want to emphasize that I am interested only in hardware controlled PWM.
I am making a project that involves servo and PWM controll. I am using Python and I tried multiple solutions for this problem. First solution that kind of worked was using gpiozero library. However, with this solution servo jittered a lot. Ive read about this problem and I find out that it was probably due to PWM being implemented using software. There comes the problem. I want to use hardware controlled PWM, but none of the solution in the internet worked for me. I tried using sysfs interface, but even though that command " sudo cat /sys/kernel/debug/pwm" shows that channels are working, I am not getting any output from pins (i checked using voltmeter).
Do you know any solution for this problem? Maybe help me making sysfs interface to work or any Python library? I want to emphasize that I am interested only in hardware controlled PWM.
Statistics: Posted by Pepesob — Sun May 26, 2024 12:31 am