Daylight Sensor Morning Pulse Generator

A standard daylight detector outputs a continuous signal throughout the entire day, which isn't ideal when you only want to trigger a contraption once. This simple pulse generator converts that continuous daylight signal into a single, brief redstone pulse every morning. It is ideal for triggering daily automated harvests, such as sugar cane farms, without needing a complex clock.

ClocksBeginnerJava Edition
Daylight Sensor Morning Pulse Generator video tutorial

Video: Redstone Academy - Daylight Sensor - Single Pulse - [ Java 1.28+ ] by Minecraft Tutorials

How to build it

  1. Place the Daylight Detector

    Start by placing your daylight detector on the ground where it has unobstructed access to the sky. Leave it in its default daylight mode.

  2. Add the First Repeater

    Place a redstone repeater facing away from the daylight detector to take its output. You can leave it on its default 1-tick delay.

  3. Position the Piston

    Dig one block down right in front of the repeater and place a piston facing upwards. The repeater should be pointing into the space directly above the piston head.

  4. Place the Conductive Block

    Place a solid block on top of the upward-facing piston. If you used a sticky piston, any solid conductive block works; if you used a regular piston, use a gravity-affected block like sand or red sand so it falls back down at night.

  5. Connect the Output

    On the opposite side of the solid block, place your second redstone repeater facing away from the block. Place a redstone lamp (or connect your farm's redstone line) in front of this second repeater to test the morning pulse.

How it works

This circuit functions as a classic rising-edge monostable circuit (pulse limiter) triggered by sunlight:

  • Nighttime (Reset State): When it is dark, the daylight detector outputs no power. The upward-facing piston remains retracted, keeping the solid block directly between the two repeaters.
  • Sunrise (Pulse Generation): As soon as morning arrives, the daylight detector sends a signal into the first redstone repeater. The repeater powers the solid block in front of it, which immediately sends power into the second repeater on the other side, turning on your output.
  • Signal Cutoff: At the exact same time, the powered block activates the piston beneath it (or the repeater powers the piston directly depending on elevation). The piston extends and pushes the block upward, breaking the connection between the two repeaters after just a brief moment.
  • Daytime Hold: The piston stays extended for the rest of the day, preventing any further signal from passing through until night falls and the piston retracts the block back into position.

Tips & variations

  • No Slimeballs Required: If you are building this early in survival mode and don't have a sticky piston, use a regular piston with sand, red sand, or gravel on top. Gravity will pull the block back down at night when the piston retracts.
  • Nighttime Pulse Variant: If you right-click the daylight detector to invert it (turning it blue), the circuit will instead emit a single pulse every evening as night falls.
  • Adjusting Pulse Length: You can slightly adjust the timing of the pulse by changing the tick delay on the repeaters to suit devices that require a longer activation signal.

Frequently asked questions

What can I use a morning pulse generator for?
It is great for triggering automated farms—such as sugar cane, bamboo, or pumpkin and melon farms—once per in-game day so you don't need a laggy, constantly running hopper clock.
Can I build this without a sticky piston?
Yes. Simply substitute the sticky piston with a regular piston and use a gravity-affected block like sand, red sand, or gravel instead of a regular solid block.
Why isn't my output receiving a signal in the morning?
Make sure the block on top of the piston is a solid, opaque block (like stone, wool, or sand) and not a transparent block like glass, as transparent blocks cannot conduct redstone power between the repeaters.

Components used

More daylight / day-night timer