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

Beginners • Re: Rpi 5 and Pan Tilt hat

$
0
0
but i didn`t find any new folders in /sys/class/pwm/pwmchip6 folder. Can you give an idea what should be created to check it existance?
First check if your dtoverlay works.

using lsmod you should see the pwm_pca9685 module loaded!

Code:

daniel@Pi5:~ $ lsmod | grep pwmpwm_pca9685            49152  4regmap_i2c             49152  1 pwm_pca9685pwm_fan                49152  0daniel@Pi5:~ $ 
if you don't see the pwm_pac9685 in then something is wrong.
N.B. The pca9685 needs to be connected when you boot the Pi5!

"echo 0 >/sys/class/pwm/pwmchip6/export" should create the folder pwm0 , 1 will create pwm1 , etc....

Well the latest push I did, I put a delay of 500ms after exporting all pwms. that should suffice enough.

Statistics: Posted by danjperron — Sun Mar 17, 2024 8:55 pm



Viewing all articles
Browse latest Browse all 8597

Trending Articles