@Skele_C I get a minimum of \$\frac{12\:\text{V}}{1+\frac{240\:\Omega}{40.5\:\Omega}}=1.73262032\$ and a maximum of \$\frac{12\:\text{V}}{1+\frac{240\:\Omega}{281\:\Omega}}=6.47216891\$. But it is a curve(see Desmos.) Does the PWM run from exactly 0% to exactly 100%? Or some subset of that? How exactly do you want the PWM percentage to map to the voltage reading? You show a linear mapping. But really? Just want to be sure.
↧