Quick BS2 Timing question
SouLJah
Posts: 35
I am using a ADC to read the values of 2 analog waves, I want to measure the time difference between each wave reaching its peaks, and the time difference is miliseconds apart, what device could I SUCCESSFULLY use to achieve this.· If you have an answer help me out, thanks.
Comments
Also, most A to D converters do take SOME time to sample the signal.
Also, the BS2 runs at about 300 uSec per instruction -- so you may only be able to take two or three samples between the 'peaks'.
Short answer -- this could be asking too much of the BS2.
The external circuitry required would depend on the shape and cleaness of the signals. A peak detector often consists of a differentiator, followed by a zero crossing detector.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com