Measuring amplitude
TG
Posts: 36
I want to monitor a DC signal and when its amplitude gets over X, then the STAMP will output a high signal to a pin. I will set X using a turn-pot. I am not too sure what approach to take concerning the amplitude measurement. Any ideas? Thanks in advance
TG
TG
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Truly Understand the Fundamentals and the Path will be so much easier...
Attached is a screen shot of data. The red trace is shock position from the linear pot. The area inside the yellow box is what I want to detect.
Post Edited (TG) : 6/9/2005 4:36:24 PM GMT
IF the pulses transitioned the 2.4V logic threshold (hope I got that level right) then you could use the count command or pulsin (being that it's about a 24Hz ringing).
http://cache.national.com/ds/LM/LM231.pdf this is a voltage to freq converter but they do have a sample circuit for a freq to voltage converter....of course you might need to amplify your ringing so that it crosses a certain voltage level!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
http://ca.geocities.com/steve.brady@rogers.com/index.html
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
LM2907....and look at the Typical Applications section. If you have questions on its operation, write back.
K
Post Edited (KenM) : 6/9/2005 7:31:58 PM GMT