variable voltage input to variable frequency 5v pulse
Archiver
Posts: 46,084
I'm about as new to this as anyone can get. I'd like to know if I'm
even looking in the right direction.
Can I take a variable 0-5v input and translate it into a respective
variable frequency 5v pulse out with the stamp?
even looking in the right direction.
Can I take a variable 0-5v input and translate it into a respective
variable frequency 5v pulse out with the stamp?
Comments
RCTIME would convert the DC input into time and your program would
convert the time into required operand for operator FREQOUT.
Of course there are limits for both operators, for details see the
manual.
Vaclav
> In general - yes. Using Basic Stamp operators RCTIME and FREQOUT.
> RCTIME would convert the DC input into time and your program would
> convert the time into required operand for operator FREQOUT.
> Of course there are limits for both operators, for details see the
> manual.
> Vaclav
A higher accuracy would be by using an ADC chip. Analog to Digital.
well documented in the manual.
to get the variable output, teh PWM command into a RC-op-amp will
offer that. Again well documented.