Trevor Switkowski

quadrature decoder within microcontroller

Discussion created by Trevor Switkowski on Mar 7, 2006
Latest reply on Mar 20, 2006 by Jeff Smith
Hi, i was wondering if you could help me out with the software required to decode a quadrature encoded signal coming from an IR detector. I want to create a 'rotary switch' and need to make sense of the signal coming from the device (2 data lines). I am using a coldfire 5213 (i know its not 16 bit, but there isn't a 32 bit forum). as a side note, will i need any kind of amplifier, or will the square wave output from the detector be able to be connected straight to an input on the processor?

Thanks,
Trevor

Outcomes