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

General • Re: Disparity in PWM outputs

$
0
0
The output voltage of a GPIO is not fixed. It depends on how much current it is sourcing or sinking. For low output level, the voltage will be close to 0V when not sinking any current and will increase with sink current. For output high level, the voltage will be close to 3.3V and decrease with source current. This is true of 3.3V CMOS digital outputs generally, not just microcontrollers.

You should use a motor driver that doesn't put significant load on the microcontroller GPIOs and doesn't care about the GPIO output voltage, so long as it is well within the voltage range for logic low or high level.

Statistics: Posted by alastairpatrick — Thu Mar 21, 2024 4:47 pm



Viewing all articles
Browse latest Browse all 5108

Trending Articles