>Hi,
>
>Iam building myself a UV light box timer, everything is working fine so far
>and now I want to try and use a mouse encoder with a knob on the end so
>I can dial in the time to count down from. This is where I need some advice,
>looking at a mouse with a scope I find 3 pins on the photo transistor
>or whatever it is and 2 pins output a square wave when I spin the encode
>wheel.
>Iam ok so far, but how do I detect which direction the wheel is spinning? I
>thought you get one pulse on both pins for one direction and a pulse only
>on one pin and not the other for the opposite direction. This doesn't appear
>to be happening, or at least I can't see it and it's quite tricky spinning
>by
>hand and trying to study the waveforms as I have my scope triggering off one
>of the pins so I can see the phase difference between channels a and b.
>
>Oh.. and Iam using a 16f84 to drive the seven seg leds and read the mouse
>encoder
>
>Hope that made sense !
>
>I'd appreciate any help
>
>Thanks,
>
>russell.
>
>--
>
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
>email
EraseMElistservspam_OUT
TakeThisOuTmitvma.mit.edu with SET PICList DIGEST in the body
>
>
>