Minecraft – How to activate a piston only for a few seconds when the the daylight sensor activates

minecraft-java-editionminecraft-redstone

I am trying to make a circuit that turns a piston on for a few seconds and then quickly turns it off.
The circuit is activated as soon as the daylight sensor starts giving signal.

Best Answer

This circuit does exactly what you want:

Remember to use the comparator to switch its mode.

Video Demonstration