Difference between revisions of "Always-on circuit guide"
From Unofficial Stationeers Wiki
(auto restart an always on circuit) |
m (Sunspots moved page Always-on-circuit to Always-on circuit guide) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | This circuit will check a device - in this example a [[Wall Light]] - and restart it, if it will | + | This circuit will check a device - in this example a [[Wall Light]] - and restart it, if it will shut down / deactivate for a reason. |
− | |||
− | |||
<gallery> | <gallery> | ||
AlwaysOnCircuit.jpg|Full Visual with Settings | AlwaysOnCircuit.jpg|Full Visual with Settings | ||
+ | </gallery> | ||
− | |||
[[File:AlwaysOnCircuit.jpg|thumb]] | [[File:AlwaysOnCircuit.jpg|thumb]] | ||
== Trivia== | == Trivia== | ||
− | *This little thing was invented by user "Simoyd" in discord-chat "logic-ciruit-discussion" and needed | + | *This little thing was invented by user '''"Simoyd"''' in discord-chat "logic-ciruit-discussion" and needed and created by user "Raumfahrtdoc" |
*This is super useful to restart the [[Kit (Gas Generator)]] / [[Gas Generator]] | *This is super useful to restart the [[Kit (Gas Generator)]] / [[Gas Generator]] | ||
+ | |||
+ | == Improved version == | ||
+ | |||
+ | [[File:Improved Always-On-Circuit.png|thumb|Improved Always-On-Circuit using only two I/O and two processing units.|thumb]] | ||
+ | |||
+ | Using the new [[Kit_(Logic_Processor)#Min.2FMax_Unit|Min/Max Unit]] as an OR gate and [[Kit_(Logic_Processor)#Compare_Unit|Compare unit]] as a (controlled) NOT gate, a much cheaper version is possible. Basically, it is a controlled clock that only runs when the device is off and otherwise stays at 1. The circuit can also be modified easily to make an always-off circuit (e.g. to auto-close doors), see table below. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |+ Circuit setup | ||
+ | |- | ||
+ | ! Unit name || Unit type || Connector / Setting || Source / Value | ||
+ | |- | ||
+ | | reader || Logic Reader Unit || IN || '''device''' (whatever you want to control) | ||
+ | |- | ||
+ | | || || VAR || On (''Open'' for a door or switch) | ||
+ | |- | ||
+ | | max || Min/Max Unit || OPR || Greater (''Less'' for an always-off-circuit) | ||
+ | |- | ||
+ | | || || 1 (input 1) || reader | ||
+ | |- | ||
+ | | || || 2 (input 2) || compare | ||
+ | |- | ||
+ | | compare || Compare Unit || OUT || Equals (''NotEquals'' for an always-off-circuit) | ||
+ | |- | ||
+ | | || || 1 (input 1) || reader | ||
+ | |- | ||
+ | | || || 2 (input 2) || max | ||
+ | |- | ||
+ | | writer || Logic Writer || IN || max (''compare'' will also do) | ||
+ | |- | ||
+ | | || || OUT || '''device''' (whatever you want to control) | ||
+ | |- | ||
+ | | || || OUT VAR || On (''Open'' for a door or switch) | ||
+ | |} |
Latest revision as of 11:37, 18 November 2019
This circuit will check a device - in this example a Wall Light - and restart it, if it will shut down / deactivate for a reason.
Trivia[edit]
- This little thing was invented by user "Simoyd" in discord-chat "logic-ciruit-discussion" and needed and created by user "Raumfahrtdoc"
- This is super useful to restart the Kit (Gas Generator) / Gas Generator
Improved version[edit]
Using the new Min/Max Unit as an OR gate and Compare unit as a (controlled) NOT gate, a much cheaper version is possible. Basically, it is a controlled clock that only runs when the device is off and otherwise stays at 1. The circuit can also be modified easily to make an always-off circuit (e.g. to auto-close doors), see table below.
Unit name | Unit type | Connector / Setting | Source / Value |
---|---|---|---|
reader | Logic Reader Unit | IN | device (whatever you want to control) |
VAR | On (Open for a door or switch) | ||
max | Min/Max Unit | OPR | Greater (Less for an always-off-circuit) |
1 (input 1) | reader | ||
2 (input 2) | compare | ||
compare | Compare Unit | OUT | Equals (NotEquals for an always-off-circuit) |
1 (input 1) | reader | ||
2 (input 2) | max | ||
writer | Logic Writer | IN | max (compare will also do) |
OUT | device (whatever you want to control) | ||
OUT VAR | On (Open for a door or switch) |