REDSTONEPEDIA › Circuits › Pulse shapers

Signal shortener (pulse limiter)

at most 511 ticks (25.55 s) · 12 blocks

However long the input stays on, the output pulse lasts at most 511 ticks (25.55 s).

starts after 4 ticks (0.2 s) · needs an input of at least 3 ticks (0.15 s) · made of comparator, hopper, redstone torch · fits in 3×3×2

at most 511 ticks (25.55 s)Signal shortener3D view loading (or not available in this browser)

Every size 24

The best design for each size: pick one to see it.

sizeblocksnumbers
2 ticks (0.1 s)2 blocksstarts after 4 ticks (0.2 s) · needs an input of at least 6 ticks (0.3 s)
4 ticks (0.2 s)8 blocksstarts at once · needs an input of at least 2 ticks (0.1 s)
6 ticks (0.3 s)8 blocksstarts at once · needs an input of at least 2 ticks (0.1 s)
7 ticks (0.35 s)12 blocksstarts after 4 ticks (0.2 s) · needs an input of at least 3 ticks (0.15 s)
8 ticks (0.4 s)8 blocksstarts at once · needs an input of at least 2 ticks (0.1 s)
10 ticks (0.5 s)5 blocksstarts after 1 tick (0.05 s) · needs an input of at least 2 ticks (0.1 s)
12 ticks (0.6 s)9 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
14 ticks (0.7 s)9 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
15 ticks (0.75 s)12 blocksstarts after 4 ticks (0.2 s) · needs an input of at least 3 ticks (0.15 s)
16 ticks (0.8 s)9 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
18 ticks (0.9 s)13 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
20 ticks (1 s)13 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
22 ticks (1.1 s)13 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
23 ticks (1.15 s)12 blocksstarts after 4 ticks (0.2 s) · needs an input of at least 3 ticks (0.15 s)
24 ticks (1.2 s)13 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
26 ticks (1.3 s)13 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
28 ticks (1.4 s)13 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
30 ticks (1.5 s)13 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
31 ticks (1.55 s)12 blocksstarts after 4 ticks (0.2 s) · needs an input of at least 3 ticks (0.15 s)
34 ticks (1.7 s)17 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
36 ticks (1.8 s)17 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
38 ticks (1.9 s)17 blocksstarts after 2 ticks (0.1 s) · needs an input of at least 3 ticks (0.15 s)
127 ticks (6.35 s)12 blocksstarts after 4 ticks (0.2 s) · needs an input of at least 3 ticks (0.15 s)
511 ticks (25.55 s) (this page)12 blocksstarts after 4 ticks (0.2 s) · needs an input of at least 3 ticks (0.15 s)

Try it

Hold IN under the view for a long press, tap it for a short one: the box marked OUT turns red while the output is on. Press play under the view to watch a demo on a loop; touch any other control to take over.

Build it

Download .litematic Download the design as text

The .litematic opens in Litematica (Minecraft 26.3): every block of the design in one region. The text file is the same build written as plain text, block by block.

Comes loaded with 64 cobblestone in its containers: the download includes them; building it by hand, put them in first.

Blocks used: comparator glass hopper redstone torch stone

Details: how it works, measurements and properties

In depth

However long the input stays on, the output pulse lasts at most L = 511 ticks (25.55 s); it starts 4 ticks (0.2 s) after the input turns on. (An input shorter than L may come out shorter.) It handles every input pulse of 3 ticks (0.15 s) or longer.

Use it to cut a long signal down to a short, fixed pulse.

How to try it

Press play under the view to watch the demo on a loop (the badge reads demo with the step it is on; the same sequence is drawn as a timing diagram below). Touch any control to stop it and try the circuit yourself.

To try it: press and hold the IN button of the bar (or the cell tagged IN) to power that input; a quick tap sends a short 2-tick pulse.

Inputs are tagged in lime; the output is tagged OUT: the redstone lamp in that cell (the view adds it to show the output) lights while the output is on (the output strip by the demo badge shows its last 40 game ticks, 2 seconds). Drag to look around, pinch or scroll to zoom, step one game tick at a time with the step button.

Inputs and output over time

