Serial Data Transfer Wire

A serial data transfer wire allows you to transmit multiple distinct inputs across long distances using only a single line of redstone dust. By encoding inputs as different analog signal strengths and staggering their pulses, you can dramatically reduce the wiring needed for complex projects like binary keyboards, encoders, and control rooms.

Signal TransmissionAdvancedJava Edition
Serial Data Transfer Wire video tutorial

Video: Minecraft Tutorial: Serial Data Transfer (Multiple signals through one wire) by LPG

How to build it

  1. Set Up the Input Line

    Place your input blocks in a row (for example, 3 inputs) and run a continuous line of redstone dust 15 blocks out from the first input. Do not place repeaters between the inputs on this line, as the system relies on analog signal strength decline.

  2. Place the First Subtraction Comparator

    At the 15th block of redstone dust, place a redstone comparator facing forward into a solid block. Right-click the comparator once to put it into subtraction mode, and power it from the back or side so it holds a full signal strength of 15.

  3. Build the Long-Distance Wire Segments

    Subtract your total number of inputs from 15 to find your wire segment length (for 3 inputs, run 12 redstone dust out from the comparator's output block). At the end of this 12-block wire, build another powered subtraction comparator unit.

  4. Ensure an Even Number of Comparators

    Repeat the 12-dust and subtraction comparator segments until you reach your destination. Make sure the main transmission line uses an even number of subtraction comparators so the inverted signal strengths flip back to their original values, then place one final normal comparator at the end.

  5. Build the Signal Strength Decoder

    Run the final comparator's output along a line of blocks equal to your number of inputs, with redstone repeaters branching out from each block. Behind those repeaters, raise a second layer of blocks with redstone dust on top, running into another row of repeaters set to 2 ticks feeding into solid blocks.

  6. Add Decoder Redstone Torches

    Place redstone torches on the output blocks to invert and isolate each signal strength level so only the matching output activates for a given input. Test each input individually to verify that the first, middle, and last outputs correspond properly.

  7. Stagger the Inputs with Piston Gates

    To send multiple inputs at once, place a lever for each channel leading into a repeater and a solid block held by a sticky piston. Add incrementally increasing repeater delays before each channel enters the main wire so that simultaneous inputs enter the serial line one after another.

  8. Connect a Pulse Limiter Trigger

    Build a monostable pulse limiter connected to a master send button and wire it to the input sticky pistons. Pressing the button will briefly retract all input blocks at once, letting your selected lever signals pass into the delay lines as short pulses.

  9. Construct 1-Wide RS NOR Latches at the Output

    Space out the decoder outputs and feed each one into a 1-wide vertical RS NOR latch: a block with a redstone torch feeding a repeater into a second block, which has another block and torch above it. This catches each brief incoming serial pulse and holds it as a continuous output.

  10. Add a Reset Line and Output Piston Gate

    Run a redstone line across the top of the RS NOR latches to act as a reset line, and place another row of sticky pistons holding solid blocks in front of the latch outputs. This secondary piston gate keeps the outputs blocked until all serial pulses have arrived.

  11. Automate the Release and Reset Timing

    Branch a heavily delayed repeater line off the first output signal so it triggers the output piston gate once all staggered pulses have been latched, releasing all signals simultaneously. Add slightly more repeater delay branching into the top reset line to clear the RS NOR latches shortly after the grouped signal is sent.

How it works

This circuit combines analog signal strength encoding with time-division multiplexing to send multiple bits of data down a single redstone dust line:

  • Signal Strength Encoding: Because the inputs are placed at consecutive spots along the initial 15-block dust line without repeaters, each input reaches the first comparator with a unique signal strength (e.g., 15, 14, 13).
  • Analog Repeater Wire: A powered comparator in subtraction mode calculates 15 - input_strength. By shortening the wire between comparators by the number of inputs (15 - 3 = 12 dust), the signal decays just enough that the next subtraction comparator inverts it back to its original strength. Using an even number of comparators preserves the exact input value at the end of the line.
  • Strength Decoding: The output decoder compares adjacent signal levels using 2-tick repeaters and torch inversions so that a specific signal strength only unlocks its dedicated output lane.
  • Serial Staggering & Re-grouping: An analog wire can only carry the highest active signal strength at any single moment. To send multiple signals together (such as a binary number), the input piston gate releases a short pulse through staggered repeater delays. The signals travel down the wire one after another, get caught and held by 1-wide RS NOR latches at the destination, and are finally released all at once by a second piston gate before the latches auto-reset.

Tips & variations

  • Always use an even comparator count: Because each subtraction comparator inverts the signal strength, an odd number of comparators will reverse your inputs at the output end.
  • Do not use repeaters on the main line: Placing a standard redstone repeater anywhere along the transmission wire resets the signal strength to 15 and breaks the analog encoding.
  • Directional timing bugs: In older Java versions (around 1.8/1.9), piston update order and 1-tick pulses can behave differently depending on whether the circuit faces East/West or North/South. If a latch fails to trigger, adjust the repeater delay on the pulse limiter or output gate by 1 tick.
  • Scaling up: If you increase the number of inputs (for example, to 5 bits for a keyboard), remember to shorten the dust segments between transmission comparators accordingly (15 - 5 = 10 dust per segment) and add more delay to the auto-reset line to wait for all 5 pulses.

Frequently asked questions

Why do I have to remove redstone dust between the comparators when adding more inputs?
Each subtraction comparator inverts the signal strength (15 minus input). Shortening the wire by the exact number of inputs ensures the signal decays by the right amount so the next comparator inverts it back into the proper range without dropping to zero.
Why can't I send multiple inputs through the wire at the exact same tick?
Redstone dust can only hold one signal strength value at a time—the strongest one. Staggering the inputs with repeaters sends them through the wire one after another, and the RS NOR latches at the end collect them so they can be output together.
How many combinations can a 3-input serial wire send?
When used as a 3-bit binary system (values 1, 2, and 4), three inputs can transmit 7 different non-zero combinations (or 8 including all off) down a single redstone line.

Components used

More long distance