How to create a closed redstone circuit on a timer?

How to create a closed redstone circuit on a timer? - Old security camera on shabby building wall

I'm pretty new to Minecraft and redstone stuff so I'm trying to figure out how to make a closed circuit from a lever that will turn off moments after you switch it.

As you can see here: Off

and here: On

I've figured out how to make the redstone travel and turn on the railway switch. My overall goal is to be able to go down the pink path on a cart, be slowed down to a stop by the powered rail hit an initial switch that will turn the rail from path A (marked by the gray terracotta) to path B (marked by the black and red terracotta.), where I can then move to another powered rail to send me on my way.

So I guess what I am asking is: How do I make it so that the switch will turn the railway and then switch it back after I have moved past it? And since the powered rails are there to stop the cart on one rail and then boost after the switch, will I have to do the same for the those on each side of the rail switch as well?



Best Answer

Make a hopper clock by connecting 2 hoppers and putting an item inside them, then put redstone above the hoppers and connect it to a lever. It will save you space, and is easy to do. Change timing with repeaters.




Pictures about "How to create a closed redstone circuit on a timer?"

How to create a closed redstone circuit on a timer? - Two Pink Ballpoint Pens on Table
How to create a closed redstone circuit on a timer? - Person Holding Black Pen Sketching Flower
How to create a closed redstone circuit on a timer? - Yellow, Orange, Pink, and Blue Coloring Pens on White Notebook





Tip: Redstone Clocks in Minecraft




More answers regarding how to create a closed redstone circuit on a timer?

Answer 2

What you want is something I created for my train station a long time ago. I will give you a rough idea on how to achieve your what you want: How do I make it so that the switch will turn the rail way and then switch it back after I have moved past it?

Firstly, to answer your question: ...will I have to do the same for the those on each side of the rail switch as well?

Yes, mostly likely. This is what you maybe after.

enter image description here

enter image description here

To summarise the pictures, when the minecarts go over the detectors rails, they allow for the connect rail to be flipped for just enough time to allow the player/entity to return back from the original starting point. Note that the minecarts must be travelling at a decent speed because the change over lasts for seconds only.

The lever in the second picture, if flipped on, will stop the track from changing directions even if the minecart passes over the initial detector rail. This means if you want to travel straight, you need to flip the lever. I have not built a return system if a player were to opt to travel straight. Upon return, they will just turn due to the situation of the connecting rail. You could use this an exercise and build one for the other side yourself.

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

Images: Erik Mclean, Jess Bailey Designs, Alena Koval, Jessica Lewis Creative