Piston Observer Circuit

Placing an observer directly beside a piston normally creates an endless loop because the observer constantly detects the piston head moving. This Piston Observer Circuit uses a clever repeater-locking setup to cut off the second signal, giving you a clean single pulse. It is an essential redstone mechanism for automatic pumpkin and melon farms, budget sugar cane farms, and stone or ice generators.

Piston ContraptionsBeginnerBedrock Edition
Piston Observer Circuit video tutorial

Video: Minecraft Bedrock - Piston Observer Circuit ( Xbox / MCPE / Windows 10 / Switch ) by Rogue Fox

How to build it

  1. Place the Observer and Piston

    Place your observer and regular piston right next to each other, both facing forward toward the block space you want to detect and push.

  2. Add the Output Block

    Place a solid building block directly against the back output dot of the observer.

  3. Place the Main Repeater

    Behind the piston, place a redstone repeater facing directly into the back of the piston. Leave this repeater on its default 1-tick delay.

  4. Place the Locking Repeater

    Place a second redstone repeater directly beside the first one, facing sideways into the side of the first repeater. Set this second repeater to a 2-tick delay (click it once).

  5. Connect the Redstone Dust

    Run a trail of redstone dust from the solid block behind the observer so that it connects into the backs of both repeaters.

  6. Test the Circuit

    Place a block directly in front of the observer's face. The observer will fire, the piston will extend once to push or break the block, and the locking repeater will stop it from turning into an infinite clock.

How it works

When an observer sits right next to a piston, any block update in front of the observer triggers the piston. However, as the piston head extends and retracts in front of or next to the observer, the observer detects that movement and fires a second pulse, creating an annoying eternal clock.

  • Initial Trigger: A block grows or generates in front of the observer, sending a 1-tick pulse into the solid block behind it and lighting up the redstone dust.
  • 1-Tick Piston Pulse: The dust powers the first repeater (set to 1 tick), which immediately extends the piston to harvest or push the block.
  • 2-Tick Repeater Lock: At the same time, the dust powers the sideways repeater set to 2 ticks. Exactly one tick after the piston fires, this sideways repeater activates and locks the main repeater.
  • Loop Prevention: When the observer sends its second flash from detecting the piston movement, the main repeater is locked in the off state, swallowing the extra pulse and resetting the machine quietly.

Tips & variations

  • Mirroring the Build: You can place the observer on either the left or right side of the piston; just mirror the redstone dust and make sure the 2-tick repeater always points into the side of the 1-tick repeater.
  • Vertical Variants: You can stack the observer directly above or directly below the piston using the exact same timing rule: 1 tick of repeater delay going to the piston, and 2 ticks of repeater delay running into the side of that repeater to lock it.
  • Hidden Floor Variant: You can face the observer upward in the floor next to the piston and hide all the wiring underground. Note that pumpkins and melons cannot grow on top of an observer, so save the floor variant for stone or ice generators.
  • Common Mistake: If your piston gets stuck in an infinite loop, double-check that your locking repeater is set to 2 ticks and is pointing directly into the side of the 1-tick repeater so the bedrock locking bar appears.

Frequently asked questions

Why does my piston keep firing forever in a loop?
If you wire an observer directly to an adjacent piston with only redstone dust, the observer detects the piston's movement and creates an infinite clock. Make sure your sideways repeater is set to 2 ticks and points directly into the side of the 1-tick repeater to lock it.
What farms can I use the Piston Observer Circuit in?
It works great in automatic pumpkin and melon farms, stone generators, ice makers, and early-game sugar cane farms where a single observer triggers a row of pistons.
Can I build the observer underneath the block being pushed?
Yes, you can face the observer upward from the floor for stone or ice generators to hide the redstone underground, though you cannot use that layout for melons or pumpkins since they require dirt or grass to grow on.

Components used

More block feeder