DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

ELM402 View Datasheet(PDF) - Elm Electronics

Part Name
Description
Manufacturer
ELM402 Datasheet PDF : 9 Pages
1 2 3 4 5 6 7 8 9
ELM402
Example Applications
Figure 6 below shows how the ELM402 might be
used with a microprocessor. Pullup resistors of 10 K
are used with the rotary encoder to provide voltages
for the A and B inputs. Power for the ELM402 has
been obtained from the microprocessor circuit, but a
small capacitor has been added to ensure that the
supply is filtered. The output is not inverted (pin 5 is at
0V), so pins 6 and 7 are normally at 0V, providing
positive-going pulses only when the rotary encoder is
turned. To allow the microprocessor plenty of time to
poll the signals, an output period of 2.0 msec has been
chosen, by setting pin 4 to VDD. The positive supply
has been shown as VDD, as the ELM402 will operate
with any voltage from 2.0 to 5.5 volts.
The other schematic (Figure 7) shows how the
ELM402 might be used with a digital potentiometer
chip, in this case the Maxim MAX5128. Note that the
ELM402 does not support the write function for chips
such as this, so every time that the circuit is powered
up, the wiper returns to the midpoint position. Since
the Maxim data sheet specifies a rather large bypass
capacitor (0.1 µF), we have shown it here, but you
may not need a capacitor that big if there are no writes
being performed. The ELM402 has been set for
0.2 msec positive going output pulses which are
considerably more than the 80 nsec minimum time. As
the MAX5128 requires positive-going pulses, we have
not put any pullups on the ELM402 outputs, but this
may be a consideration with other potentiometers.
That’s about all there is to using the ELM402.
Connect pullup resistors to your rotary encoder,
connect the encoder signals to the ELM402, then
connect the ELM402 to the controlled circuit. Use a
common supply for all the devices, and add a bypass
capacitor across the supply line. The controlled
devices can be digital pots, microprocessors, or almost
any circuit that will accept CMOS signals. Enjoy!
VDD
VDD
VDD
0.01µF
10 K
10 K
1
8
your microprocessor
port pins
2
7
A
rotary
encoder
B
C
3
6
VDD
4
5
Figure 6. Connecting the ELM402 to a microprocessor
+5V
10 K
A
rotary
encoder
B
C
+5V
1
2
3
4
Figure 7. Connecting the ELM402 to a MAX5128
8
7
8765
6
5
MAX5128
+5V
0.1µF
H WL
1234
ELM402DSA
Elm Electronics – Circuits for the Hobbyist
www.elmelectronics.com
9 of 9

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]