Quantcast
Channel: User periblepsis - Electrical Engineering Stack Exchange
Viewing all articles
Browse latest Browse all 1474

Comment by periblepsis on Get a analogue voltage from a PWM signal to emulate fuel gauge

$
0
0
@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.4‌​7216891\$. 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.

Viewing all articles
Browse latest Browse all 1474

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>