I was looking for help because this rotary dial has multiple pins,
my guess is the 2 is for when you push the rotary dial down but the 3 pins what are those 3 for.
I also was carious what topic would be best to learn to program a rotary dial.
I was looking for help because this rotary dial has multiple pins,
my guess is the 2 is for when you push the rotary dial down but the 3 pins what are those 3 for.
I also was carious what topic would be best to learn to program a rotary dial.
That is a rotary encoder. I use the Encoder library for those.
This page has a tutorial on how they work.
https://www.pjrc.com/teensy/td_libs_Encoder.html
You are right. The 3 pins are A, B and common or ground. The 2 pins are for the switch and common.
+,- and what is the 3rd for?
im guessing to connect to the board?
That encoder is a quadrature encoder. That means that 2 outputs (A and B) are 90 degrees out of phase. That allows one to be able to sense not only how far the shaft is turned, but also the direction. The tutorial that I linked and any number of pages found through a search like @Delta_G mentioned will explain in detail.
No !
A rotary-encoder requires two input-pins of the microcontroller
because you have two contacts that open/close at different times.
This is explained in this tutorial posted by groundfungus
https://www.pjrc.com/teensy/td_libs_Encoder.html
you should stop making assumptions and start real learning by reading
best regards Stefan
This Article is a must read for understanding and programming quadrature rotary encoders.
As the others have said, that's a Rotary Encoder
I think most people would think of this as a "Rotary Dial":
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.