I'm in search of a multiplexer that allows me to input 16 digital lines and get a 4-bit digital output. The closest I've come is a 74LS151, 8 inputs and 1 output.
Thanks for your reply and to clarify my poor explanation. I have 16 switches (on or off, high or low) I want to reduce the number of inputs to four by coding their input into 4 bits, thus 16 possible combinations, 0-15. Note: Only one switch is active at one time.
- - - Updated - - -
- - - Updated - - -
- - - Updated - - -
Thanks ½ dime, I'm into that if no other solution will show.
That will totally NOT do what you want. The 151 is a data selector: the 4-bit selector input determines which of 16 inputs appears on its single output. It is not 4 outputs as your original post requested.
I think what the OP wants is to generate a 4-bit code depending which of sixteen inputs is (exclusively) active. The closest device to this is a priority encoder. But it would be a simple task for a PLD.