Pages created and updated by Terry Sturtevant Date Posted: April 29, 2015

PC/CP220 Digital Electronics Lab

How to Cascade Encoders


Encoder Chip

Sometimes you have more inputs than can be used with a single encoder chip. For instance, if you have 16 inputs but your encoder chip only takes 8 or 10. In that case, you want to cascade the encoder chips so that instead of having two sets of three bit outputs, you have a single four bit output.
You can use the 74148 IC as the encoder in this case. It has a few additional inputs and outputs compared to the 74147. Some of these extra pins are what allow these devices to be cascaded.
Below is the schematic for how to cascade two 74148s to give a single 4 bit output. Note that while the inputs are active low, the outputs are active high.

cascading circuit
Active low inputs

In some cases, such as this, you will be using the keypad for input to devices which use active low inputs. This means that you will want a key pressed to give a low output on the corresponding line. To do this, simply switch the common connections of the keypad and resistor array mentioned above. This means you will connect the common pin of the keypad to ground and the resistor array to Vcc (+5V).

keypad for active low output

The actual resistor value isn't critical; anything between about 100 Ω and 1 k Ω should work. If the resistors get too large, then the circuit will stop working; if the resistors get too small, there will be excessive current drawn from the circuit. Ideally you want to choose a large value that works consistently.


To view pdf documents, you can download Adobe Acrobat Reader .
get Acrobat Reader
If you need to update a browser, you might try Firefox which is Get Firefox!
Since this page uses cascading style sheets for its layout, it will look best with a browser which supports the specifications as fully as possible.

If you are looking for an office package, with a word processor, spreadsheet, etc., you might try LibreOffice which is Get LibreOffice!

Go to the main page for the Department of Physics and Computer Science.

Valid XHTML 1.1

Valid CSS!

WCAG 2.0
(Level AA)

Wilfrid Laurier University