At 07:55 PM 4/29/03 +0200, QAC wrote: >In the Idle state (wheel standing still) it outputs >two "1" pulses, 2.5 us and 3.5 us long and with a >15.5 us delay between them. This is repeated each >190 us (or with 5.3 kHz). >It doesn't matter if there is a spoke or not in between. > >When the spokes moves in one direction, the second (3.5 us) >pulse becomes longer (aprox 13-14 us) and delay between >the pulses shorter with the same amount so the total >time for both pulses stays the same (21.5 us). > >When the spokes moves in the other direction, I had problem >with the triggering of the scope, but it looked like the >first puls gets longer instead, so that most of the >170 us delay becomes a long pulse (part of the "first" pulse). Is there a capacitor connected from that signal pin to ground (or Vdd?) If you disconnect the signal lead from the processor, are there pulses on the sensor line or the processor line? I'm thinking that the processor is outputting pulses and the sensor is modulating them in some way. An RCtime type measurement comes to mind. dwayne -- Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 19 years of Engineering Innovation (1984 - 2003) .-. .-. .-. .-. .-. .-. .-. .-. .-. .- `-' `-' `-' `-' `-' `-' `-' `-' `-' Do NOT send unsolicited commercial email to this email address. This message neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.