Demultiplexer

beenthere

Joined Apr 20, 2004
15,819
How is it the Demux knows which corresponding LED to switch on from the input from the MUX? Doesn't MUX just give a Logic 1 when the correspoding select input is toggled/selected? So the output should be just a logic 1 and the *E should only get a logic 1???
Obtaining a data sheet for each IC will explain how and why each one works. That should cover the next four questions.

One hint, though - A LED is a current operated device. Each will need a limiting resistor in series if you wish to keep them and the 'LS138 operating. About 300 ohms should be good.

1. Vcc is the positive voltage supply that operates the TTL IC's. A logic "1" will approach Vcc, but the data sheets will show you that LSTTL can't output the full Vcc level.

2. Ground is defined in lots of ways. It is a measurement reference for logic levels. The ground bus sources electrons to run the IC's. That is covered in basic electricity texts.

3. The square wave is known as a "clock source". The counter can't count without one.

4. A timing diagram shows the progression of outputs as clock pulses are received. A truth table gives all possible output states. A timing diagram on paper has no effect on or by an actual logic output from an IC. Both inputs and outputs can be active high or low. That is why understanding a data sheet is really important.

5. Again, look at the data sheet. You are using the Q1 - Q3 outputs. The count rolls over to 000 from the maximum of 111. It's not an up/down counter.
 
Last edited:

beenthere

Joined Apr 20, 2004
15,819
From your first post -
I have 3 circuit ICs 74LS93(Binary counter), 74LS151(MUX) and 74LS138(DEMUX/DECODER).
The 'LS138 is a shorthand notation. All logic IC's work as the data sheet says they do.
 

JDT

Joined Feb 12, 2009
657
You are missing something important on this circuit.

Where the select inputs on the mux (A0 A1 A2)? When you find them, what are they fed from? The binary counter?

Need to know.
 

Thread Starter

Dorumon

Joined Oct 8, 2009
24


The Diagram is updated correctly. And I think I figured it out AFTER 3 FREAKING DAYS, to make things simple, I drew a Truth Table, please reassure my assumption whether its correct or not.



2 Tables, top for Enabled, below for Disabled.

1) When the DEMUX is enabled and a Binary Counter is continously pulsing through it, all the LEDs will be Light Up and the Output will be the LED that is Not Light Up and running through all 8 Output LEDs. This is because the DEMUX has active low outputs where Logic 1 does not light up the LED.

2) When the toggled is switch on, the DEMUX is disabled. All 8 LEDs are Light Up. However, as the Binary Counter is continously pulsing through it, the Enable/Disable state switches instantly. So the running LED continues to run, but skips when it (For example we use Switch I0) reaches I0 and LED I0 never switches off because when the DEMUX is enabled, it is Switch On and the running LED never reaches it because when it reaches its turn and when the DEMUX is disabled, it also remain Switch On.

Am I right? I just need reassurance?

And also 1 more thing I want to confirm is for active low activation, a 1 is still required for activation right? Its just that a 0 is needed to be pulse in for it to be activated. But the 0 is than conveted into a 1 and activates.

For example for an active low enabled, E = 0, so E* = 1 so it activated
E = 1, so E* = 0, so it does not activate right?
 
Last edited:
Top