Electronic Components Datasheet Search
  English  ▼

X  

ELM404P Datasheet(PDF) 7 Page - ELM Electronics

Part # ELM404P
Description  Rotary Decoder - 3 wire 2x Interface
PDF  9 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ELM [ELM Electronics]
Direct Link  http://www.elmelectronics.com
Logo ELM - ELM Electronics

ELM404P Datasheet(HTML) 7 Page - ELM Electronics

  ELM404P Datasheet HTML 1Page - ELM Electronics ELM404P Datasheet HTML 2Page - ELM Electronics ELM404P Datasheet HTML 3Page - ELM Electronics ELM404P Datasheet HTML 4Page - ELM Electronics ELM404P Datasheet HTML 5Page - ELM Electronics ELM404P Datasheet HTML 6Page - ELM Electronics ELM404P Datasheet HTML 7Page - ELM Electronics ELM404P Datasheet HTML 8Page - ELM Electronics ELM404P Datasheet HTML 9Page - ELM Electronics  
Zoom Inzoom in Zoom Outzoom out
 7 / 9 page
background image
7 of 9
ELM404DSA
Elm Electronics – Circuits for the Hobbyist
www.elmelectronics.com
ELM404
Output Waveforms
Once the ELM404 has some bounce-free signals
to work with, it can generate outputs based on them.
The logic to decode the motion of an encoder
shaft is not as simple as it would first appear. Some
authorities recommend simply monitoring an input and
when it changes, provide an output based on the level
of the other input. This does not always work, as the
encoder can output multiple signals from only the ‘A’ or
or only the ‘B’ contact if the shaft is moved ever so
slightly when at the detent or at the mid-point position
(between detents). Simply seeing one input change is
not sufficient to say that there is any significant shaft
rotation.
The ELM404 monitors both ‘A’ and ‘B’ transitions,
and determines the outputs based on the sequence in
which the transitions have occurred. This is a better
way to guarantee that the output signals are generated
properly. The internal logic also performs some self-
checking, and monitors for problems such as an output
pulse being initiated before the previous one had
completed, which might occur for some very fast
inputs (the second one will be ignored in this case).
The output of the ELM404 is a series of pulses, as
shown in Figure 4 (representative pulses are enlarged
and shown in Figures 5 and 6). When the encoder is
moving in a clockwise direction, the pulses will be
generated with the U/D output at a high level, while a
counter-clockwise rotation of the shaft results in pulses
generated with the U/D output at a low level. The
direction assumes that the encoder is a standard one,
where the ‘A’ signal leads the ‘B’ for a clockwise
rotation. Note that an Up output is always a result of a
change in A followed by a change in B, while the Down
output is from a change in B followed by a change in
A. Figure 4 also shows what happens when the rotary
encoder shaft is ‘wiggled’, generating pulses on only
the A or only the B input - the logic detects this and
ignores them. In order for an output to be generated,
the ELM404 must see a change on one of the rotary
encoder inputs followed by a change on the other
input.
Note that the ELM404 uses what is known as 2x
decoding of the signals. This means that for each
motion of the shaft between the detents, when the ‘A’
and ‘B’ outputs go through one complete cycle, there
will be two output signals. The other type of decoder
that is very common is the 4x decoder, as used by the
ELM405. We do not currently offer a product for 1x
decoding - if you require that, you will need to use the
ELM401 and decode the signal with your own logic.
Figure 4. Output signals (pin 4 = 0V)
A Input
B Input
CS
Clk
debounce
delay
A ‘wiggle’ or vibration causes B to change,
but A does not, so the pulse is ignored
U/D



Html Pages

1 2 3 4 5 6 7 8 9


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com