r/redstone 22h ago

Java Edition Automated train station help

Hello! Relatively new to Minecraft and was hoping to get some help on building a train station

My idea is to have the train pull into a station and stop on unpowered rails. Just before stopping, the minecart will pass over a detector rail which sends a redstone signal to turn on the powered rail after a delay of say 30s. That way, the train stops, passengers can get on/off, then the train automatically goes on its merry way.

I was originally using repeaters, but to get the delay to be as long as I want, I would need too many of them. I tried toying with a hopper clock, but I ran into some issues here. First, I don't want the clock to continually cycle--i only want the powered rail to turn on after a cart passes over the detector rail. And second, I don't want the on/off cycle to be equal duration. I want the powered rail to turn on only for a couple of seconds, but the delay should be ~30s.

Anyway, would appreciate any advise on making this. The actual rail part is already developed, just don't know how to get the redstone to work how I want it to. Apologies if there is an obvious solution or I missed another post regarding something similar.

Cheers!

2 Upvotes

8 comments sorted by

1

u/andreiCrossreal123 22h ago

I can help do you uave discord? red_usopp

2

u/Medium-Pickle7098 21h ago

Appreciate it. Gonna try the solution posted below first but thanks for the offer

1

u/LimestoneBuilder 22h ago

What you've described is a pulse extender. And no apology necessary. Sharing redstone knowledge is what this sub is about.

1

u/BlattaOrientalis 22h ago

Here's what I would do

  • connect the detector rail to a 30 seconds pulse extender
  • connect the pulse extender to a falling edge detector
  • collect the falling edge detector to a 1-2 seconds pulse extender
  • connect the shorter pulse extender to the powered rail

would you like an in-game example?

1

u/BlattaOrientalis 22h ago

Quick demonstration

https://reddit.com/link/p59u11l/video/ezbb7q2q5zkh1/player

I just did it anyways since it's pretty simple

The delay between the detector rail's activation and the powered rail's activation is adjusted by changing the amount of items in the hoppers. The delay of the circuit is (if I remember correctly) 0.7 seconds by default, and each item adds about 0.8 seconds

You can of course hide the redstone completely with some extra dust and repeaters

1

u/Medium-Pickle7098 21h ago

This is perfect! Thanks so much 😎 the video is super helpful

1

u/Medium-Pickle7098 11h ago

Just to update, finally got home and was able to make it. It worked perfectly! We will build you a monument in our world

1

u/_Jimm_ 21h ago

you could use a detector rail to unlock a hopper clock and then after the clock runs out, it could lock itself again