Nigel, After hooking up the encoder you sent me and looking at it with a scope I found it is working as advertised. I went to the ALPS website and lo & behold the documentation says it has detents on every other (2 of the 4 states) of the encoder output. That is why the encoder seems to be counting by 2 because it actually is. Attached is the waveform for the output of the encoder at the detents. The suggested connection is 5 volts thru a 10k to the switch. Then a 10k from the switch in series with a .01uF to ground with the connection of the 10k and the .01uF going to the processor. This provides a filter mechanism to counter act any switch bounce that may occure due to the nature of the rotary switch. Once again, Thanks Nigel....
Dave Purola,
N8NTA
Bookmarks