Square Wave Frequency Conversion
What would be the best way to use the Stamp to output square wave frequencies?
I want to read a square wave frequency ranging from 0-5Khz and output it with a varible offset based on a percentage. Example:· 2500hz in and x10% out. I'm new at this so bare with me.
thanks
Randy
Post Edited By Moderator (Chris Savage (Parallax)) : 3/3/2006 4:08:55 AM GMT
I want to read a square wave frequency ranging from 0-5Khz and output it with a varible offset based on a percentage. Example:· 2500hz in and x10% out. I'm new at this so bare with me.
thanks
Randy
Post Edited By Moderator (Chris Savage (Parallax)) : 3/3/2006 4:08:55 AM GMT
Comments
You might already know this, but incase you don't: You can use the PULSIN command twice to do frequency counting (crossing zero) of your input sigal. I think you could use the FREQOUT command and an opamp to square up an output signal. Let us know what you end up doing, as I am sure it would be of interest to folks.
thanks
Randy
Do you want to measure square waves (easy) or produce them (not so easy)?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax