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.

I want to trigger a mechanism once every real-time 12 hours. Is this possible, or well out of the realms of plausibility?

I'm using the Direwolf modpack.

share|improve this question
    
Do you require the timer to be deterministic? Does it have to be exactly 12 hours, or can it be "on average" every 12 hours? –  John Apr 12 '13 at 19:12

1 Answer 1

up vote 20 down vote accepted

Yes

The simple way is to use a timer with a ridiculously long time set. However, since you can only increment the time 10 seconds at a time, this would require 4320 clicks. A bit much.

We can do better with a simple circuit that uses maths to extend the time between pulses.

The number of seconds we want to count is 43200. This can be expressed as 2^6 x 3^3 x 5^2, or 64 x 27 x 25. These three coprime numbers can be used as the times on three timers, with the results anded together. They will then only all pulse in step once every 12 hours.

All you need to do then is sync the timers by powering them on from the same line to disable them, and then powering them all off at the same time.

share|improve this answer
9  
Maths?!? gasp –  SaintWacko Jan 16 '13 at 14:04
    
Minecraft: it's edumactional! –  Li-aung Yip Jan 20 '13 at 16:45
2  
Note that anything RedPower creates a hell lot of lag every pulse, so plan accordingly. –  Jeffrey Lin May 2 '13 at 22:27

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.