Hello, I need some help with my first real redstone contraption. I have 3 locations I want to connect via minecart and I want to be able to use levers or buttons at each destination to select one of the other 2 locations.
Looking at this image I am standing on the track that leads to my main house. Forward is the track to my treehouse and to the right is to my guest house. I want to be able to flip a lever before I get on my cart and select the direction I travel out. This part is easy with a redstone torch under the junction. Where I am having trouble is with return trips. This junction (pointed right) is unpowered. When powered it goes straight, but on the return trip the cart goes to camera right, the wrong way. I have a similar issue if I am coming from the right back towards where I am standing.
I had set up detector rails on the incoming routes but I cannot figure out the logic.
Basically here is what i am trying to do:
- Have the junction powered or unpowered based on lever position at start.
- Have junction unpowered if I am coming from the right
- have the juntion unpowered if i am coming from straight ahead.
What I'd suggest is to have an rs-nor latch with one of its outputs wired to the junction. Then at each of the stations you'll have two buttons, each leading into opposite sides of the rs-nor latch. That should work fine for what you need.
I know this is off topic, but what texture pack do you use?And, on topic, make a straight track connecting each thing, the add a button with a powered rail underneath, then get in the minecart and you'll be able to travel to the middle destination then choose which way to go.
Ok.. I was able to get this working the way I wanted, but had to do a bit of fiddling. I eventually settled on this design:
And the logic I used was this:
Now, when a cart is coming from the treehouse it always points to the main house, and when a cart is coming from the guest house it always returns to the main house. If a cart is leaving the mainhouse i can use a lever to set the destination.
its a nice idea jgiddens but at a same time its like killing meatfly with supersledge hammer
i would build it around blackknight1337s suggestion with rs-nor latch, give me few minutes and i will post you some screens so you can try it or post what you need to fiddle on your design
ok here it is:
i just added edge detectors so when you turn lever on the rising edge detector will send a signal and when you turn it of, falling edge detector will do his work bcs lever is better than buttons,you can see its state or use signs
Dantak.. they still arent showing :(. If these are from Dropbox maybe move them to the public folder before you share the link? I think that may help. Or you could post them on imgur.com. Thats a pretty elegant way to share pics.
ok second try, i will not change it in my first post bcs you quote it and i dont wanna to be shown twice
btw thx for idea use dropbox, i absolutely forgot abou it
edit: This detection rails needs to be connected to other side of rs-nor latch i did it in rush and forgot that you need to change rail from that direction if you wanna go back home. Now i checked it and did it wrong. //edit
edit2: and in this case its totaly wrong bcs when you will go from home to treehouse latch will change its state and lader will be still pointing to treehouse... so in order to "reset" it needs to be switched on and off... sorry i was writing faster then thinking.... //edit
its only the orange circuit, dont mind that yellow one its world where i was trying to create variable timer set up with laders and vaules of 1, 2, 3 and 5 minutes
Wow! That is awesome.. way more compact. The only problem I have now is that I don't understand how it works. I went and watched some videos on edge detection and am still stumped. Any chance you want to elucidate a newb?
Thanks so much for the time and effort.. you are going way beyond what I expected!
Looking at this image I am standing on the track that leads to my main house. Forward is the track to my treehouse and to the right is to my guest house. I want to be able to flip a lever before I get on my cart and select the direction I travel out. This part is easy with a redstone torch under the junction. Where I am having trouble is with return trips. This junction (pointed right) is unpowered. When powered it goes straight, but on the return trip the cart goes to camera right, the wrong way. I have a similar issue if I am coming from the right back towards where I am standing.
I had set up detector rails on the incoming routes but I cannot figure out the logic.
Basically here is what i am trying to do:
- Have the junction powered or unpowered based on lever position at start.
- Have junction unpowered if I am coming from the right
- have the juntion unpowered if i am coming from straight ahead.
Any suggestions?
http://www.terminationgaming.com/
And the logic I used was this:
Now, when a cart is coming from the treehouse it always points to the main house, and when a cart is coming from the guest house it always returns to the main house. If a cart is leaving the mainhouse i can use a lever to set the destination.
Chase... I use the Soartex Fanver texture pack.
Thanks yall!
Your pics didnt post. Can you retry?
http://www.neuroproductions.be/logic-lab/
Wow! That is awesome.. way more compact. The only problem I have now is that I don't understand how it works. I went and watched some videos on edge detection and am still stumped. Any chance you want to elucidate a newb?
Thanks so much for the time and effort.. you are going way beyond what I expected!