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

Python • PCM to PWM help

$
0
0
I am attempting to use 4 different motors independently, using 4 ln298n motor controllers. I would like to use PWM on all four, but for the pi 4b, there only seems to be 2 PWM pins. What pins should i use for IN1 and IN2 (on motor controllers) and which ones should i use for ena (PWM) on gpio?

Tldr:
what pins do i use when trying to control 4 independent motors using LN298N motor controllers when attempting to also use PWM on all 4.

Statistics: Posted by popichu — Thu Mar 07, 2024 5:40 pm



Viewing all articles
Browse latest Browse all 1268

Trending Articles