Actions

Difference between revisions of "Sensors"

From Unofficial Stationeers Wiki

(Add variant structure boxes for gas and motion)
(SolarAngle in horizontal mode has the oppsite value of the horizontal parameter (for some reason...))
 
(21 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 +
[[Category:Solar power]]
 
<languages />
 
<languages />
<translate>
+
<translate>{{Itembox
= Description = <!--T:1-->
 
 
 
{{Itembox
 
 
  | name        = Kit (Sensors)
 
  | name        = Kit (Sensors)
  | image      =  {{{image|[[File:ItemSensorKit.png]]}}}
+
  | image      =  {{{image|[[File:ItemKitSensor.png]]}}}
  | stacks      = 5x
+
  | stacks      = 5
  | constructs  = Daylight, Motion or Gas Sensor
+
  | constructs  = Daylight, Motion, Gas, Occupancy or Proximity Sensor
  | createdwith = [[Electronics Printer]], [[Fabricator]], [[Hydraulic Pipe Bender]]
+
  | createdwith = [[Electronics Printer]], [[Hydraulic Pipe Bender]]
 
  | cost        = 3g [[Iron]], 1g [[Gold]], 1g [[Copper]] <br><small>Hydraulic Pipe Bender has an altered recipe 1g iron instead of 3g</small>
 
  | 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)]].
+
{{Structurebox
 
+
| name            = Daylight Sensor
<gallery>
+
| prefab_hash      = 1076425094
File:Daylight_sensor.jpg|In-game view of daylight sensor
+
| prefab_name      = StructureDaylightSensor
File:Gas_sensor.jpg|In-game view of gas sensor
+
| power_usage      = 10W
File:Motion_sensor.jpg|In-game view of motion sensor
+
| image            = [[File:StructureDaylightSensor.png]]
</gallery>
+
| placed_with_item = [[Kit (Sensors)]]
 
+
| placed_on_grid  = Small Grid, On Frames
= Daylight Sensor = <!--T:2-->
+
| decon_with_tool1 = [[Hand Drill]]
 +
| item_rec1        = [[Kit (Sensors)]]
 +
}}
  
 
{{Structurebox
 
{{Structurebox
  | name            = Daylight Sensor
+
  | name            = Motion Sensor
  | image            = [[File:Daylight_sensor.jpg]]  
+
| prefab_hash      = -1713470563
 +
| prefab_name      = StructureMotionSensor
 +
| power_usage      = 0W
 +
  | image            = [[File:ItemMotionSensor.png]]  
 
  | placed_with_item = [[Kit (Sensors)]]
 
  | placed_with_item = [[Kit (Sensors)]]
 
  | placed_on_grid  = Small Grid, On Frames
 
  | placed_on_grid  = Small Grid, On Frames
Line 30: Line 33:
 
  | item_rec1        = [[Kit (Sensors)]]
 
  | item_rec1        = [[Kit (Sensors)]]
 
}}
 
}}
 +
 
{{Structurebox
 
{{Structurebox
 
  | name            = Gas Sensor
 
  | name            = Gas Sensor
 +
| prefab_hash      = -1252983604
 +
| prefab_name      = StructureGasSensor
 +
| power_usage      = 1W
 
  | image            = [[File:ItemGasSensor.png]]  
 
  | image            = [[File:ItemGasSensor.png]]  
 
  | placed_with_item = [[Kit (Sensors)]]
 
  | placed_with_item = [[Kit (Sensors)]]
Line 37: Line 44:
 
  | decon_with_tool1 = [[Hand Drill]]
 
  | decon_with_tool1 = [[Hand Drill]]
 
  | item_rec1        = [[Kit (Sensors)]]
 
  | item_rec1        = [[Kit (Sensors)]]
}}
+
}}  
 +
 
 
{{Structurebox
 
{{Structurebox
  | name            = Motion Sensor
+
  | name            = Occupancy Sensor
  | image            = [[File:ItemMotionSensor.png]]  
+
| prefab_hash      = 322782515
 +
| prefab_name      = StructureOccupancySensor
 +
| power_usage      = 0W
 +
  | image            = [[File:StructureOccupancySensor.png]]
 
  | placed_with_item = [[Kit (Sensors)]]
 
  | placed_with_item = [[Kit (Sensors)]]
 
  | placed_on_grid  = Small Grid, On Frames
 
  | placed_on_grid  = Small Grid, On Frames
 
  | decon_with_tool1 = [[Hand Drill]]
 
  | decon_with_tool1 = [[Hand Drill]]
 
  | item_rec1        = [[Kit (Sensors)]]
 
  | 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. Looking at the sensor will provide a tool-tip readout of this information, even when not connected to the network. The orientation of the daylight sensor is important, it will read different angle values depending on the orientation.
+
{{Structurebox
 +
| name            = Proximity Sensor
 +
| prefab_hash      = 568800213
 +
| prefab_name      = StructureProximitySensor
 +
| power_usage      = 0W
 +
| image            = [[File:StructureProximitySensor.png]]
 +
| placed_with_item = [[Kit (Sensors)]]
 +
| placed_on_grid  = Small Grid, On Frames
 +
| decon_with_tool1 = [[Hand Drill]]
 +
  | item_rec1        = [[Kit (Sensors)]]
 +
}}
  
'''Update''': While the <kbd>Mode</kbd> and <kbd>SolarAngle</kbd> properties described below are still available, they are being deprecated in favor of <kbd>Horizontal</kbd> and <kbd>Vertical</kbd> data properties, returning the same as their <kbd>Mode</kbd> counterparts.
 
  
The daylight sensor has a <kbd>Mode</kbd> property which can be set with logic writer and memory chip, 0 = default, 1 = horizontal, 2 = vertical. Other values will throw an index-out-of-range error in console if you mouse-over the sensor. Each mode defines a specific behavior for how the solar angle is calculated.
+
= Description = <!--T:1-->
  
== Modes ==
 
In default mode, the sensor will return the absolute value of the angle formed by the source of light and the normal vector of the sensor (towards which the grey/green part is facing). 0 means the source of light is facing to the sensor, 90 means it is aligned with the surface the sensor was laid on, and 180 means the source of light is in the back of the sensor. The angle is always a positive value between 0 and 180.
 
  
[[File:Daylight sensor horizontal.png|200x150px|thumb|daylight sensor in horizontal mode]]
+
Sensors are used to detect various parameters of their surroundings. <br/>
In horizontal mode, the sensor will return the angle formed by the reference vector (opposites the network connector) and the projection of the source of light on the surface the sensor was laid on. Positive values designate angles counter-clockwise when facing the sensor. The angle can be negative, ranging between -180 and +180.
+
Only the [[Sensors#Daylight_Sensor|Daylight Sensor]] can be accessed directly by pointing at it. The other sensors require a [[Handheld Tablet]] with a [[Cartridge#Configuration|Configuration Cartridge]] to be accessed manually.<br/>
[[File:Daylight sensor vertical.png|200x150px|thumb|daylight sensor in vertical mode]]
+
Their outputs can also be accessed using a [[Kit_(Logic_I/O)#Logic_Reader|Logic Reader]] or an [[Integrated Circuit (IC10)|Integrated Circuit]] inserted in an [[Kit (IC Housing)|IC Housing]].
In vertical mode, the sensor measures the angle between the normal of the surface the sensor was laid on and the position of the sun.  
 
  
=== Notes ===
+
<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>
  
Solar panel work using clockwise reference angles, which means depending of the situation you may have to invert the values returned by sensors' horizontal or vertical modes.
 
  
The sensor always reports an angle to a logic reader at all times.
+
= <big>Daylight Sensor</big> = <!--T:2-->
  
See https://stationeers-wiki.com/Solar_Logic_Circuits_Guide for more solar panel logic discussion.
+
The daylight sensor reports whether the sun hits the large grid the sensor is in, as well as the solar angle. Looking at the sensor will provide a tool-tip readout of this information, even when not connected to the network. The orientation of the daylight sensor is important, it will read different angle values depending on the orientation.
 
+
<gallery>
=== Examples ===
+
File:Daylight sensor horizontal.png|Horizontal parameter
On the moon/space :
+
File:Daylight sensor vertical.png|Vertical parameter
* 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.
+
</gallery>
* If fixed on a ceiling the cycle will be opposite, i.e.: 90 -> 180 -> 90 -> 0 -> 90.
+
== Modes ==
* If fixed to an east facing wall, the cycle from sunrise is: 0 -> 90 -> 180 -> 90 -> 0.
+
{{warning|While the <kbd>Mode</kbd> and <kbd>SolarAngle</kbd> properties described below are still available, they are being deprecated in favor of <kbd>Horizontal</kbd> and <kbd>Vertical</kbd> data properties.
* If fixed to a west facing wall, the cycle is opposite, i.e.: 180 -> 90 -> 0 -> 90 -> 180.
+
While <kbd>Vertical</kbd> and <kbd>Vertical mode</kbd> have the same value, '''<kbd>Horizontal</kbd> and <kbd>Horizontal mode</kbd> have opposite values''' (inverted sign).}}
* If fixed to a north or south facing wall it will stay at 90 degrees all the time.
+
The daylight sensor has a <kbd>Mode</kbd> property which can be set with [[Kit_(Logic_I/O)#Logic_Writer|Logic Writer]] and  [[Kit_(Logic_Memory)|Memory chip]], or with an [[Integrated Circuit (IC10)|Integrated Circuit]]:
 
 
Other :
 
* If you lay a sensor on the ground, facing upwards, connector towards south,configured in horizontal mode, it will work like a compass with 0 = north, 90 = east, 180 = south and -90 = west
 
 
 
 
 
{{Data Network Header}}
 
 
 
{{Data Parameters}}
 
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Parameter Name !! Data Type !! Description
+
! Value !! Name !! Description
 
|-
 
|-
| Mode || || 0 = Default, 1 = Horizontal, 2 = Vertical (Warning! In IC Horizontal and Vertical are the other way around for some reason.)
+
| 0 || Default || The sensor will return the absolute value of the angle formed by the source of light and the normal vector of the sensor (towards which the grey/green part is facing). 0 means the source of light is facing to the sensor, 90 means it is aligned with the surface the sensor was laid on, and 180 means the source of light is in the back of the sensor. The angle is always a positive value between 0 and 180.
 
|-
 
|-
| Activate || ||
+
| 1 || Horizontal || Returns the angle from the position of the source of light parallel to the surface of the sensor. The angle can be negative, ranging between -180 and +180.
 
|-
 
|-
| On || ||
+
| 2 || Vertical || The sensor measures the angle from the position of the light source perpendicular to the surface of the sensor.
 
|}
 
|}
  
{{Data Outputs}}
+
<gallery>
{| class="wikitable"
+
File:Daylight sensor horizontal mode.png|Values of SolarAngle in Horizontal mode
|-
+
File:Daylight sensor vertical.png|Values of SolarAngle in Vertical mode
! Output Name !! Data Type !! Description
+
</gallery>
|-
+
=== Examples ===
| Mode || || 0 = Default, 1 = Horizontal, 2 = Vertical (Warning! In IC Horizontal and Vertical are the other way around for some reason.)
+
* If you lay a sensor on the ground, facing upwards, connector towards south,configured in horizontal mode, it will work like a compass with 0 = north, 90 = east, 180 = south and -90 = west
|-
+
 
| Horizontal || || Same as <kbd>SolarAngle</kbd> reported for <kbd>Horizontal</kbd> mode
+
* On the Moon/space : <br/> '''Note: these values are approximation and may vary slightly because of realistic orbital simulation'''
|-
+
** 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.
| Vertical || || Same as <kbd>SolarAngle</kbd> reported for <kbd>Vertical</kbd> mode
+
** 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.
| Activate || || 0 = Sensor not in sunlight, 1 = Sensor in sunlight
+
** 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.
| SolarAngle || || Probably soon deprecated in favor of <kbd>Horizontal</kbd> and <kbd>Vertical</kbd>
+
 
|-
+
== Solar tracking ==
| On || ||
 
|}
 
  
= Motion Sensor =
+
Tracking the sun using a Daylight Sensor allow [[Solar_Panel|Solar Panels]] to be more efficient by making them perpendicular to the light rays. <br/>
 +
However, the orientation of the Daylight Sensor and Solar Panels must be taken into account and a [[Kit_(Logic_Processor)#Math_Unit|Math Unit]] may be required to correct the offset. <br/>
 +
This [[Solar_Logic_Circuits_Guide|guide]] explains in detail how to set up a solar tracking circuit for solar panels.
  
{{Structurebox
+
{{Data Network Header}}
| name            = Motion Sensor
+
{{Data Parameters|
| image            = [[File:ItemMotionSensor.png]]
+
{{Data Parameters/row|Mode|Integer|w=1|SolarAngle mode|multiple=3|0|Default|1|Horizontal|2|Vertical}}
| power_usage      = 10W
+
{{Data Parameters/row|Activate|Boolean|w=1|1 if the device is running, 0 otherwise}}
| placed_with_item = [[Kit (Sensors)]]
+
{{Data Parameters/row|Horizontal|Float|w=1|Same absolute value <kbd>SolarAngle</kbd> reported for <kbd>Horizontal</kbd> mode but with an inverted sign}}
| placed_on_grid  = Small Grid, On Frames
+
{{Data Parameters/row|Vertical|Float|w=1|Same as <kbd>SolarAngle</kbd> reported for <kbd>Vertical</kbd> mode}}
| decon_with_tool1 = [[Hand Drill]]
+
{{Data Parameters/row|SolarAngle|Float|w=0|See [[Sensors#Modes|Modes]] above. Probably soon deprecated in favor of <kbd>Horizontal</kbd> and <kbd>Vertical</kbd>}}
| item_rec1        = [[Kit (Sensors)]]
+
{{Data Parameters/row|On|Boolean|w=1|0 if Off, 1 if On}}
 +
{{Data Parameters/row|PrefabHash|Integer|w=0|The hash of the structure}}
 +
{{Data Parameters/row|SolarIrradiance|Float|w=0|The current solar irradiance (in W/m²)}}
 +
{{Data Parameters/row|ReferenceId|Integer|w=0|Unique Reference Identifier for this object}}
 +
{{Data Parameters/row|NameHash|Integer|w=0|Provides the hash value for the name of the object as a 32 bit integer}}
 
}}
 
}}
  
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.
+
= <big>Motion Sensor</big> =
 +
 
 +
The motion sensor is activates when a player or a non static object (such as a thrown item or a portable device) enters the large grid cube where the sensor is located, and deactivates when there are no more players or objects. Despite its name, the sensor will stay activated even if the entity does not move inside the cube.<br/>
 +
This sensor can be useful to build systems that activate when the player is in a specific position (such as automatic doors for example). To check an entire room or area, see [[Sensors#Occupancy_Sensor|Occupancy Sensor]] and [[Sensors#Proximity_Sensor|Proximity Sensor]].
  
 
{{Data Network Header}}
 
{{Data Network Header}}
 +
{{Data Parameters|
 +
{{Data Parameters/row|Activate|Boolean|w=1|1 if an entity is detected, 0 otherwise. Even though the game consider it writable, trying to write this variable won't actually its value.}}
 +
{{Data Parameters/row|Quantity|Integer|w=0|Number of detected entities}}
 +
{{Data Parameters/row|On|Boolean|w=1|0 if Off, 1 if On (has no effect)}}
 +
{{Data Parameters/row|PrefabHash|Integer|w=0|The hash of the structure}}
 +
{{Data Parameters/row|ReferenceId|Integer|w=0|Unique Reference Identifier for this object}}
 +
{{Data Parameters/row|NameHash|Integer|w=0|Provides the hash value for the name of the object as a 32 bit integer}}
 +
}}
  
{{Data Parameters}}
+
= <big>Gas Sensor</big> =
{| class="wikitable"
+
 
|-
+
The gas sensor will report information about the gas in the current atmosphere, such as pressure, temperature and gases ratio.<br/>
! Parameter Name !! Data Type !! Description
+
''Note: Temperature is given in Kelvin, while your suit gives a readout in Celsius. To convert, use Celsius + 273.15 = Kelvin''
|}
 
  
{{Data Outputs}}
+
{{Data Network Header}}<br/>
{| class="wikitable"
+
'''The gas sensor has no Input parameters, it's a read only device.'''
|-
+
{{Data Parameters|
! Output Name !! Data Type !! Description
+
{{Data Parameters/row|Pressure|Float|w=0|In kPa}}
|}
+
{{Data Parameters/row|Temperature|Float|w=0|In Kelvin}}
 +
{{Data Parameters/row|Combustion|Boolean|w=0|1 if the atmosphere is on fire, 0 otherwise}}
 +
{{Data Parameters/row|RatioOxygen|Boolean|w=0|Ratio of gaseous [[Oxygen]] in the atmosphere}}
 +
{{Data Parameters/row|RatioHydrogen|Boolean|w=0|Ratio of gaseous Hydrogen in the atmosphere (Hydrogen is deprecated and has been replaced by [[Volatiles]])}}
 +
{{Data Parameters/row|RatioCarbonDioxide|Boolean|w=0|Ratio of gaseous [[Carbon Dioxide]] in the atmosphere}}
 +
{{Data Parameters/row|RatioNitrogen|Boolean|w=0|Ratio of gaseous [[Nitrogen]] in the atmosphere}}
 +
{{Data Parameters/row|RatioPollutant|Boolean|w=0|Ratio of gaseous [[Pollutant]] in the atmosphere}}
 +
{{Data Parameters/row|RatioVolatiles|Boolean|w=0|Ratio of gaseous [[Volatiles]] in the atmosphere}}
 +
{{Data Parameters/row|RatioNitrousOxide|Boolean|w=0|Ratio of gaseous [[Nitrous Oxide]] in the atmosphere}}
 +
{{Data Parameters/row|RatioSteam|Boolean|w=0|Ratio of gaseous [[Water]] in the atmosphere}}
  
= Gas Sensor =
+
{{Data Parameters/row|RatioLiquidOxygen|Boolean|w=0|Ratio of liquid [[Oxygen]] in the atmosphere}}
 +
{{Data Parameters/row|RatioLiquidHydrogen|Boolean|w=0|Ratio of liquid Hydrogen in the atmosphere (Hydrogen is deprecated and has been replaced by [[Volatiles]])}}
 +
{{Data Parameters/row|RatioLiquidCarbonDioxide|Boolean|w=0|Ratio of liquid [[Carbon Dioxide]] in the atmosphere}}
 +
{{Data Parameters/row|RatioLiquidNitrogen|Boolean|w=0|Ratio of liquid [[Nitrogen]] in the atmosphere}}
 +
{{Data Parameters/row|RatioLiquidPollutant|Boolean|w=0|Ratio of liquid [[Pollutant]] in the atmosphere}}
 +
{{Data Parameters/row|RatioLiquidVolatiles|Boolean|w=0|Ratio of liquid [[Volatiles]] in the atmosphere}}
 +
{{Data Parameters/row|RatioLiquidNitrousOxide|Boolean|w=0|Ratio of liquid [[Nitrous Oxide]] in the atmosphere}}
 +
{{Data Parameters/row|RatioWater|Boolean|w=0|Ratio of liquid [[Water]] in the atmosphere}}
 +
{{Data Parameters/row|RatioPollutedWater|Boolean|w=0|Ratio of liquid [[Polluted Water]] in the atmosphere}}
  
{{Structurebox
+
{{Data Parameters/row|PrefabHash|Integer|w=0|The hash of the structure}}
| name            = Gas Sensor
+
{{Data Parameters/row|ReferenceId|Integer|w=0|Unique Reference Identifier for this object}}
| image            = [[File:ItemGasSensor.png]]
+
{{Data Parameters/row|NameHash|Integer|w=0|Provides the hash value for the name of the object as a 32 bit integer}}
| power_usage      = 10W
 
| placed_with_item = [[Kit (Sensors)]]
 
| placed_on_grid  = Small Grid, On Frames
 
| decon_with_tool1 = [[Hand Drill]]
 
| item_rec1        = [[Kit (Sensors)]]
 
 
}}
 
}}
  
The gas sensor will report information about the gas in the current atmosphere, such as pressure, contents and temperature.
+
= <big>Occupancy Sensor</big> =
 +
 
 +
The Occupancy Sensor detects the presence of a player when placed within a defined room. A defined room is when the game detects the space is entirely closed off from the rest of the world with walls, doors, etc. These do not need to be in the finished state to count as sealing a room.<br/>
 +
''Note: You can determine if a room is define by using the [[Cartridge#Atmos_Analyzer|Atmos Analyzer]] [[Cartridge]] with the [[Handheld_Tablet|tablet]]. If the top says "Room #" the room is sufficiently closed in.''<br/>
 +
 
 +
Unlike to the [[Sensors#Motion_Sensor|Motion Sensor]], the Occupancy Sensor does not detect other entities such as thrown items or portable devices.<br/>
 +
The Occupancy Sensor can be configured with a [[Cartridge#Atmos_Analyzer|Access Controller]] [[Cartridge]] in a [[Handheld_Tablet|tablet]] to only detect and report players equipped with a specific [[Access Card]].<br/>
 +
 
 +
This sensor can be great for systems that need to be activated when a player enters or leaves a room, such as lighting and other machines to preserve energy.<br/>
 +
To detect players outside of a base or in a certain part of room only, the [[Sensor#Motion_Sensor|Motion Sensor]] and the [[Sensor#Proximity_Sensor|Proximity Sensor]] can be used.
  
Note: Temperature is given in Kelvin, while your suit gives a readout in Celsius.
+
{{Data Network Header}}<br/>
 +
'''The occupancy sensor has no Input parameters, it's a read only device.'''
 +
{{Data Parameters|
 +
{{Data Parameters/row|Activate|Boolean|w=0|1 if a player is detected, 0 otherwise}}
 +
{{Data Parameters/row|Quantity|Integer|w=0|Number of players detected}}
 +
{{Data Parameters/row|PrefabHash|Integer|w=0|The hash of the structure}}
 +
{{Data Parameters/row|ReferenceId|Integer|w=0|Unique Reference Identifier for this object}}
 +
{{Data Parameters/row|NameHash|Integer|w=0|Provides the hash value for the name of the object as a 32 bit integer}}
 +
}}
  
Celsius + 273.15 = Kelvin
+
= <big>Proximity Sensor</big> =
  
{{Data Network Header}}
+
The Proximity Sensor will detect players inside a spherical zone with a radius set by the <code>Setting</code> parameter. This value can be up to 250m and can be set using the dial on the sensor. <br/>
 +
''Note: By pressing the Quantity Change key, you can increment by 10 instead of 1 when using the dial.''<br/>
  
=== Data Parameters ===
+
Like the [[Sensors#Occupancy_Sensor|Occupancy Sensor]], the Proximity Sensor can be configured with a [[Cartridge#Atmos_Analyzer|Access Controller]] [[Cartridge]] in a [[Handheld_Tablet|tablet]] to only detect and report players equipped with a specific [[Access Card]].<br/>
The gas sensor has no Input parameters, it's a read only device.
+
Unlike to the [[Sensors#Motion_Sensor|Motion Sensor]], the Proximity Sensor does not detect other entities such as thrown items or portable devices.<br/>
 +
 
 +
{{Data Network Header}}<br/>
 +
{{Data Parameters|
 +
{{Data Parameters/row|Activate|Boolean|w=0|1 if a player is detected, 0 otherwise}}
 +
{{Data Parameters/row|Setting|Float|w=1|Range of the sensor in meter (0 to 250}}
 +
{{Data Parameters/row|Quantity|Integer|w=0|Number of players detected}}
 +
{{Data Parameters/row|PrefabHash|Integer|w=0|The hash of the structure}}
 +
{{Data Parameters/row|ReferenceId|Integer|w=0|Unique Reference Identifier for this object}}
 +
{{Data Parameters/row|NameHash|Integer|w=0|Provides the hash value for the name of the object as a 32 bit integer}}
 +
}}
  
{{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 ||
 
|-
 
| RatioNitrousOxide || Float ||
 
|-
 
| RatioPollutant || Float ||
 
|-
 
| RatioVolatiles || Float ||
 
|-
 
| RatioWater || Float ||
 
|-
 
|Combustion
 
|}
 
 
</translate>
 
</translate>

Latest revision as of 00:44, 9 September 2024

Other languages:
English
Kit (Sensors)
ItemKitSensor.png
Constructing Options Daylight, Motion, Gas, Occupancy or Proximity Sensor
Properties
Stacks Yes (5)
Recipe
Created With Electronics Printer, Hydraulic Pipe Bender
Cost 3g Iron, 1g Gold, 1g Copper
Hydraulic Pipe Bender has an altered recipe 1g iron instead of 3g


Daylight Sensor
StructureDaylightSensor.png
Operation
Power Usage 10W
Prefab Hash 1076425094
Prefab Name StructureDaylightSensor
Construction
Placed with Kit (Sensors)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Sensors)



Motion Sensor
ItemMotionSensor.png
Operation
Power Usage 0W
Prefab Hash -1713470563
Prefab Name StructureMotionSensor
Construction
Placed with Kit (Sensors)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Sensors)



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



Occupancy Sensor
StructureOccupancySensor.png
Operation
Power Usage 0W
Prefab Hash 322782515
Prefab Name StructureOccupancySensor
Construction
Placed with Kit (Sensors)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Sensors)



Proximity Sensor
StructureProximitySensor.png
Operation
Power Usage 0W
Prefab Hash 568800213
Prefab Name StructureProximitySensor
Construction
Placed with Kit (Sensors)
Placed on Small Grid, On Frames
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Sensors)



Description[edit]

Sensors are used to detect various parameters of their surroundings.
Only the Daylight Sensor can be accessed directly by pointing at it. The other sensors require a Handheld Tablet with a Configuration Cartridge to be accessed manually.
Their outputs can also be accessed using a Logic Reader or an Integrated Circuit inserted in an IC Housing.


Daylight Sensor[edit]

The daylight sensor reports whether the sun hits the large grid the sensor is in, as well as the solar angle. Looking at the sensor will provide a tool-tip readout of this information, even when not connected to the network. The orientation of the daylight sensor is important, it will read different angle values depending on the orientation.

Modes[edit]

Warning Warning: While the Mode and SolarAngle properties described below are still available, they are being deprecated in favor of Horizontal and Vertical data properties. While Vertical and Vertical mode have the same value, Horizontal and Horizontal mode have opposite values (inverted sign).

The daylight sensor has a Mode property which can be set with Logic Writer and Memory chip, or with an Integrated Circuit:

Value Name Description
0 Default The sensor will return the absolute value of the angle formed by the source of light and the normal vector of the sensor (towards which the grey/green part is facing). 0 means the source of light is facing to the sensor, 90 means it is aligned with the surface the sensor was laid on, and 180 means the source of light is in the back of the sensor. The angle is always a positive value between 0 and 180.
1 Horizontal Returns the angle from the position of the source of light parallel to the surface of the sensor. The angle can be negative, ranging between -180 and +180.
2 Vertical The sensor measures the angle from the position of the light source perpendicular to the surface of the sensor.

Examples[edit]

  • If you lay a sensor on the ground, facing upwards, connector towards south,configured in horizontal mode, it will work like a compass with 0 = north, 90 = east, 180 = south and -90 = west
  • On the Moon/space :
    Note: these values are approximation and may vary slightly because of realistic orbital simulation
    • 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.

Solar tracking[edit]

Tracking the sun using a Daylight Sensor allow Solar Panels to be more efficient by making them perpendicular to the light rays.
However, the orientation of the Daylight Sensor and Solar Panels must be taken into account and a Math Unit may be required to correct the offset.
This guide explains in detail how to set up a solar tracking circuit for solar panels.

Data Network Properties[edit]

These are all Data Network properties of this device.

Data Parameters[edit]

These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10), and can be read with a Logic Reader, Batch Reader, or Integrated Circuit (IC10).

Click here to see/hide all the data network properties
Parameter Name Data Type Access Value Description
Mode Integer
Read Write
0 Default SolarAngle mode
1 Horizontal
2 Vertical
Activate Boolean
Read Write
1 if the device is running, 0 otherwise
Horizontal Float
Read Write
Same absolute value SolarAngle reported for Horizontal mode but with an inverted sign
Vertical Float
Read Write
Same as SolarAngle reported for Vertical mode
SolarAngle Float
Read
See Modes above. Probably soon deprecated in favor of Horizontal and Vertical
On Boolean
Read Write
0 if Off, 1 if On
PrefabHash Integer
Read
The hash of the structure
SolarIrradiance Float
Read
The current solar irradiance (in W/m²)
ReferenceId Integer
Read
Unique Reference Identifier for this object
NameHash Integer
Read
Provides the hash value for the name of the object as a 32 bit integer


Motion Sensor[edit]

The motion sensor is activates when a player or a non static object (such as a thrown item or a portable device) enters the large grid cube where the sensor is located, and deactivates when there are no more players or objects. Despite its name, the sensor will stay activated even if the entity does not move inside the cube.
This sensor can be useful to build systems that activate when the player is in a specific position (such as automatic doors for example). To check an entire room or area, see Occupancy Sensor and Proximity Sensor.

Data Network Properties[edit]

These are all Data Network properties of this device.

Data Parameters[edit]

These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10), and can be read with a Logic Reader, Batch Reader, or Integrated Circuit (IC10).

Click here to see/hide all the data network properties
Parameter Name Data Type Access Value Description
Activate Boolean
Read Write
1 if an entity is detected, 0 otherwise. Even though the game consider it writable, trying to write this variable won't actually its value.
Quantity Integer
Read
Number of detected entities
On Boolean
Read Write
0 if Off, 1 if On (has no effect)
PrefabHash Integer
Read
The hash of the structure
ReferenceId Integer
Read
Unique Reference Identifier for this object
NameHash Integer
Read
Provides the hash value for the name of the object as a 32 bit integer


Gas Sensor[edit]

The gas sensor will report information about the gas in the current atmosphere, such as pressure, temperature and gases ratio.
Note: Temperature is given in Kelvin, while your suit gives a readout in Celsius. To convert, use Celsius + 273.15 = Kelvin

Data Network Properties[edit]

These are all Data Network properties of this device.
The gas sensor has no Input parameters, it's a read only device.

Data Parameters[edit]

These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10), and can be read with a Logic Reader, Batch Reader, or Integrated Circuit (IC10).

Click here to see/hide all the data network properties
Parameter Name Data Type Access Value Description
Pressure Float
Read
In kPa
Temperature Float
Read
In Kelvin
Combustion Boolean
Read
1 if the atmosphere is on fire, 0 otherwise
RatioOxygen Boolean
Read
Ratio of gaseous Oxygen in the atmosphere
RatioHydrogen Boolean
Read
Ratio of gaseous Hydrogen in the atmosphere (Hydrogen is deprecated and has been replaced by Volatiles)
RatioCarbonDioxide Boolean
Read
Ratio of gaseous Carbon Dioxide in the atmosphere
RatioNitrogen Boolean
Read
Ratio of gaseous Nitrogen in the atmosphere
RatioPollutant Boolean
Read
Ratio of gaseous Pollutant in the atmosphere
RatioVolatiles Boolean
Read
Ratio of gaseous Volatiles in the atmosphere
RatioNitrousOxide Boolean
Read
Ratio of gaseous Nitrous Oxide in the atmosphere
RatioSteam Boolean
Read
Ratio of gaseous Water in the atmosphere
RatioLiquidOxygen Boolean
Read
Ratio of liquid Oxygen in the atmosphere
RatioLiquidHydrogen Boolean
Read
Ratio of liquid Hydrogen in the atmosphere (Hydrogen is deprecated and has been replaced by Volatiles)
RatioLiquidCarbonDioxide Boolean
Read
Ratio of liquid Carbon Dioxide in the atmosphere
RatioLiquidNitrogen Boolean
Read
Ratio of liquid Nitrogen in the atmosphere
RatioLiquidPollutant Boolean
Read
Ratio of liquid Pollutant in the atmosphere
RatioLiquidVolatiles Boolean
Read
Ratio of liquid Volatiles in the atmosphere
RatioLiquidNitrousOxide Boolean
Read
Ratio of liquid Nitrous Oxide in the atmosphere
RatioWater Boolean
Read
Ratio of liquid Water in the atmosphere
RatioPollutedWater Boolean
Read
Ratio of liquid Polluted Water in the atmosphere
PrefabHash Integer
Read
The hash of the structure
ReferenceId Integer
Read
Unique Reference Identifier for this object
NameHash Integer
Read
Provides the hash value for the name of the object as a 32 bit integer


Occupancy Sensor[edit]

The Occupancy Sensor detects the presence of a player when placed within a defined room. A defined room is when the game detects the space is entirely closed off from the rest of the world with walls, doors, etc. These do not need to be in the finished state to count as sealing a room.
Note: You can determine if a room is define by using the Atmos Analyzer Cartridge with the tablet. If the top says "Room #" the room is sufficiently closed in.

Unlike to the Motion Sensor, the Occupancy Sensor does not detect other entities such as thrown items or portable devices.
The Occupancy Sensor can be configured with a Access Controller Cartridge in a tablet to only detect and report players equipped with a specific Access Card.

This sensor can be great for systems that need to be activated when a player enters or leaves a room, such as lighting and other machines to preserve energy.
To detect players outside of a base or in a certain part of room only, the Motion Sensor and the Proximity Sensor can be used.

Data Network Properties[edit]

These are all Data Network properties of this device.
The occupancy sensor has no Input parameters, it's a read only device.

Data Parameters[edit]

These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10), and can be read with a Logic Reader, Batch Reader, or Integrated Circuit (IC10).

Click here to see/hide all the data network properties
Parameter Name Data Type Access Value Description
Activate Boolean
Read
1 if a player is detected, 0 otherwise
Quantity Integer
Read
Number of players detected
PrefabHash Integer
Read
The hash of the structure
ReferenceId Integer
Read
Unique Reference Identifier for this object
NameHash Integer
Read
Provides the hash value for the name of the object as a 32 bit integer


Proximity Sensor[edit]

The Proximity Sensor will detect players inside a spherical zone with a radius set by the Setting parameter. This value can be up to 250m and can be set using the dial on the sensor.
Note: By pressing the Quantity Change key, you can increment by 10 instead of 1 when using the dial.

Like the Occupancy Sensor, the Proximity Sensor can be configured with a Access Controller Cartridge in a tablet to only detect and report players equipped with a specific Access Card.
Unlike to the Motion Sensor, the Proximity Sensor does not detect other entities such as thrown items or portable devices.

Data Network Properties[edit]

These are all Data Network properties of this device.

Data Parameters[edit]

These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10), and can be read with a Logic Reader, Batch Reader, or Integrated Circuit (IC10).

Click here to see/hide all the data network properties
Parameter Name Data Type Access Value Description
Activate Boolean
Read
1 if a player is detected, 0 otherwise
Setting Float
Read Write
Range of the sensor in meter (0 to 250
Quantity Integer
Read
Number of players detected
PrefabHash Integer
Read
The hash of the structure
ReferenceId Integer
Read
Unique Reference Identifier for this object
NameHash Integer
Read
Provides the hash value for the name of the object as a 32 bit integer