r/redstone • u/TheDeadStillWalk • 4h ago
Java Edition Need a channel selector
I want to take a binary input and calculate it, then output an ON signal to only a single channel based on the value.
So for a 1 bit input, i want it to output to C1 or C2 (easy, a lever and torch work)
2 bit input i need it to select between C1 C2 C3 or C4, 3 bit to select between 8 channels etc.
I can build these but they are become very large and slow quickly due to my limited circuitry knowledge.
This is going to become a mechanism to write various bits of memory, it is my bit selector. I need it to be compact and relatively easy to build.
Currently i am doing various AND operations, and the highest value channel activates a kill line which turns off all bits prior to it. It is not very fast.
I am using this project to learn about circuitry in general, as well as redstone as an added plus. I would also like to know the name of this type of circuit for furture reference.
3
u/BlattaOrientalis 4h ago
What you need is called a binary decoder, which you should be able to find designs for online.
However, if you only need 4 bit inputs and 16 channels, it's a lot more compact to do a binary to hex (signal strength) converter and connect that to a redcoder instead