Combinator based power detector

Post pictures and videos of your factories.
If possible, please post also the blueprints/maps of your creations!
For art/design etc. you can go to Fan Art.

Tistel
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Jul 21, 2015 6:30 am
Contact:

Combinator based power detector

Post by Tistel »

As desider and arithmetic combinators need power to work.
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.
Detect_power_day.png
Detect_power_day.png (401.38 KiB) Viewed 5913 times
Detect_power_night.png
Detect_power_night.png (456.7 KiB) Viewed 5913 times
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 it split in two electric network and it measure the left one ( it expect the right one to always have enough power )
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 )
right
  • 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 )
Post Reply

Return to “Show your Creations”