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.

Sorry for the strange title, I could not think of a better one.

I am working on a project, and basically what I need is a redstone torch that is one minute on, and the next minute off, and then a minute on again, and so one.

Ideally I want to have a switch that turns the whole thing off.

What would be the best way to go about this. Resources are no problem.

share|improve this question
    
So you're looking for a Astable Multivibrator with a period of 2 minutes? –  Zommuter Jul 14 '12 at 8:37
    
Related: How can you turn a rapid pulser on and off?, you'll just need to add a frequency divider –  Zommuter Jul 14 '12 at 8:39

3 Answers 3

up vote 2 down vote accepted

The simplest solution would likely be to make a Redstone Clock with enough Repeaters to have the clock cycle every minute. Repeaters can be set delays from 1 to 4 ticks, and each tick lasts 0.1 seconds, so you would need 150 Repeaters set to their full delay to last for one minute. Keep in mind that Redstone signals take 1 tick to propagate through Redstone Torches, so if timing is extremely important you will need to take this into account and adjust the timing of your Repeaters accordingly.

Alternatively, if you have enough space to create an area with no risk of entities obstructing the path, you could use a Minecart-based clock, with a detector rail connected to a T Flip-Flop as the output of the circuit. Minecarts travel at 8 metres per second at their top speed, so you would need a track 480 rails long to create a 1 minute delay (assuming the Minecart is moving at its top speed the entire time). This doesn't take into account the fact that Minecarts move faster along diagonals, so the Minecart would technically be traveling at 11.314m/s at any corners in the track. If the timing of the circuit is important, this will make the timer inaccurate after many loops of the clock. Also, this design would add complexity if you needed to be able to start and stop the timer.

share|improve this answer
    
Wow that sounds like an awe full lot of repeaters. This will be in one of my contraptions in my main area, do you have any idea if this will cause the game to lag? –  Saif Bechan Jul 15 '12 at 6:39
    
I'm not completely sure. The signal will be moving fairly slowly through the Repeaters, so compared to something like a rapid pulsar, Redstone updates won't be occurring too often. It's possible that it will create some lag (as any block updates can), but it probably won't be significant. –  Kevin Y Jul 15 '12 at 8:07

There are a number of clock types you can use that will let you get longer periods without using many repeaters. Each type has its pros and cons. Here is a list, with desctions: http://www.minecraftwiki.net/wiki/Redstone_Circuits#Clock_generators

In particular, I have seen Piston Clocks used to generate very slow pulses, for things like monster traps. You can adjust the number of blocks being moved to change the pulse rate.

share|improve this answer
    
I would definitely recommend a large clock rather than pure repeaters –  z ' Jul 16 '12 at 19:41

First you create a one minute timer using repeaters or some other method like Kevin said, then you attach one point in the clock to a T-flip flop so it alternates the output every cycle of the clock.

Alternatively you could set up a two minute timer, and connect one point to the Set input of a RS-NOR latch and another point to the Reset of the latch, this would be useful if you want the output to be on for a different amount of time (such as 1:30 on, 0:30 off)

share|improve this answer

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.