User:Sorceror Nobody/Sandbox

Hopper clock

 * Independent invention

A pulse is output every  seconds, where   is the total number of items in the hoppers.

Switching the lever on halts the output and, eventually, the hoppers.

Components needed to build this system from scratch:
 * 36 Redstone
 * 27 Stone
 * 4 Nether Quartz
 * 20 Iron Ingots
 * 12 Wood of any variety
 * 1 Cobblestone
 * any 6 solid blocks
 * Any combination of items to be used in the hoppers

Seven spare Sticks will be produced, unless the lever is left out, in which case, one can neglect the Cobblestone and one of the blocks of Wood.

Repeater clock with piston toggle

 * Independent invention

Piston clocks are noisy, but if the sound of a piston is tolerable just while toggling the clock on and off, this is simpler than the toggleable all-repeater clock. Obviously, the schematic can be modified to have any period, and the output can be drawn from any suitable point in the loop.

Clock Multiplier
First Appearance: October 22-23, 2012. in three videos by "ftheriachab": (1, 2, 3).

Takes a clock input of period  and any pulse length, and outputs as a clock of period , where   is the number of latches used; the output is on for a pulse length of  , and off for the remaining. (A T Flipflop can be used to regularize the pulse, while doubling the period.) The circuit is nearly flat, and tiles lengthwise.

is limited to 12 or so by redstone signal attenuation. However, the design can simply be repeated to multiply the period again, e.g. a 21-multiplier can be made chaining a 7-multiplier and a 3-multiplier. This can be continued indefinitely.

The build is somewhat tricky: The multiplier loop is in fact a repeater-only clock, which needs to be started separately, before the latches are engaged. The latches are driven by an edge detector which takes a rising edge and produces an OFF pulse; this edge detector's pulse must match the delays of the latched repeaters, so that the multiplier's pulse advances one repeater per edge. (The output is ON while the last repeater is lit.) (The delay/pulse length must also be no longer than the input clock, so it's probably best to keep them both at 1.)  Note that the delays of the latched repeaters are not actually part of the output period; the latches only count off input edges.

This circuit need not be fed with a regular clock: With any varying input, it will count N rising edges and output HIGH between the (N-1)th and Nth rising edge.

State cycler

 * Independent realisation based on the above

Same as the clock multiplier, except that the input is just a trigger (e.g. a button) rather than a clock, unless of course a clock is the intended trigger. Additionally, there must be at least one piece of redstone wire between each of the latches so as to be able to draw the output of each state. The number of latches needed is simply the number of states to cycle through.

There is always exactly one state active -- neither overlap nor dead time occurs between states -- and the delay between trigger and state change is negligible.

Resilient hopper filter

 * Independent invention

Prevents the item stock that makes a hopper filter function from being extracted from the hopper.

The hopper should, initially, contain exactly 22 of the item being filtered, distributed as below. During operation, the item count may drop to 21, but this is not a problem.

Note that the length of redstone between the comparator and block must be exactly two. If it is longer, there must be more items in the hopper. It cannot be shorter, as the threshold for a signal strength of 1 is less than the minimum of five items needed to make the hopper work as a filter.