Difference between revisions of "Sensors"
From Unofficial Stationeers Wiki
m (Updated kit image) |
(Format in infoboxes and in Daylight Sensor. Updated Description.) |
||
Line 4: | Line 4: | ||
| name = Kit (Sensors) | | name = Kit (Sensors) | ||
| image = {{{image|[[File:ItemKitSensor.png]]}}} | | image = {{{image|[[File:ItemKitSensor.png]]}}} | ||
− | | stacks = | + | | stacks = 5 |
| constructs = Daylight, Motion or Gas Sensor | | constructs = Daylight, Motion or Gas Sensor | ||
| createdwith = [[Electronics Printer]], [[Hydraulic Pipe Bender]] | | createdwith = [[Electronics Printer]], [[Hydraulic Pipe Bender]] | ||
Line 13: | Line 13: | ||
| name = Daylight Sensor | | name = Daylight Sensor | ||
| prefab_hash = 1076425094 | | prefab_hash = 1076425094 | ||
− | | image = [[File: | + | | prefab_name = StructureDaylightSensor |
+ | | image = [[File:StructureDaylightSensor.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 23: | Line 24: | ||
| name = Motion Sensor | | name = Motion Sensor | ||
| prefab_hash = -1713470563 | | prefab_hash = -1713470563 | ||
+ | | prefab_name = StructureMotionSensor | ||
| image = [[File:ItemMotionSensor.png]] | | image = [[File:ItemMotionSensor.png]] | ||
| placed_with_item = [[Kit (Sensors)]] | | placed_with_item = [[Kit (Sensors)]] | ||
Line 33: | Line 35: | ||
| name = Gas Sensor | | name = Gas Sensor | ||
| prefab_hash = -1252983604 | | prefab_hash = -1252983604 | ||
+ | | prefab_name = StructureGasSensor | ||
| image = [[File:ItemGasSensor.png]] | | image = [[File:ItemGasSensor.png]] | ||
| placed_with_item = [[Kit (Sensors)]] | | placed_with_item = [[Kit (Sensors)]] | ||
Line 43: | Line 46: | ||
| name = Occupancy Sensor | | name = Occupancy Sensor | ||
| prefab_hash = 322782515 | | prefab_hash = 322782515 | ||
− | | image = [[File: | + | | prefab_name = StructureOccupancySensor |
+ | | image = [[File:StructureOccupancySensor.png]] | ||
+ | | placed_with_item = [[Kit (Sensors)]] | ||
+ | | placed_on_grid = Small Grid, On Frames | ||
+ | | decon_with_tool1 = [[Hand Drill]] | ||
+ | | item_rec1 = [[Kit (Sensors)]] | ||
+ | }} | ||
+ | |||
+ | {{Structurebox | ||
+ | | name = Proximity Sensor | ||
+ | | prefab_hash = 568800213 | ||
+ | | prefab_name = StructureProximitySensor | ||
+ | | image = [[File:StructureProximitySensor.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 54: | Line 69: | ||
− | + | Sensors are used to detect different parameters of their surroundings. <br/> | |
− | + | Only the Daylight Sensor can be accessed directly by pointing it. Other sensors require a tablet with a Configuration Cartridge to be accessed manually.<br/> | |
+ | Their outputs can also be accessed using an [[Kit_(Logic_I/O)#Logic_Reader|Logic Reader]] or an [[Integrated Circuit (IC10)|Integrated Circuit]] inserted in an [[Kit (IC Housing)|IC Housing]]. | ||
<gallery> | <gallery> | ||
Line 66: | Line 82: | ||
= <big>Daylight Sensor</big> = <!--T:2--> | = <big>Daylight Sensor</big> = <!--T:2--> | ||
− | 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 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 == | == Modes == | ||
− | + | {{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, returning the same as their <kbd>Mode</kbd> counterparts. | |
− | + | }} | |
+ | 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]]: | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! 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. | ||
+ | |} | ||
[[File:Daylight sensor horizontal.png|200x150px|thumb|daylight sensor in horizontal mode]] | [[File:Daylight sensor horizontal.png|200x150px|thumb|daylight sensor in horizontal mode]] | ||
− | |||
[[File:Daylight sensor vertical.png|200x150px|thumb|daylight sensor in vertical mode]] | [[File:Daylight sensor vertical.png|200x150px|thumb|daylight sensor in vertical mode]] | ||
− | |||
<gallery> | <gallery> | ||
Line 85: | Line 106: | ||
File:Daylight sensor vertical.png|Vertical mode | File:Daylight sensor vertical.png|Vertical mode | ||
</gallery> | </gallery> | ||
− | |||
− | |||
=== Notes === | === Notes === | ||
Line 108: | Line 127: | ||
{{Data Network Header}} | {{Data Network Header}} | ||
− | + | {{Data Parameters| | |
− | {{Data Parameters | + | {{Data Parameters/row|Mode|Integer|w=1|SolarAngle mode (Warning! In IC Horizontal and Vertical are the other way around for some reason.)|multiple=3|0|Default|1|Horizontal|2|Vertical}} |
− | { | + | {{Data Parameters/row|Activate|Boolean|w=1|1 if the device is running, 0 otherwise}} |
− | + | {{Data Parameters/row|Horizontal|Float|w=1|Same as <kbd>SolarAngle</kbd> reported for <kbd>Horizontal</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>}} | |
− | | Mode || | + | {{Data Parameters/row|On|Boolean|w=0|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.}} | |
− | |} | + | }} |
− | |||
− | {{Data | ||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | |||
− | | Horizontal | ||
− | |||
− | | Vertical | ||
− | | | ||
− | |||
− | |||
− | |||
− | | | ||
− | | | ||
− | |} | ||
= <big>Motion Sensor</big> = | = <big>Motion Sensor</big> = |
Revision as of 22:40, 5 September 2024
Constructing Options | Daylight, Motion or Gas 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 |
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) |
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) |
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) |
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) |
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 different parameters of their surroundings.
Only the Daylight Sensor can be accessed directly by pointing it. Other sensors require a tablet with a Configuration Cartridge to be accessed manually.
Their outputs can also be accessed using an 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. |
Notes
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.
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.
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 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 (Warning! In IC Horizontal and Vertical are the other way around for some reason.) | |
1 | Horizontal | |||||
2 | Vertical | |||||
Activate | Boolean | Read Write
|
||||
Horizontal | Float | Read Write
|
||||
Vertical | Float | Read Write
|
||||
SolarAngle | Float | Read
|
||||
On | Boolean | Read
|
||||
PrefabHash | Integer | Read
|
||||
SolarIrradiance | Float | Read
|
||||
ReferenceId | Integer | Read
|
||||
NameHash | Integer | Read
|
Motion Sensor
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 with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).
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
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 | |
RatioNitrousOxide | Float | |
RatioPollutant | Float | |
RatioVolatiles | Float | |
RatioWater | Float | |
Combustion |
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) |