Page 1 of 1

Daylight sensor

Posted: Mon Oct 23, 2017 6:23 pm
by Bauer
Inspired by XKnigths post (viewtopic.php?f=204&t=27866&p=182674#p182909) I created a sensor for dusk that does not only detect precisely the onset of dusk, but also counts down until night.
image.jpg
image.jpg (321.25 KiB) Viewed 2143 times
The upper counter (1) is fully powered all day and night. Connect to your main grid. In the example I use an accumulator to make sure that there is always amply power. The lower counter (2) slows down when the solar cell's power decreases. Unfortunately, the slowing of the combinator is random, i.e. not linear with the power shortage. Hence, I one by one switch off the lamps in order to have enough power left for the combinator in counter 2 to run (barely)... until their is no power left. The first flickering of the counter 2 starts a counter to 12500 in the reset circuit. After that (dusk+night+dawn), the control circuit resets and all lamps jump to life again.

Blueprint:

Code: Select all

0eNrNWltu2zgU3Qu/pUJ8SjbaAZruIkVgKDLTEtALtBQ0CLyA2cesrCupJCeuQosyKSrM9COFE/GSPOfcp/wM7vOW11KUDdg+A5FV5QFsvz+Dg/hRpnn/u+ap5mALRMMLEIAyLfpPhypPZVinJc/BMQCi3PNfYAuPwdWVe56JPZdhVhX3okybSo4MoONdAHjZiEbw0zmGD0+7si3uuex2mDxBAOrq0K2pyn7bzk4YB+Cp/+/Yn0ixgc420ixrizYfDnFpg3yiL1Y+0Sk7+GynR61Jy2Z8Ke2ZSHfdbkEjq3x3z3+mj6J7unvkQeQNlxr0H4Vs2jQfETA8EX4Fg7W2pw+OeLg7bVLyrD/BobcE+x8/JOflGFixB9vumpmQWSua4WO/euq+5O/mRZrnYZ4W9cQ12emak5DRORlcmqKvDPSY7YU83WZgcArBF5u77m97cb73g5CHZmeL6InQDoxhr6JO5XDGLfj973/dmqpt6tbeav20G8jaPciq2ImyswG2jWz50YYvPEJ2gj80sI/65ZLv1cUwuWA7MJTF211jM9WwMxQF34u2CHneXVKKLKyrnE+RPqOf2E4/6H+gH6jo58sC9dwsVI8B/ciU/nlVJWZiSOz4iz6AvxuFv0jh7/MC/r7N8PeQ5gcbAmOVlrdeCSeC+UwwmCB5ireNUejH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