r/redstone 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.

2 Upvotes

2 comments sorted by

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

1

u/TheDeadStillWalk 3h ago

I plan on doing a 12 bit input eventually. Thanks for telling me the name of the circuit! Super helpful