Actions

Difference between revisions of "Sensors"

From Unofficial Stationeers Wiki

m (Added missing sensor types in kit constructs)
(Updated Motion and Gas sensor. Added power usage for all sensors.)
Line 14: Line 14:
 
  | prefab_hash      = 1076425094
 
  | prefab_hash      = 1076425094
 
  | prefab_name      = StructureDaylightSensor
 
  | prefab_name      = StructureDaylightSensor
 +
| power_usage      = 10W
 
  | image            = [[File:StructureDaylightSensor.png]]
 
  | image            = [[File:StructureDaylightSensor.png]]
 
  | placed_with_item = [[Kit (Sensors)]]
 
  | placed_with_item = [[Kit (Sensors)]]
Line 25: Line 26:
 
  | prefab_hash      = -1713470563
 
  | prefab_hash      = -1713470563
 
  | prefab_name      = StructureMotionSensor
 
  | prefab_name      = StructureMotionSensor
 +
| power_usage      = 0W
 
  | image            = [[File:ItemMotionSensor.png]]  
 
  | image            = [[File:ItemMotionSensor.png]]  
 
  | placed_with_item = [[Kit (Sensors)]]
 
  | placed_with_item = [[Kit (Sensors)]]
Line 36: Line 38:
 
  | prefab_hash      = -1252983604
 
  | prefab_hash      = -1252983604
 
  | prefab_name      = StructureGasSensor
 
  | 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 47: Line 50:
 
  | prefab_hash      = 322782515
 
  | prefab_hash      = 322782515
 
  | prefab_name      = StructureOccupancySensor
 
  | prefab_name      = StructureOccupancySensor
 +
| power_usage      = 0W
 
  | image            = [[File:StructureOccupancySensor.png]]
 
  | image            = [[File:StructureOccupancySensor.png]]
 
  | placed_with_item = [[Kit (Sensors)]]
 
  | placed_with_item = [[Kit (Sensors)]]
Line 58: Line 62:
 
  | prefab_hash      = 568800213
 
  | prefab_hash      = 568800213
 
  | prefab_name      = StructureProximitySensor
 
  | prefab_name      = StructureProximitySensor
 +
| power_usage      = 0W
 
  | image            = [[File:StructureProximitySensor.png]]
 
  | image            = [[File:StructureProximitySensor.png]]
 
  | placed_with_item = [[Kit (Sensors)]]
 
  | placed_with_item = [[Kit (Sensors)]]
Line 126: Line 131:
 
{{Data Parameters/row|Vertical|Float|w=1|Same as <kbd>SolarAngle</kbd> reported for <kbd>Vertical</kbd> mode}}
 
{{Data Parameters/row|Vertical|Float|w=1|Same as <kbd>SolarAngle</kbd> reported for <kbd>Vertical</kbd> mode}}
 
{{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>}}
 
{{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>}}
{{Data Parameters/row|On|Boolean|w=0|0 if Off, 1 if On}}
+
{{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|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|SolarIrradiance|Float|w=0|The current solar irradiance (in W/m²)}}
Line 135: Line 140:
 
= <big>Motion Sensor</big> =
 
= <big>Motion Sensor</big> =
  
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.
+
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}}
+
{{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.}}
{| class="wikitable"
+
{{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.}}
! Parameter Name !! Data Type !! Description
+
{{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
 
|}
 
 
 
  
 
= <big>Gas Sensor</big> =
 
= <big>Gas Sensor</big> =
  
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, temperature and gases ratio.<br/>
 +
''Note: Temperature is given in Kelvin, while your suit gives a readout in Celsius. To convert, use Celsius + 273.15 = Kelvin''
  
Note: Temperature is given in Kelvin, while your suit gives a readout in Celsius.
+
{{Data Network Header}}<br/>
 +
'''The gas sensor has no Input parameters, it's a read only device.'''
 +
{{Data Parameters|
 +
{{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}}
  
Celsius + 273.15 = Kelvin
+
{{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 Network Header}}
+
{{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 ===
+
{{Data Parameters/row|RatioLiquidPollutant|Boolean|w=0|Ratio of liquid [[Pollutant]] in the atmosphere}}
The gas sensor has no Input parameters, it's a read only device.
+
{{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 Outputs}}
+
{{Data Parameters/row|RatioWater|Boolean|w=0|Ratio of liquid [[Water]] in the atmosphere}}
{| class="wikitable"
+
{{Data Parameters/row|RatioPollutedWater|Boolean|w=0|Ratio of liquid [[Polluted Water]] in the atmosphere}}
|-
 
! 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
 
|}
 
  
 +
{{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.}}
 +
}}
  
 
= <big>Occupancy Sensor</big> =
 
= <big>Occupancy Sensor</big> =

Revision as of 00:51, 7 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

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

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

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, returning the same as their Mode counterparts.

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

  • 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

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

These are all Data Network properties of this device.

Data Parameters

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 as SolarAngle reported for Horizontal mode
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

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

These are all Data Network properties of this device.

Data Parameters

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

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

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

Data Parameters

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

The occupancy sensor will detect 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 chip with the tablet. If the top says "Room #" the room is sufficiently closed in.

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
Activate Bool Whether a player is detected in the room. 0 means no one present, 1 means at least one player present
Quantity Float Unknown
PrefabHash Float Returns the Hash of the Occupancy Sensor (322782515)