On Wed, 25 Jul 2001, Edson Brusque wrote: > > I mean, if the wave is very clean, like a pure sinusoidal, I could try > to sample it between two zero-crossings and I will have a very precise > value. But what about if it does have some loud harmonics? For example, if > it's a sine with 100Hz plus a sine with 187Hz, both mixed and with the same > intensity, the zero-crossings will be all over the place so I can't sample > between two zero-crossing because the values will be meaningless. > If you know the frequency range of your signals then a second order Chebishev filter may help you to split your signal in two clean signals. If your signals have very close frequency than maybe a notch filter will help you more. I'm curious too if this problem could be done just in software and how ? Vasile -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads