Electronic – SN74HC138 demultiplexer. How to implement a switch

digital-logicmultiplexeroutput

I have this demultiplexer and I need to configure it in such a way that I can control 8 transistors using its outputs. They NEED to be NPN transistors, so when I select an output using the addresses, it must give me logic level 1, not 0. The problem is, in the data sheet of this multiplexer there is a logic table and according to it there doesn't seem to be any possibility of getting a HIGH logic level at the selected output, and only LOW logic levels at the other, not selected, outputs. Is there a way I can do that using this demux?

Best Answer

Just add a second NPN as an inverter.

schematic

simulate this circuit – Schematic created using CircuitLab

Adjust resistor values and add speed-up caps and/or Schottky clamps to meet your speed and current requirements.

Related Topic