The input follows this schedule (the 3D view's demo plays the same). Lime: an input is on; orange: the output is on (taller = a stronger signal, 1 to 15). Time runs left to right in game ticks (20 ticks = 1 s).

a 2-tick input: too short, ignoreda 3-tick inputa 4-tick inputa 5-tick inputa 6-tick inputa 8-tick inputa 10-tick inputa 15-tick inputa 20-tick inputa 30-tick inputa 40-tick inputa 60-tick inputa 80-tick inputa 120-tick inputa 160-tick inputa 240-tick inputa 320-tick inputa 480-tick inputa 640-tick inputa 960-tick inputINOUTticks010020030040050060070080090010001100120013001400150016001700180019002000210022002300240025002600270028002900300031003200330034003500360037003800390040004100420043004400450046004700480049005000510052005300540055005600570058005900600061006200630064006500660067006800690070007100720073007400750076007700780079008000810082008300840085008600870088008900900091009200930094009500960097009800990010000101001020010300104001050010600107001080010900110001110011200113001140011500116001170011800119001200012100122001230012400125001260012700128001290013000131001320013300134001350013600137001380013900140001410014200143001440014500

Swipe the diagram sideways: the whole sequence lasts 14543 ticks (12 min 7.15 s).

Step by step (20 lines)
in  2 ticks (0.1 s): no output  <- not handled
in  3 ticks (0.15 s): +4 for 7
in  4 ticks (0.2 s): +4 for 7
in  5 ticks (0.25 s): +4 for 7
in  6 ticks (0.3 s): +4 for 7
in  8 ticks (0.4 s): +4 for 7
in 10 ticks (0.5 s): +4 for 15
in 15 ticks (0.75 s): +4 for 15
in 20 ticks (1 s): +4 for 23
in 30 ticks (1.5 s): +4 for 31
in 40 ticks (2 s): +4 for 39
in 60 ticks (3 s): +4 for 63
in 80 ticks (4 s): +4 for 79
in 120 ticks (6 s): +4 for 119
in 160 ticks (8 s): +4 for 159
in 240 ticks (12 s): +4 for 239
in 320 ticks (16 s): +4 for 319
in 480 ticks (24 s): +4 for 479
in 640 ticks (32 s): +4 for 511
in 960 ticks (48 s): +4 for 511

Measurements

metricvaluewhat it means
L511 ticks (25.55 s)the length of the output pulse
delay4 ticks (0.2 s)the time from the input's edge to the start of the output pulse
min-pulse3 ticks (0.15 s)the shortest input pulse handled correctly (every longer one works too)

Properties

StudyPulse shapers
KindSignal shortener (pulse limiter)
Blocks placed12 (not counting the input levers or buttons and the lamp the view adds)
Box3×3×2 (18 blocks of space)
Made of (the blocks that change state)comparator, hopper, redstone torch
Inputs / outputsIN (repeater) / OUT
Design filepulse-limiter-hopper-timer-L511-v12-8b-sealed

The design file

on GitHub

Design file (26 lines)
# Signal shortener: at most 511 ticks (25.55 s) · 12 blocks
# https://vjeux.github.io/redstonepedia/circuits/pulse/pulse-limiter-hopper-timer-L511-v12-8b-sealed.html
name: pulse-limiter-hopper-timer-L511-v12-8b-sealed
circuit: pulse-limiter
port input: 0 0 1 minecraft:redstone_block minecraft:stone
port output: 3 1 0
nbt: 0 1 0 {Items:[{Slot:0b,id:"minecraft:cobblestone",count:64}]}
origin: 0 0 0
palette:
  A minecraft:hopper[enabled=true,facing=south]
  B minecraft:hopper[enabled=true,facing=west]
  C minecraft:comparator[facing=west,mode=compare,powered=false]
  G minecraft:glass
  H minecraft:hopper[enabled=false,facing=east]
  R minecraft:redstone_wall_torch[facing=north,lit=true]
  S minecraft:stone
  h minecraft:hopper[enabled=true,facing=north]
layer 0:
  R.S
  S
layer 1:
  HAC
  hB
layer 2:
  GG
  GG