Quote:
|
Originally Posted by gwross
Al, there's a problem with your graph. The way you've drawn it. Each sensor is always low whenever the other sensor goes high. Without keeping track of time intervals between pulses, it won't be possible to tell the direction of rotation.
To reliably get direction information, you would need to position the sensors just far enough out of phase that the pulses overlap as illustrated below. Then when you see one of the lines go high, you can just check the other one, and immediately know the direction.
|
Greg,
Thanks for the correction. I need to stop trying to rush a post before I leave work. You don't get a chance to go back and look at what you've done.