0
\$\begingroup\$

I am looking for the name of potentiometer like component which built in keyboards like Logitech G910, it sending just a plus and minus data I assume. Thanks

\$\endgroup\$
4
  • \$\begingroup\$ It's probably just a rotary switch or encoder (unlikely). You can easily figure this out by opening it up and looking at it. \$\endgroup\$
    – Ron Beyer
    Commented Mar 15, 2020 at 19:40
  • 4
    \$\begingroup\$ I assumed it to be a encoder which outputs gray code. \$\endgroup\$
    – Oldfart
    Commented Mar 15, 2020 at 19:41
  • 1
    \$\begingroup\$ That's basically the same as scroll wheel on mouse. \$\endgroup\$
    – Justme
    Commented Mar 15, 2020 at 19:43
  • \$\begingroup\$ en.wikipedia.org/wiki/Incremental_encoder#Quadrature_outputs \$\endgroup\$ Commented Mar 15, 2020 at 20:23

1 Answer 1

5
\$\begingroup\$

You are describing a rotary encoder.

enter image description here

Figure 1. A typical rotary encoder.

These consist of two switching contacts (mechanical or optical) which give out a train of pulses offset by 90°.

enter image description here

Figure 2. The output waveform and the resultant count when rotating clockwise and anti-clockwise.

The offset allows determination of rotation direction. If, for example, we check the status of B every time A goes positive we can say:

  • If B is '0' then increment the count by 1.
  • If B is '1' then decrement the count by 1.

See Rotary encoder to 2 buttons for more and a sample circuit.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.