Problems with Encoder-Lib and PEC16-4020F Encoder

Status
Not open for further replies.

Koerby

Member
Hello

i've problems with the Encoder-Library and a PEC16-4020F Encoder on my arduino Uno (also Mega2560)
The Encoder does not count down, I use the Two-Knobs Example on the pins 2,3 (Interrupt)
I checked the code with an ALPS-Encoder and it works pretty fine.

The PEC16 is an not detent Encoder, can this be the problem?

Thank you very much
 
Detents don't matter for the electrical function. You probably have the encoder pins mixed up. Pin order on Alps is usually A C B, on the PEC16 it's A B C.
 
Detents don't matter for the electrical function. You probably have the encoder pins mixed up. Pin order on Alps is usually A C B, on the PEC16 it's A B C.


Hello tni
Thank you very much that was the issue. I never thought about the pinning.
 
Status
Not open for further replies.
Back
Top