EveryCircuit
Contact
Reviews
Home
roops1967
modified 6 years ago

Multiplex digits

6
12
500
03:58:12
Multiple digits driven by a single decoder, like on the clock radios. I wanted to see if EveryCircuit can be fast enough for convincing persistence of vision. Its not great I think that's down to mismatch of the refresh and the speed of the cycling. If you getting missing digits, try slow down the sim speed and speed up again. nikkisalli (you still around?) had done something like this way back, but it was sluggish on EC then. Seems a lot faster now if using the right components. Couldn't use the 7digit displays in EC cos can't access their cathodes, which is needed for the multiplexing in this circuit. The 7 outputs of the decoder are connected to the segments of all 4 numbers in parallel. The logic on the right is just there to start off the shift registers cycling correctly. It clocks the 'counter/shiftregisters' back twice to 14 (binary 1110). The registers continously shift the '0' round, pulling low the cathodes of each number cycling very fast. The decoder counts 0 to 3 instep with the cycling. The clock generator is the fastest possible in EC (I think), self toggle inverter through 2 buffers (to increase the propagation so that the inverter starts toggling ). Have a go getting the numbers in the right order 0123 by tapping the switch in the middle. This temporarily unlinks the cycling from the clock. You may notice I have wired up the shifting and the counting to the same timing of the clock. Realistically there should be a slight latency between the shifting and counter being displayed. But in EC the latency/propagation delays don't seem to apply to the shiftregisters/counter and the 7digit decoder, they only apply to the logic gates and the flipflop latches (that's what I've found anyway)
published 6 years ago
wyoelk
6 years ago
On my LG G5 phone almost random, but after tapping the switch several times it mellows out and shows all 0's
wyoelk
6 years ago
Welcome back ol' boy
hurz
6 years ago
after three or four and another 5 or 6
roops1967
6 years ago
Ol boy?!? Lol, I guess I don't make my age a secret
roops1967
6 years ago
Oh it's not suppose to show all zeros wyoelk. Slow the sim speed right down you'll see what its doing, and speed it back up again see if you get a better sync with your refresh, its dodgy
roops1967
6 years ago
It doesn't go pass 3 hurz. I reckon it's really hardware dependent on the speed of your device and screen refresh. It's not doing what I was expecting on other people's phones, well atleast I made a great random number generator Ha ha
lenzrulz
6 years ago
It displays 30:2 when slowed down...
roops1967
6 years ago
Thnx lenz, that is the order it starts with 3012, the : is the 1.. I ran out of vertical space :P
maxmax_66
6 years ago
Works for me. Got 0123. Nicely done.
roops1967
6 years ago
Weyhey we have a winner :) Thanks max
LJ1234
6 years ago
Read the comments: Yeah, 3012. Nicely done.You could make the "1" clearer by moving the lit lights to the three set beside the two set.
roops1967
6 years ago
Hi sorry for the late reply LJ1234. Not sure I understand. If you are suggesting to add middle led then it's gonna get tricky, if space permits then will have to add a logic gates to check either above or below is lit. If this is not what you're trying to explain, then please demonstrate :)

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy