Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

The only things I've found so far are a cart method (which ceased working in 1.6), a dispenser method (utilizing the decay on dropped items, but this requires occasional feeding), and a binary counter (which won't work for a single input but rather a fluctuating one).

I want to have a circuit that when I apply an input signal, the output signal doesn't change for 2 to 5 minutes. When the input turns off, I again want a 2 to 5 minute delay.

I could accomplish this with (roughly) 240 to 600 redstone repeaters, but this is far in excess of being useful.

The only method I can think of, but would require a XOR gate (on the button-input and final output) to start and stop a clock attached to a binary counter. While I can make room for a device of this size, I was hoping for something simpler.

share|improve this question
    
What do you want to attach it to? What other mechanisms/blocks are involved? What's your goal for the circuit? –  Cyclops Aug 23 '11 at 22:33
    
I can give you a tip: items disappears at 5 minutes in the ground –  user65454 Dec 31 '13 at 16:09
    
Would you mind actually providing a circuit that uses this principle? –  MBraedley Dec 31 '13 at 16:19
    
Holyshitoldpostisold. Pipe01: uh, my original post indicated a problem with that method. MBraedley: fuck if I remember, the original question is over two years old. –  Draco18s Dec 31 '13 at 19:56
    
If you're willing to use a Bukkit plugin, several Craftbook IC's can help you here: Clock, Clock Divider, Rising Edge T flip Flop, links respectively: wiki.sk89q.com/wiki/CraftBook/MC1421, wiki.sk89q.com/wiki/CraftBook/MC1420, wiki.sk89q.com/wiki/CraftBook/MC1017. –  Hello World May 30 at 6:11
show 1 more comment

9 Answers 9

up vote 6 down vote accepted

Minecraftaddict's "Extreme Delay Redstone Timer" is the longest delay circuit I know of. (But I can see from the comments that you've already found it). However, directly using this circuit won't work with a light sensor output, since the output of a light sensor would be 10 minutes on and 10 minutes off.

The solution to this is to connect the output of your light sensor to a falling-edge and rising-edge monostable circuit that are OR'd together.

Rising-edge on the left, falling-edge on the right.

This is an image of a rising-edge trigger on the left, and a falling-edge trigger on the right. You would connect the A inputs together – to the output of your light trigger. When the A input is turned on, the Q output of the left circuit pulses. When the A output turns off, the Q output of the right circuit pulses. Because of this, you can connect the two Q output wires together (ORing them) to have an output that sends a signal whenever the light-sensor changes.

However, these circuits are designed to make a very short pulse. Because Minecraftaddict's delay circuit comes with a built-in pulse shortener, you will want to send a slightly longer signal to it. To do this, just add more repeaters to the edge triggers (add an extra repeater to when the current repeaters are). Leave the repeaters that should be on the first setting like that, but change the repeaters that should be on the second setting (according to the image) to the fourth setting.

share|improve this answer
    
Yep, that's exactly the video I had been looking for, and then found. :) –  Draco18s Aug 23 '11 at 18:14
add comment

I would recommend using a slow automatic clock (See B') tied in to a chain of T flip flops, (if you have access to sticky pistons you can make them extremely compact, see the Z layouts).

enter image description here

In the above diagram A would take 2x long to cycle, B would take 4x long, c would take 8x long, D would take 16x long.

As you see it gets very long very fast, I doubt you would need more than 4 or 5 T flip flops to get a 2-5 min delay.

share|improve this answer
    
The TFF idea won't work, as I have a slow input signal (it's the output from a light sensor, so it toggles on every sunrise and off every sunset) and wanted to tie that to a door so the door would stay open for ~5 minutes. A TFF would require a clock-input, and the clock would have to be turned on and off based on the initial input signal. I found a solution though, digging through this one guy's youtube videos. youtube.com/watch?v=xsC2xoQi38I Extremely compact design that can be delayed exponentially through a linear increase in circuit size. –  Draco18s Aug 23 '11 at 17:08
    
Sorry I did not understand the question. Glad you got help, you should post the details of your solution as an answer. There is nothing wrong with answering your own question on this site if you figured it out yourself. –  Scott Chamberlain Aug 23 '11 at 17:23
    
I'd have posted my own solution, except I can't for about 5 more hours. :P Guy below, however, did have what I was looking for. –  Draco18s Aug 23 '11 at 18:15
add comment

for 5 minutes exactly you could have a dispenser drop an item onto a pressure plate, and the item would disappear after 5 minutes

I also have a video of what I use when I need long pulses on my youtube channel

You could modify this to use a system to activate the circuit several times sequentially to save space. I may do a video on that again some time.

share|improve this answer
2  
+1 for a unique method of getting exactly 5 minutes –  Fambida Sep 18 '11 at 20:26
    
@Fambida I second the statement. –  Timtech Aug 14 '13 at 22:41
add comment

Use several clocks and an AND gate

A clock that takes 7 ticks and one that takes 8 ticks will output every 56 ticks, using only 5 repeaters instead of 15. Using this method you can use 6 repeaters to get a 42s (420 tick) delay.

You simply have a clock that takes 3 ticks (1), a clock that takes 4 ticks (+1=2), A clock that takes 5 (+2=4), and a clock that takes 7 (+2=6 repeaters).

3 x 4 x 5 x 7 = 420.

share|improve this answer
add comment

The longest I can think out of top of my head?

Extreme delay

Fill the dropper with as many items as many days you want the signal to take. Each morning the dropper will discard one item, for a max of 576 in-game days. If that's not enough, you can restock the dropper with a chain of hoppers and a double chests, and only when all the items are exhausted the signal will be produced.

If you want this retriggerable, with limit of 320 days you can "discard" the items into a hopper blocked with a piece of redstone that will be deactivated once the time is past, and feed all the items back in.

The five redstones at start are needed to overcome the night ambient light threshold.

If you want something faster, clock that dropper with a pair of repeaters or any of hundreds minor clocks. With an adjustable clock and a specific number of items you will easily fit within that 3-5 minutes range.

share|improve this answer
    
The daylight sensor doesn't have to be that far from the dropper. Your device can be a bit more compact while retaining the same delay. –  Hello World Apr 2 at 10:40
2  
@HelloWorld: Note clear night light level is 4, so the daylight sensor with unobstructed view to the sky will emit signal strength 4 at night. OTOH, during storm light drops to level 7 so to keep the switch working you must have between 5 and 6 blocks distance. (you still risk false positives with storm ending near sunset time, brightness first dipping below 7, and then jumping back up as storm ends but light level is still "daytime".) –  SF. Apr 2 at 11:21
    
Thanks, very informative. –  Hello World Apr 4 at 10:05
add comment

I've recently worked out this circuit: enter image description here

On the right is one of Etho's Hopper timer, which can be extend to about three and a half minutes, with precise adjustment by adjusting the number of items in it. On the left is another hopper timer, just like it. The timer on the left is not being used as a timer, but rather, a counter, counting the number of times the timer on the right has cycled. The redstone on the hoppers on the left disable the counter except when the timer on the right resets, and then allows it to run just long enough to allow one item to shift around.

When all of the items have shifted in the counter from one hopper to the other, it switches the output on the far left 'on', and all the items have to shift back to the first. After a full round trip, the clock and the output turns 'off'

Since the counter has a capacity of 5 stacks of up to 64 items, and the input clock has a maximum delay of 3.7 minutes; this clock can be adjusted to have a cycle time as long as 40 HOURS!. If that's not long enough, add another counter to the output of the first; which will top out at a delay of almost 3 years.

share|improve this answer
add comment

Minecart tracks can easily be extended to provide a very long delay, taking up (relatively) little space. The space they take up can easily be put anywhere you want too, which will avoid clogging up your circuit.

Wire up the output of this circuit to a flip flop, and have your input connected to a cart dispenser. When you hit toggle, a cart is released. 5 minutes later it will arrive and switch the flip flop. You can then return the carts to the dispenser.

Minecart delay

Add more tracks as required

I'd recommend tight spirals of track to extend the time, which ensures they won't stray into a chunk that might get unloaded.

share|improve this answer
    
You'd be surprised how much track you need for a 5 minute long loop! We've got a whole metro system that takes about 3 minutes for a complete loop and took several hundred track to build. (It's also going to get a track-switching upgrade here soon, as soon as I can work out the schematic with sticky pistons and assuming it's better than what we have now) –  Draco18s Aug 23 '11 at 18:19
    
Couldn't you wire this to a counter? After 10 loops the counter fires, say? –  Michael Aug 23 '11 at 19:28
1  
Binary counter, yeah. Would work. –  Draco18s Aug 23 '11 at 20:39
    
A mixture of methods is likely to be good. Make a binary counter out of minecarts! –  fredley Aug 23 '11 at 20:41
add comment

Scott Chamberlain's answer is pretty good but if you don't like the complexity of pistons, here is a compact T flip flop without them:

T flip flop, compact, no pistons!

Here is a ~2 minute long clock:

chained T-flip flops and a clock

Note that each extra T flip flop will halve the clock speed. Also note that a small change in the initial clock's repeaters will greatly affect the result.

share|improve this answer
add comment

share|improve this answer
5  
Can you summarize what is in the video so that we know what it is even if the video is removed? –  Jeffrey Lin Nov 6 '12 at 21:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.