Friday, 23 December 2011

Multiplexer

Check whether the 3 bit binary number given as input is even or odd.
Sol: Use a Multiplexer IC 74154. The inputs are S0,S1,S2. The other inputs D0,D2,D4,D6 are connected to +5V and D1,D3,D5,D7 inputs are connected to 0V. Vcc is connected to +5V and GND and enable pin is connected to 0V. Output is taken from Y.

ic74151

The led will glow when  S2 S1 S0 is 000,010,100,110 indicating , these are even numbers.

No comments:

Post a Comment