2

I have a button which i want it to activate something. But i don't want it to be constantly activated, as i want it to be with a 10 - 20 seconds delay before you can activate it again.

ratchet freak
  • 3,830
  • 2
  • 23
  • 24
user84387
  • 23
  • 1
  • 4

1 Answers1

2

So it took a little bit of time but I solved that problem.

  • Red = Input
  • Blue = Output
  • Green = Redstonedust
  • Orange = Special Event :o

Overview Rightclick on the picture and press show picture to enlarge the image.

The problem you have is to block the input from the button for a specific time. I used a piston for that. The pisten blocks the redstone signal.

The thing on the upper right keeps the signal active. That means that the pisten is moving the block over the redstone and the butten is doing nothing anymore.

Special Levler Rightclick on the picture and press show picture to enlarge the image.

How you are able to build such a thing you find here! Further more you need a thing that activate the button if the (for example 10 - 20 secounds) time is over.

For that you need the special creation from uncle Gerret that is to the upper left.

Delay Rightclick on the picture and press show picture to enlarge the image.

You can make this as long as you want to and also delay each Repeater as you want to. You can make whatever delay you want. If you put a Repeater on four ticks it is a delay of 0,4 secounds. That means you need 50 Repeater in a row to delay the time for 20 secounds.

One more screenshot from the back and you should be able to build that little thing.

Backview Rightclick on the picture and press show picture to enlarge the image.

Do not forget the Reapeater next to the piston otherwise something crazy will happen...

Keep in mind that I was ignoring the place. You coul'd put my solution in a smaller space than I have done...


Here is a example how you could place the Repeater for less space usage (20 secounds delay):

Less Space

It is just a little bit bigger than in the pictures above...

Gerret
  • 1,028
  • 8
  • 18
  • I hope he wasnt after a really compact design – Flaunting Aug 13 '14 at 10:11
  • Could this be done with a hopper timer instead of the repeater method, would really compact the design. and allow for precise time changes – Flaunting Aug 13 '14 at 10:12
  • @flaunting Well coul'd be i do not know what a hopper timer is and how it is working... But if it is doing the same like my delay machine it is working. – Gerret Aug 13 '14 at 10:14
  • link you would use the piston in the design to block the signal, i can't post an answer as i am at work but this should work – Flaunting Aug 13 '14 at 10:16
  • @flaunting it will working likly but the problem is that you have to build a thing that is activating the hopper timer and a thing that is disabling the timer. What is not that easy as my solution. – Gerret Aug 13 '14 at 10:22
  • Because if you press the button the timer has to start and if the timer is finished it has to stop. – Gerret Aug 13 '14 at 10:23
  • It takes up a lot less space, which in my opinion is more important – Flaunting Aug 13 '14 at 10:23
  • @Flaunting well you can make it how you want I only know this and it is working. You can put your answer later here to show me how this is working. Would be a intresting solution with a hopper timer... – Gerret Aug 13 '14 at 10:25