Actions

Difference between revisions of "Sensors"

From Unofficial Stationeers Wiki

(Motion Sensor)
(19 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
<languages />
 
<languages />
 
<translate>
 
<translate>
 +
= Description = <!--T:1-->
 +
 
{{Itembox
 
{{Itembox
  | name        = Construction Kit (Sensor)
+
  | name        = Kit (Sensors)
 
  | image      =  {{{image|[[File:ItemSensorKit.png]]}}}
 
  | image      =  {{{image|[[File:ItemSensorKit.png]]}}}
 
  | stacks      = 5x
 
  | stacks      = 5x
 
  | constructs  = Daylight, Motion or Gas Sensor
 
  | constructs  = Daylight, Motion or Gas Sensor
  | createdwith = [[Electronics Printer]], [[Fabricator]]
+
  | createdwith = [[Electronics Printer]], [[Fabricator]], [[Hydraulic Pipe Bender]]
  | cost        = 1g [[Copper]], 1g [[Gold]]
+
  | cost        = 3g [[Iron]], 1g [[Gold]], 1g [[Copper]] <br><small>Hydraulic Pipe Bender has an altered recipe 1g iron instead of 3g</small>
 
}}
 
}}
 +
 +
[[Sensors]] are used to detect different conditions of the world. They can be read by the [[Logic]] [[Computer]]s as well as used when correctly configured by some devices, such as a [[Console]] with a [[Circuitboard (Airlock Control)]].
 +
 +
<gallery>
 +
File:Daylight_sensor.jpg|In-game view of daylight sensor
 +
File:Gas_sensor.jpg|In-game view of gas sensor
 +
File:Motion_sensor.jpg|In-game view of motion sensor
 +
</gallery>
 +
 +
= Daylight Sensor = <!--T:2-->
 +
 
{{Structurebox
 
{{Structurebox
  | name = Daylight Sensor
+
  | name             = Daylight Sensor
  | image     = {{{image|[[File:ItemKitSensor.png]]}}}
+
  | image           = [[File:ItemKitSensor.png]]
  | placement = Small Grid, On Frames
+
  | placed_with_item = [[Kit (Sensors)]]
  | powerusage = 10W
+
  | placed_on_grid  = Small Grid, On Frames
 +
  | decon_with_tool1 = [[Hand Drill]]
 +
| item_rec1        = [[Kit (Sensors)]]
 
}}
 
}}
 +
 +
The daylight sensor reports whether the sun hits the large grid the sensor is in, as well as the solar angle (relative to the normal axis of the sensor; the direction perpendicular to the sensor's face). Looking at the sensor will provide a tool-tip readout of this information. The sensor turns green when sunny.
 +
 +
The daylight sensor now has a mode property which can be set with logic writer and memory chip, 0 = default (same as vertical), 1 = horizontal, 2 = vertical. Other values will throw an index-out-of-range error in console if you mouse-over the sensor.
 +
 +
The orientation of the daylight sensor is important, it will read different angle values depending on the orientation. Placing a sensor on a wall towards sunrise (East) will always result in a linear increasing 0-180 angle output thru the day, and decreasing 180-0 angle thru the night. This can be utilized as a daytime sensor, for alarm or clock functions.
 +
 +
Placing a sensor (default/vertical mode) on the 'floor' (any direction) will report the angular difference from zenith (straight up) towards the sun. 90 subtracted by this value will convert this into an angle of horizon/altitude.
 +
 +
Placing a sensor (horizontal mode 1) on the 'floor' will report the angular difference from a fixed horizon point, depending on orientation, towards the actual azimuth of the sun. This value will decrease thru the day. But a properly tracking panel requires increasing values (opposite direction of rotation). You must take some multiple of 90 degrees, depending on solar panel orientation, and subtract this horizontal angle to get a proper azimuth angle towards the sun, for feeding to solar panel tracking.
 +
 +
Alternatively, placing a (horizontal) sensor on the ceiling (aka upside-down) will result in the correct rotation of values. Rotate the sensor power wire 90 degrees clockwise from the direction of the solar panel's power port. (N-> E, E->S, S->W, W->N)
 +
 +
The sensor always reports an angle to a logic reader at all times, but the tooltip will not display the angle if the sensor does not have sunlight.
 +
 +
See https://stationeers-wiki.com/Solar_Logic_Circuits_Guide for more solar panel logic discussion.
 +
 +
Examples (on the moon/space):
 +
* If the daylight sensor is fixed on the floor, it will report 90 degrees at sunrise, up to 0 degrees at noon, back to 90 degrees at sunset, to 180 degrees at midnight, and back to 90 at sunrise.
 +
* If fixed on a ceiling the cycle will be opposite, i.e.: 90 -> 180 -> 90 -> 0 -> 90.
 +
* If fixed to an east facing wall, the cycle from sunrise is: 0 -> 90 -> 180 -> 90 -> 0.
 +
* If fixed to a west facing wall, the cycle is opposite, i.e.: 180 -> 90 -> 0 -> 90 -> 180.
 +
* If fixed to a north or south facing wall it will stay at 90 degrees all the time.
 +
 +
{{Data Network Header}}
 +
 +
{{Data Parameters}}
 +
{| class="wikitable"
 +
|-
 +
! Parameter Name !! Data Type !! Description
 +
|-
 +
| Mode || || 0 = Default (Vertical), 1 = Horizontal, 2 = Vertical
 +
|-
 +
| Activate || ||
 +
|-
 +
| On || ||
 +
|}
 +
 +
{{Data Outputs}}
 +
{| class="wikitable"
 +
|-
 +
! Output Name !! Data Type !! Description
 +
|-
 +
| Mode || || 0 = Default (Vertical), 1 = Horizontal, 2 = Vertical
 +
|-
 +
| Activate || ||
 +
|-
 +
| SolarAngle || ||
 +
|-
 +
| On || ||
 +
|}
 +
 +
= Motion Sensor =
 +
 
{{Structurebox
 
{{Structurebox
  | name = Gas Sensor
+
  | name             = Motion Sensor
  | image = {{{image|[[File:ItemGasSensor.png]]}}}
+
  | image           = [[File:ItemMotionSensor.png]]
  | placement = Small Grid, On Frames
+
  | power_usage      = 10W
  | powerusage = 10W
+
| placed_with_item = [[Kit (Sensors)]]
 +
| placed_on_grid  = Small Grid, On Frames
 +
  | decon_with_tool1 = [[Hand Drill]]
 +
| item_rec1        = [[Kit (Sensors)]]
 
}}
 
}}
 +
 +
The motion sensor activates when a player or object enters the large grid square where the sensor is, and it will deactivate when no more players or objects are in the area.
 +
 +
{{Data Network Header}}
 +
 +
{{Data Parameters}}
 +
{| class="wikitable"
 +
|-
 +
! Parameter Name !! Data Type !! Description
 +
|}
 +
 +
{{Data Outputs}}
 +
{| class="wikitable"
 +
|-
 +
! Output Name !! Data Type !! Description
 +
|}
 +
 +
= Gas Sensor =
 +
 
{{Structurebox
 
{{Structurebox
  | name = Motion Sensor
+
  | name             = Gas Sensor
  | image = {{{image|[[File:ItemMotionSensor.png]]}}}
+
  | image           = [[File:ItemGasSensor.png]]
  | placement = Small Grid, On Frames
+
  | power_usage      = 10W
  | powerusage = 10W
+
| placed_with_item = [[Kit (Sensors)]]
 +
| placed_on_grid  = Small Grid, On Frames
 +
  | decon_with_tool1 = [[Hand Drill]]
 +
| item_rec1        = [[Kit (Sensors)]]
 
}}
 
}}
== Description == <!--T:1-->
 
[[Sensors]] are used to detect different conditions of the world. They can be read by the [[Logic]] [[Computer]]s as well as used when correctly configured by some devices, such as a [[Console]] with a [[Circuitboard (Airlock Control)]].
 
  
<gallery>
 
File:Daylight_sensor.jpg|In-game view of daylight sensor
 
File:Gas_sensor.jpg|In-game view of gas sensor
 
File:Motion_sensor.jpg|In-game view of motion sensor
 
</gallery>
 
=== Daylight Sensor === <!--T:2-->
 
The daylight sensor reports whether the sun hits the atmosphere the sensor is in, as well as the angle (relative to the angle of the sensor).
 
=== Motion Sensor ===
 
The motion sensor activates when a player enters the large grid square where the sensor is, and it will deactivate when no more players are in the area.
 
=== Gas Sensor ===
 
 
The gas sensor will report information about the gas in the current atmosphere, such as pressure, contents and temperature.
 
The gas sensor will report information about the gas in the current atmosphere, such as pressure, contents and temperature.
  
 +
Note: Temperature is given in Kelvin, while your suit gives a readout in Celsius.
 +
 +
Celsius + 273.15 = Kelvin
 +
 +
{{Data Network Header}}
 +
 +
=== Data Parameters ===
 +
The gas sensor has no Input parameters, it's a read only device.
 +
 +
{{Data Outputs}}
 +
{| class="wikitable"
 +
|-
 +
! Output Name !! Data Type !! Description
 +
|-
 +
| Pressure || Float || In kPa
 +
|-
 +
| Temperature || Float || In Kelvin
 +
|-
 +
| RatioOxygen || Float || The ratio of oxygen in the atmosphere. A value between 0 (no oxygen at all, or 0%) and 1 ( pure oxygen atmosphere, or 100%)
 +
|-
 +
| RatioCarbonDioxide || Float ||
 +
|-
 +
| RatioNitrogen || Float ||
 +
|-
 +
| RatioPollutant || Float ||
 +
|-
 +
| RatioVolatiles || Float ||
 +
|-
 +
| RatioWater || Float ||
 +
|}
 
</translate>
 
</translate>

Revision as of 23:27, 3 January 2019

Other languages:
English

Description

Kit (Sensors)
ItemSensorKit.png
Stacks 5x
Constructing Options Daylight, Motion or Gas Sensor
Recipe
Created With Electronics Printer, Fabricator, Hydraulic Pipe Bender
Cost 3g Iron, 1g Gold, 1g Copper
Hydraulic Pipe Bender has an altered recipe 1g iron instead of 3g
Sensors are used to detect different conditions of the world. They can be read by the Logic Computers as well as used when correctly configured by some devices, such as a Console with a Circuitboard (Airlock Control).

Daylight Sensor

Daylight Sensor
ItemKitSensor.png
Construction
Placed with Kit (Sensors)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Sensors)

The daylight sensor reports whether the sun hits the large grid the sensor is in, as well as the solar angle (relative to the normal axis of the sensor; the direction perpendicular to the sensor's face). Looking at the sensor will provide a tool-tip readout of this information. The sensor turns green when sunny.

The daylight sensor now has a mode property which can be set with logic writer and memory chip, 0 = default (same as vertical), 1 = horizontal, 2 = vertical. Other values will throw an index-out-of-range error in console if you mouse-over the sensor.

The orientation of the daylight sensor is important, it will read different angle values depending on the orientation. Placing a sensor on a wall towards sunrise (East) will always result in a linear increasing 0-180 angle output thru the day, and decreasing 180-0 angle thru the night. This can be utilized as a daytime sensor, for alarm or clock functions.

Placing a sensor (default/vertical mode) on the 'floor' (any direction) will report the angular difference from zenith (straight up) towards the sun. 90 subtracted by this value will convert this into an angle of horizon/altitude.

Placing a sensor (horizontal mode 1) on the 'floor' will report the angular difference from a fixed horizon point, depending on orientation, towards the actual azimuth of the sun. This value will decrease thru the day. But a properly tracking panel requires increasing values (opposite direction of rotation). You must take some multiple of 90 degrees, depending on solar panel orientation, and subtract this horizontal angle to get a proper azimuth angle towards the sun, for feeding to solar panel tracking.

Alternatively, placing a (horizontal) sensor on the ceiling (aka upside-down) will result in the correct rotation of values. Rotate the sensor power wire 90 degrees clockwise from the direction of the solar panel's power port. (N-> E, E->S, S->W, W->N)

The sensor always reports an angle to a logic reader at all times, but the tooltip will not display the angle if the sensor does not have sunlight.

See https://stationeers-wiki.com/Solar_Logic_Circuits_Guide for more solar panel logic discussion.

Examples (on the moon/space):

  • If the daylight sensor is fixed on the floor, it will report 90 degrees at sunrise, up to 0 degrees at noon, back to 90 degrees at sunset, to 180 degrees at midnight, and back to 90 at sunrise.
  • If fixed on a ceiling the cycle will be opposite, i.e.: 90 -> 180 -> 90 -> 0 -> 90.
  • If fixed to an east facing wall, the cycle from sunrise is: 0 -> 90 -> 180 -> 90 -> 0.
  • If fixed to a west facing wall, the cycle is opposite, i.e.: 180 -> 90 -> 0 -> 90 -> 180.
  • If fixed to a north or south facing wall it will stay at 90 degrees all the time.

Data Network Properties

These are all Data Network properties of this device.

Data Parameters

These are all parameters, that can be written to with a Logic Writer, Batch Writer, or Integrated Circuit (IC10). The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.

Parameter Name Data Type Description
Mode 0 = Default (Vertical), 1 = Horizontal, 2 = Vertical
Activate
On

Data Outputs

These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.

Output Name Data Type Description
Mode 0 = Default (Vertical), 1 = Horizontal, 2 = Vertical
Activate
SolarAngle
On

Motion Sensor

Motion Sensor
ItemMotionSensor.png
Operation
Power Usage 10W
Construction
Placed with Kit (Sensors)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Sensors)

The motion sensor activates when a player or object enters the large grid square where the sensor is, and it will deactivate when no more players or objects are in the area.

Data Network Properties

These are all Data Network properties of this device.

Data Parameters

These are all parameters, that can be written to with a Logic Writer, Batch Writer, or Integrated Circuit (IC10). The outputs are listed in the order a Logic Writer's "VAR" setting cycles through them.

Parameter Name Data Type Description

Data Outputs

These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.

Output Name Data Type Description

Gas Sensor

Gas Sensor
ItemGasSensor.png
Operation
Power Usage 10W
Construction
Placed with Kit (Sensors)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Sensors)

The gas sensor will report information about the gas in the current atmosphere, such as pressure, contents and temperature.

Note: Temperature is given in Kelvin, while your suit gives a readout in Celsius.

Celsius + 273.15 = Kelvin

Data Network Properties

These are all Data Network properties of this device.

Data Parameters

The gas sensor has no Input parameters, it's a read only device.

Data Outputs

These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.

Output Name Data Type Description
Pressure Float In kPa
Temperature Float In Kelvin
RatioOxygen Float The ratio of oxygen in the atmosphere. A value between 0 (no oxygen at all, or 0%) and 1 ( pure oxygen atmosphere, or 100%)
RatioCarbonDioxide Float
RatioNitrogen Float
RatioPollutant Float
RatioVolatiles Float
RatioWater Float