Convert PWM Signal into DC Value
onaroll
Posts: 1
Hello
I have a 2XSX stamp and I want to input a PWM signal that will be between 1.0 ms and 2.0 ms and output a DC voltage level between 0-5V who's voltage level is proportional to the inputted pulse width. For example a Pulse width of 1ms outputs 1V; 1.5ms outputs 2.5V; 2ms outputs 5V... Any Ideas???????///
thanks
I have a 2XSX stamp and I want to input a PWM signal that will be between 1.0 ms and 2.0 ms and output a DC voltage level between 0-5V who's voltage level is proportional to the inputted pulse width. For example a Pulse width of 1ms outputs 1V; 1.5ms outputs 2.5V; 2ms outputs 5V... Any Ideas???????///
thanks
Comments
In addition to Yanroy's suggestion, you can use the PWM output of the Stamp in combination
with an OP-Amp configured as a "voltage follower".
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10