1
\$\begingroup\$

Basically I need some demultiplexers to switch between 24 outputs. The data inputs would be connected to counters for the addresses. I'm currently using 74ls138 3-8 line demultiplexers. Is this possible?

\$\endgroup\$
1
  • \$\begingroup\$ It sounds like what you want is like a single pole 24 position rotary switch where you can sample any one of 24 data lines and have that data come out of the switch common. If that's what you want to do then a '138 won't work. But maybe I'm misinterpreting what you meant. What do you want to do, actually? \$\endgroup\$
    – EM Fields
    Commented May 28, 2016 at 12:46

3 Answers 3

1
\$\begingroup\$

You can use 3 74HC138 8 channel decoders or 2 74HC154 16 channel decoders. Both IC's will drive 15mA loads at speeds of 20 MHZ. Both IC's are available in many package types. If your already working with counters then you know how to wire up the address selects for these IC's.

If the active low outputs need to be off while changing addresses, use the clock for the counters and connect it to the /EN pin of the decoders. If the counters count on the rising edge of the clock, the decoders will not have the addressed pin go low until the clock goes low. If this is not an issue you can wire the /EN pin of the decoders to ground.

NOTE: The 74LSxx series is from 30 years ago and has limited drive current (1mA). The output voltage cannot be higher than about 3.6 volts. They need 5.0 volts for power while the 74HCxx series will work down to 3.0 volts.

\$\endgroup\$
1
\$\begingroup\$

74LS138 has 3 enable inputs: G1, /G2A, /G2B.

Presumably you want to enable one for 00XXX, one for 01XXX and one for 10XXX.

So do a truth table and figure out how to wire up the three enable inputs to the two address lines and Vdd or GND.

\$\endgroup\$
0
\$\begingroup\$

If you have a signal line carrying 24 channels of multiplexed data, you can demultiplex it with three HC138's and a couple of synchronous (not ripple) counters, like this:

enter image description here

\$\endgroup\$

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