REDSTONEPEDIA › Circuits › Timers and pulse multipliers

Slows a clock down (clock divider)

slows by 5 · input clocks of a pulse every 20 ticks (1 s) or slower · even on/off · 23 blocks

Feed it a clock and the output goes on and off once for every 5 input pulses, on for exactly half of the time.

fits in 5×6×3

slows by 5Clock slower3D view loading (or not available in this browser)

Every size 3

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

sizeblocksnumbers
every 3rd18 blocks
every 5th (this page)23 blocks
every 7th32 blocks

Try it

Hold IN under the view for a long press, tap it for a short one: tap it 5 times and OUT goes through one on-off cycle (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 1 stone in its containers: the download includes it; building it by hand, put it in first.

Blocks used: comparator copper bulb dropper glass hopper observer repeater stone

Details: how it works, measurements and properties

In depth

It divides a clock by 5: for every 5 pulses that come in, the output goes through one on-off cycle, so it runs 5 times slower than its input. Its output is a square wave: on for half of each cycle, off for the other half (for an odd N like 5 that takes both edges of the input clock: the output changes every 2.5 input pulses).

Each output cycle starts 39 ticks (1.95 s) after the input pulse that begins it, always the same. It keeps up with input clocks down to one pulse every 20 ticks (1 s) (1 pulse a second); faster ones break the count.

How to try it

Press play under the view to watch the demo on a loop: a square clock on the input, first slow (a pulse every 40 ticks (2 s), 2 s), then faster and faster down to a pulse every 2 ticks (0.1 s); the output lamp goes through one on-off cycle for every 5 input pulses, until the clock gets faster than the design can follow. The badge reads demo with the step it is on, and 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: tap it 5 times and the output goes through one on-off cycle.

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 clock pulsing every 40 ticksa clock pulsing every 30 ticksa clock pulsing every 20 ticksa clock pulsing every 16 ticksa clock pulsing every 12 ticksINOUTticks01002003004005006007008009001000110012001300140015001600170018001900200021002200230024002500260027002800290030003100320033003400350036003700380039004000410042004300

Swipe the diagram sideways: the whole sequence lasts 4337 ticks (3 min 36.85 s).

Step by step (10 lines)
clock 40 ticks (2 s): divides by 5 (on 100 of 200 ticks (10 s))
clock 30 ticks (1.5 s): divides by 5 (on 75 of 150 ticks (7.5 s))
clock 20 ticks (1 s): divides by 5 (on 50 of 100 ticks (5 s))
clock 16 ticks (0.8 s): periodic, 0 rises in 20 input periods
clock 12 ticks (0.6 s): not periodic with N x P
clock 10 ticks (0.5 s): not periodic with N x P
clock 8 ticks (0.4 s): periodic, 0 rises in 20 input periods
clock 6 ticks (0.3 s): not periodic with N x P
clock 5 ticks (0.25 s): periodic, 0 rises in 20 input periods
clock 4 ticks (0.2 s): periodic, 0 rises in 20 input periods

Measurements

metricvaluewhat it means
N5input pulses per output cycle
duty50%the share of each output cycle the output is on
outputsquaresquare = on for exactly half of each cycle, pulse = a shorter on time
latency39 ticks (1.95 s)game ticks from the input pulse that starts an output cycle to the output turning on
min-period20 ticks (1 s)the fastest input clock it divides correctly: one pulse every this many game ticks
inputfed through the build

Properties

StudyTimers and pulse multipliers
KindSlows a clock down (clock divider)
Blocks placed23 (not counting the input levers or buttons and the lamp the view adds)
Box5×6×3 (90 blocks of space)
Made of (the blocks that change state)comparator, copper bulb, dropper, hopper, observer
Inputs / outputsIN (repeater) / OUT
Design filepm-div5-square-sealed

The design file

on GitHub

Design file (49 lines)
# Clock slower: slows by 5 · input clocks of a pulse every 20 ticks (1 s) or slower · even on/off · 23 blocks
# https://vjeux.github.io/redstonepedia/circuits/pulsemult/pm-div5-square-sealed.html
name: pm-div5-square-sealed
circuit: divider 5
port input: 0 -2 0
port output: -4 1 0
nbt: 0 1 0 {Items:[{Slot:0b,id:"minecraft:stone",count:1}]}
origin: -3 0 -1
palette:
  A minecraft:dropper[facing=south,triggered=false]
  B minecraft:dropper[facing=up,triggered=false]
  C minecraft:comparator[facing=east,mode=compare,powered=false]
  D minecraft:dropper[facing=east,triggered=false]
  E minecraft:dropper[facing=west,triggered=false]
  F minecraft:hopper[enabled=true,facing=north]
  G minecraft:glass
  H minecraft:hopper[enabled=true,facing=down]
  I minecraft:hopper[enabled=true,facing=south]
  J minecraft:hopper[enabled=true,facing=west]
  O minecraft:observer[facing=down,powered=false]
  R minecraft:repeater[delay=1,facing=north,locked=false,powered=false]
  S minecraft:stone
  W minecraft:waxed_copper_bulb[lit=false,powered=false]
  d minecraft:dropper[facing=north,triggered=false]
  h minecraft:hopper[enabled=true,facing=east]
layer -3:
  .
  ...S
  .
layer -2:
  .
  ...R
  .
layer -1:
  .
  ...O
  .
layer 0:
  ..hB
  S.dSA
  ..FEJ
layer 1:
  ..GI
  CWCDH
  ..G.G
layer 2:
  ...G
  ....G
  .