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= | + | {{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 | + | 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.}} |
− | {| | + | {{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 | + | }} |
− | {| | ||
− | | | ||
− | |||
− | |} | ||
− | |||
= <big>Gas Sensor</big> = | = <big>Gas Sensor</big> = | ||
− | The gas sensor will report information about the gas in the current atmosphere, such as pressure, | + | 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'' | ||
− | + | {{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}} | ||
− | + | {{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}} |
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | | | ||
− | |||
− | | RatioWater || | ||
− | | | ||
− | | | ||
− | |} | ||
+ | {{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
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 |
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) |
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) |
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) |
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) |
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: | 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).
Parameter Name | Data Type | Access | Value | Description | ||
---|---|---|---|---|---|---|
Mode | Integer | Read Write
|
0 | Default | SolarAngle mode | |
1 | Horizontal | |||||
2 | Vertical | |||||
Activate | Boolean | Read Write
|
||||
Horizontal | Float | Read Write
|
||||
Vertical | Float | Read Write
|
||||
SolarAngle | Float | Read
|
||||
On | Boolean | Read Write
|
||||
PrefabHash | Integer | Read
|
||||
SolarIrradiance | Float | Read
|
||||
ReferenceId | Integer | Read
|
||||
NameHash | Integer | Read
|
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).
Parameter Name | Data Type | Access | Value | Description | |
---|---|---|---|---|---|
Activate | Boolean | Read Write
|
|||
Quantity | Integer | Read
|
|||
On | Boolean | Read Write
|
|||
PrefabHash | Integer | Read
|
|||
ReferenceId | Integer | Read
|
|||
NameHash | Integer | Read
|
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).
Parameter Name | Data Type | Access | Value | Description | |
---|---|---|---|---|---|
Pressure | Float | Read
|
|||
Temperature | Float | Read
|
|||
Combustion | Boolean | Read
|
|||
RatioOxygen | Boolean | Read
|
|||
RatioHydrogen | Boolean | Read
|
|||
RatioCarbonDioxide | Boolean | Read
|
|||
RatioNitrogen | Boolean | Read
|
|||
RatioPollutant | Boolean | Read
|
|||
RatioVolatiles | Boolean | Read
|
|||
RatioNitrousOxide | Boolean | Read
|
|||
RatioSteam | Boolean | Read
|
|||
RatioLiquidOxygen | Boolean | Read
|
|||
RatioLiquidHydrogen | Boolean | Read
|
|||
RatioLiquidCarbonDioxide | Boolean | Read
|
|||
RatioLiquidNitrogen | Boolean | Read
|
|||
RatioLiquidPollutant | Boolean | Read
|
|||
RatioLiquidVolatiles | Boolean | Read
|
|||
RatioLiquidNitrousOxide | Boolean | Read
|
|||
RatioWater | Boolean | Read
|
|||
RatioPollutedWater | Boolean | Read
|
|||
PrefabHash | Integer | Read
|
|||
ReferenceId | Integer | Read
|
|||
NameHash | Integer | Read
|
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) |