EveryCircuit
Contact
Reviews
Home
w0rs3
modified 4 years ago

mux demux and flipflops

1
4
141
01:39:35
Imagine you have only a few GPIO pins free on your board, but you want to control the behavior of many actuators. Here this is only shown for 2 actuators, but this idea also works for more than 2. First of all a square wave signal is generated, which is used to clock mux, demux and the flip flops. The mux is used here for illustration purposes and replaces the board. If the square wave signal is positive, signal1 is currently transmitted, if it is 0, signal2 is transmitted. Because the signals are not continuously present, they must be stored. For this the flip flops are used here. 4 different input words can be set with the switches. Green is the square wave signal and the inversion of the square wave signal is blue. Orange is the cable that is connected to a GPIO pin and carries the multiplexed data. Latest bug fix by Robert_Kidd.
published 4 years ago
Robert_Kidd
4 years ago
Noticed that if you close the lower switch, then open it again the orange trace rises to >10kV. Add a 100k pull down resistor to this line to fix this.
w0rs3
4 years ago
Realy nice thx :D
Robert_Kidd
4 years ago
Actually you also need a 100k pull down on the top input to the left hand top AND gate as it is floating when the switch is open.
w0rs3
4 years ago
is this correct? :D

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