How to make a compact redstone circuit that triggers an output every 4 redstone inputs?

How to make a compact redstone circuit that triggers an output every 4 redstone inputs? - Black and Yellow Sports Car on Track Field

I'm trying to make an automatic beetroot farm. I'm using observers behind the plants and dispensers with water. Each plant has 4 observer stages. The observer is triggered when:

  1. the seeds are planted.
  2. the seeds grow one stage.
  3. the beetroots grow another stage.
  4. the beetroots are ready to harvest.

The obvious solution is to make a kind of counter that waits until the observer has been triggered 4 times and then triggers the dispensers. I am not sure how to achieve this, although I imagine it will involve some sort of hopper with 4 items.

How do I achieve this while still keeping it compact enough to fit in a beetroot row?

(I am doing one dispenser per row, and I will plant the beetroot that triggers the observer last so that all the beetroot will be harvest ready when the dispensers are triggered)



Best Answer

After spending some time in my redstone testing world, this is what I came up with. I am by far not the best redstoner so someone will probably be able to make this more compact. I decided to chain 2 t-flip flops together to get to your desired result. See the image for how to build it.enter image description here

Both hoppers need to start with 1 item in them, the 6 droppers should remain empty. The piston is a sticky piston. The input is the observer at the bottom left, every 4 updates the dropper at the top left will drop 1 item (change this to your needs)




Pictures about "How to make a compact redstone circuit that triggers an output every 4 redstone inputs?"

How to make a compact redstone circuit that triggers an output every 4 redstone inputs? - White and Red Racing Car on Track
How to make a compact redstone circuit that triggers an output every 4 redstone inputs? - White and Red Porsche 911 on Road
How to make a compact redstone circuit that triggers an output every 4 redstone inputs? - Content female customer with long curly hair wearing casual outfit sitting at wooden table with netbook in classic interior restaurant while making online order





25 Minecraft Redstone Circuits YOU SHOULD KNOW!




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Telmo Antunes, Telmo Antunes, Telmo Antunes, Yan Krukov