I'm building a large "thing" and I made some dispensers, in which, you have to "pay" to get the items. I wish to only make three dispenses and after the third it closes the shop up, but I can't figure out how to make it stop after three presses. I tried using delayed pistons where the first press activates two lines: one activating the piston, moving a block to the other line, and the other line shorting out before the former block moves. The second press does the same as the first, and the final press just activates the final line leading to a piston that closes the shop. I, for the life of me, cannot figure out how to make the second line short before the block gets there. (Hope anybody can get the main point of this!) Any help would greatly be appreciated! And sorry if I couldn't make anything clearer...
hey i am very good with redstone and would be will to help/build u an eco machine i have built on befor wouldnt take to long just send me a msg on xbox my user name is (porkchop sees u)
You could just use a counter. If binary, take the outputs of the 1's and 2's digits, AND them together, output of this shuts down the dispensers. If you want to get even more fancy, you can use a timer (such as a 5-minute item drop timer) that activates once the AND outputs, and resets the counter when the time runs out. Although, someone could just drop a bunch of items to reset the counter, then just pick them back up. If this sounds like a problem, look for an alternative timer.
I think this might get you going in the right direction:
First button push activates first piston. Second button push activates second piston (and first again but that doesn't matter). Third button activates rs nor latch which disables the pulse limiter attached to the button. Button will stop activating dispenser until reset button is pushed (gold block) which pushes blocks back out of the way and resets rs nor latch.
here's some more pics to help. Layout could use a lot of work.
This is the pulse limiter attached to the button. Outputs to pistons and to dispenser.
Here is the shutoff coming from the the rs nor latch to under the output torch of the pulse limiter. When torch under pulse limiter is on then the pulse limiter can't send a signal.
this is my first time posting pictures on the forum and I'm doing it from my phone so hopefully this works and is helpful!
edit: changed first picture to show ready state rather than in need of reset.
Edit again: phone totally screwed up first edit so I switched to laptop and fixed.
Edit again: changed pics so they weren't so freakishly huge.
Very nice, particularly your monostable circuit and affecting it to disable the entire system quickly, without extra bulk. The counter is.. well.. big.. and hideous.. and would be a terrible choice for most other applications.. But here, it works quite nicely, even better than my own suggestion.
MCXBLA needs more creative thinkers such as yourself. People like me tend to forget the basics after awhile, and overlook the simple solutions. Thinking in terms of circuitry logic is useful in certain aspects, and can get the job done, but it's not always practical or the most efficient method.
Yeah, I would never use it in that layout, but condensed versions of things are often hard to understand. With it all spread it out's easy to see what it does (and much faster to build for me!).
Thanks for your compliments. I have been watching your builds for some time now and am quite impressed, though I admit I don't understand all of it. My son told me he wants me to build a computer in minecraft. I said no way! If you could get yours done then I could show it to him and get him off my back!
by the way, I've always been confused by the term "monostable circuit" - is that the pulse limiter or the the rs nor latch? I used the sort of stock rs nor latch in this one - which I usually only use for testing before making a more condensed one for the final build. The pulse limiter I made so that it will hide nicely behind a wall. I really need to remember how I do these things each time because I usually have to put the basic one on the ground and look at it awhile and then figure out how to make it the way I want.
EDIT: OP, if you want to push the button once and have three things come out and then stop then you'll have to use some sort of clock. If you want the person to be able to push the button three times and then it no longer work then my design might get you headed in the right direction.
Thanks! I'll try this tomorrow (wasn't able to get on this evening...), although, the final receiver is a piston not a dispenser. I'll find a way to implement this and I'll upload pics tomorrow as well. Again, thanks!
by the way, I've always been confused by the term "monostable circuit" - is that the pulse limiter or the the rs nor latch? I used the sort of stock rs nor latch in this one - which I usually only use for testing before making a more condensed one for the final build. The pulse limiter I made so that it will hide nicely behind a wall. I really need to remember how I do these things each time because I usually have to put the basic one on the ground and look at it awhile and then figure out how to make it the way I want.
Yeah, I would never use it in that layout, but condensed versions of things are often hard to understand. With it all spread it out's easy to see what it does (and much faster to build for me!).
Thanks for your compliments. I have been watching your builds for some time now and am quite impressed, though I admit I don't understand all of it. My son told me he wants me to build a computer in minecraft. I said no way! If you could get yours done then I could show it to him and get him off my back!
by the way, I've always been confused by the term "monostable circuit" - is that the pulse limiter or the the rs nor latch? I used the sort of stock rs nor latch in this one - which I usually only use for testing before making a more condensed one for the final build. The pulse limiter I made so that it will hide nicely behind a wall. I really need to remember how I do these things each time because I usually have to put the basic one on the ground and look at it awhile and then figure out how to make it the way I want.
EDIT: OP, if you want to push the button once and have three things come out and then stop then you'll have to use some sort of clock. If you want the person to be able to push the button three times and then it no longer work then my design might get you headed in the right direction.
Well, I've already built one computer, but it's very basic with few capabilities. Compared to what the average person sees as a computer, it's actually just a CPU with a binary display and simple game attached. Though this is technically still a computer, by a loose definition. It's still enough to impress a novice redstoner, so you could still show it to him. Just know that it was built in 1.7.3, so it can get pretty buggy at times.
As rush said, by monostable circuit I was referring to the pulse limiter. All pulse limiters are monostable, but not all monostable circuits are pulse limiters. Monostable just means that a circuit has two states, but only one (mono) of them is stable. Your limiter holds a high state, (The system is inverted, so you're really dealing with a low output.) when you send a high signal to the input the circuit is forced into a low state. It will revert to its original high state at some point, depending on the delay of the direct-power (non-inverted) half of the circuit.
From what I understand, you nailed what the OP was looking for. However, there is a more simplified way to accomplish turning one pulse into three. It would be easiest to start with a pulse limiter, split the output, and delay each branch so that the signals arrive at different times. Think about how a branched pulse sustainer works, only each line has a bit more delay, resulting in moments where the output is low. A specialized clock that can be set to run for a certain amount of cycles is a bit more complicated. For this, it would be extreme overkill. It requires the mechanism and a counter to run off the same clock, and a device that specifies a point in which the counter will shut down the clock. This is more useful for indexing mechanisms, in things like Turing Machines, hard disc drives, or any memory array, based on piston tapes, in which it would be necessary to seek a specific location within the tape.
OP - I'm having a little difficulty understanding the pics. Did you get it to work?
It looks to me like you have a vertical shaft and you want the piston to close it off. Is that right? If so, do you only want the piston with the brick to close off the shaft after the person pushes the button three times?
Nose_job, I became quite familiar with clocks in my last big Redstone project. I wanted a colored wall where you could pick one of four colors and the wall would switch to that color - sort of an instant redecoration for the fickle castle owner. I ended up with a bunch of piston tapes for the wall which was about 4 by 6 or so and was advanced with a clock. I had another piston tape that tracked when a full color was on the wall and another one that kept track of which color was showing. I have plans to replicate the colors on three walls (need the fourth for the buttons) but I never finished it. All the circuitry fit nicely on the ceiling of the room' but the pistons tapes with the four colors was rather bulky. It is fun to see it go and the kids like picking the color and seeing it come up.
I'll show my son one of your computer pics sometime. He's 7 and won't understand - though I can't say I could explain it much. I'm pretty sure an adder is either a reference to an old British show or some kind of snake.
Yeah, I got it to work the way I wanted! I tried to accommodate your Mono-RS-NOR-Latch but couldn't. (I'm not a redstone wizard... :/ ) Turns out I was thinking the complicated way: all I needed to do was make a limited, multi-input, delayed piston mechanism. I'll upload the pics to show how well it turned out. (As well a preview of a project I'm planning on releasing on this forum!)
Result from the first "press". The Piston moves a block to connect the main line but shorts before the said block is moved:
Second "press" repeats the process:
The final "press" activates the final piston which closes the shop up. Sorry I couldn't upload more or keep my promise of a preview as I was in a hurry... I reveal more in time.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm building a large "thing" and I made some dispensers, in which, you have to "pay" to get the items. I wish to only make three dispenses and after the third it closes the shop up, but I can't figure out how to make it stop after three presses. I tried using delayed pistons where the first press activates two lines: one activating the piston, moving a block to the other line, and the other line shorting out before the former block moves. The second press does the same as the first, and the final press just activates the final line leading to a piston that closes the shop. I, for the life of me, cannot figure out how to make the second line short before the block gets there. (Hope anybody can get the main point of this!) Any help would greatly be appreciated! And sorry if I couldn't make anything clearer...
-
View User Profile
-
View Posts
-
Send Message
Retired StaffFirst button push activates first piston. Second button push activates second piston (and first again but that doesn't matter). Third button activates rs nor latch which disables the pulse limiter attached to the button. Button will stop activating dispenser until reset button is pushed (gold block) which pushes blocks back out of the way and resets rs nor latch.
here's some more pics to help. Layout could use a lot of work.
This is the pulse limiter attached to the button. Outputs to pistons and to dispenser.
Here is the shutoff coming from the the rs nor latch to under the output torch of the pulse limiter. When torch under pulse limiter is on then the pulse limiter can't send a signal.
this is my first time posting pictures on the forum and I'm doing it from my phone so hopefully this works and is helpful!
edit: changed first picture to show ready state rather than in need of reset.
Edit again: phone totally screwed up first edit so I switched to laptop and fixed.
Edit again: changed pics so they weren't so freakishly huge.
-
View User Profile
-
View Posts
-
Send Message
Retired StaffVery nice, particularly your monostable circuit and affecting it to disable the entire system quickly, without extra bulk. The counter is.. well.. big.. and hideous.. and would be a terrible choice for most other applications.. But here, it works quite nicely, even better than my own suggestion.
MCXBLA needs more creative thinkers such as yourself. People like me tend to forget the basics after awhile, and overlook the simple solutions. Thinking in terms of circuitry logic is useful in certain aspects, and can get the job done, but it's not always practical or the most efficient method.
Thanks for your compliments. I have been watching your builds for some time now and am quite impressed, though I admit I don't understand all of it. My son told me he wants me to build a computer in minecraft. I said no way! If you could get yours done then I could show it to him and get him off my back!
by the way, I've always been confused by the term "monostable circuit" - is that the pulse limiter or the the rs nor latch? I used the sort of stock rs nor latch in this one - which I usually only use for testing before making a more condensed one for the final build. The pulse limiter I made so that it will hide nicely behind a wall. I really need to remember how I do these things each time because I usually have to put the basic one on the ground and look at it awhile and then figure out how to make it the way I want.
EDIT: OP, if you want to push the button once and have three things come out and then stop then you'll have to use some sort of clock. If you want the person to be able to push the button three times and then it no longer work then my design might get you headed in the right direction.
Monostable circuit is the pulse limiter
The sandstone with the redstone line is the "button" line and the lone piston with the brick stone is the receiver. So here's the challenge!
-
View User Profile
-
View Posts
-
Send Message
Retired StaffWell, I've already built one computer, but it's very basic with few capabilities. Compared to what the average person sees as a computer, it's actually just a CPU with a binary display and simple game attached. Though this is technically still a computer, by a loose definition. It's still enough to impress a novice redstoner, so you could still show it to him. Just know that it was built in 1.7.3, so it can get pretty buggy at times.
As rush said, by monostable circuit I was referring to the pulse limiter. All pulse limiters are monostable, but not all monostable circuits are pulse limiters.
From what I understand, you nailed what the OP was looking for. However, there is a more simplified way to accomplish turning one pulse into three. It would be easiest to start with a pulse limiter, split the output, and delay each branch so that the signals arrive at different times. Think about how a branched pulse sustainer works, only each line has a bit more delay, resulting in moments where the output is low. A specialized clock that can be set to run for a certain amount of cycles is a bit more complicated. For this, it would be extreme overkill. It requires the mechanism and a counter to run off the same clock, and a device that specifies a point in which the counter will shut down the clock. This is more useful for indexing mechanisms, in things like Turing Machines, hard disc drives, or any memory array, based on piston tapes, in which it would be necessary to seek a specific location within the tape.
It looks to me like you have a vertical shaft and you want the piston to close it off. Is that right? If so, do you only want the piston with the brick to close off the shaft after the person pushes the button three times?
Nose_job, I became quite familiar with clocks in my last big Redstone project. I wanted a colored wall where you could pick one of four colors and the wall would switch to that color - sort of an instant redecoration for the fickle castle owner. I ended up with a bunch of piston tapes for the wall which was about 4 by 6 or so and was advanced with a clock. I had another piston tape that tracked when a full color was on the wall and another one that kept track of which color was showing. I have plans to replicate the colors on three walls (need the fourth for the buttons) but I never finished it. All the circuitry fit nicely on the ceiling of the room' but the pistons tapes with the four colors was rather bulky. It is fun to see it go and the kids like picking the color and seeing it come up.
I'll show my son one of your computer pics sometime. He's 7 and won't understand - though I can't say I could explain it much. I'm pretty sure an adder is either a reference to an old British show or some kind of snake.
A closer shot of the pistons:
Result from the first "press". The Piston moves a block to connect the main line but shorts before the said block is moved:
Second "press" repeats the process:
The final "press" activates the final piston which closes the shop up. Sorry I couldn't upload more or keep my promise of a preview as I was in a hurry... I reveal more in time.