You can use them to detect if there is power in a electric network.
Here is a simple example circuit.
It lights up a different lamp depending on if the left electric network has power.
Blueprint string:
Code: Select all
H4sIAAAAAAAA/82VbW+bMBDHv0rktzMVsJJp6rwvUk3INZfOkrGRH7YglO/eC6AmTkYSaDbtpfHd/3y/e6AyK2UEV6uSdaC99BIc6zrNa2DEGcVt0nANitDG
OLw1mnVbtn4oaMuS7KHY7eho/MKdFAkXItRBcW9s7PLYOxzMJ7WTQTw/1nY1VyoBBcJbDNIYBSdOj71T9CBupf9Zg0cHYeoXqc8flXwenWglLYrvP6+pMFoP
B0TxTDLyg3UWKsTSE2pLWbEspUJaEaTfn/Idhn0m+XVLJICmGKGSY4DDM1m3kdb50slXzRXrfNtgGr+k9YEjpBFFf5m8WgBNeiXnufYso6YBy/sUyCdCTfBN
mKW1m4UuX0ruy83gsr8BDqMcY0uXY+uV5kNLY2j5ndtt/U+67Y7Yrs72MNrp+T5QvG5i0+J9C9xGNTulGsMaL+eQakEp8ztGhd3QcLvvBka+k6PUKxCyAnt5
PeVL+qW4tV2KuF3o1KDGV9dGc0zsYwstjcl9W7LTUKFpS2GC9uXGmrqUGhUY8TbAnErkSwtxOrh0alQvFelrDP+8UT/A28FeaNbqPNSEzarJ0Wz8sSgbrlxU
lctjnv/HY86GFSdFH6CTuoIt/qInmw1THmxyOr0VUfHJgg9Wr8on0NUbllW2hbwJAAA=
It will use two lamps to show the power status.
If there is power the lower light is on, if no power the upper light is on, when there is some power but not enough the light flicker back and forth.
How it is build
left:
- green + 1 -> green
green < 100 -> green ( input count )
- green + 0 -> red
red + 0 -> red
green = red -> 1 yellow
How it work.
The left part loops the green signal from 0 to 100 over and over again.
( when the power drops it will count slower and stop when the power is out )
The right part check if the left part count fast by comparing the current green value with a slightly older value ( changed to red and delayed by the two arithmetic combinators )