ELM405
Output Waveforms (continued)
is very common is the 2x decoder, as used by the
ELM404. We do not currently offer a product with 1x
decoding - if you require one, you will need to use the
ELM401 and decode the signal with your own logic.
an industrial setting), and the setting could ‘creep’ with
time – even though the shaft was not turned.
Generally, output pulses will occur in groups of
four (between each detent), so resistance values or
settings will repeat consistently as the shaft is rotated
in one direction and then in the other. Depending on
when the shaft changes direction, however, the pulses
may not be generated in groups of four. If you are
designing a circuit and require that the controlled
variable must repeat exactly as the shaft is turned in
either direction, you may prefer to use a 2x decoder
such as the ELM404.
Output pulses do not always occur when one of
the inputs change. After startup, the first output can
not be generated until the ELM405 has seen both of
the inputs change, and no output is generated until
then. Also, if an input is seen to be ‘chattering’ the
ELM405 will block the output. Chattering can occur
when the shaft is wiggled, or when it is subjected to
severe vibration. Figure 7 below shows how the
ELM405 handles the multiple inputs due to chatter. If
this logic were not in place, multiple outputs could
occur due to vibration (as found in an automobile, or
Change in B (expecting a change in A)
causes the ELM405 to anticipate a change
in direction, and generate a Down output
A changes, meaning that
the shaft is now rotating,
and pulses can be output
Multiple pulses are ignored while
the ELM405 waits for a change at
the A input
The shaft direction
changes again
A Input
B Input
CS
Clk
U/D
Figure 7. Input Chattering
ELM405DSA
Elm Electronics – Circuits for the Hobbyist
8 of 10
www.elmelectronics.com