Actions

Difference between revisions of "Solar Logic Circuits Guide"

From Unofficial Stationeers Wiki

m (Solar tracking using Logic Chips - Moon)
(Reverting vandalism)
 
(7 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
Due to the frequency of game updates, all solutions are subject to change and may or may not be functional.
 
Due to the frequency of game updates, all solutions are subject to change and may or may not be functional.
  
The designs on this page are valid as of v0.2.5906.26015 (2025-09-25)
+
The designs on this page are valid as of v0.2.5906.26015 (2025-09-16)
 +
 
 +
While this specific Guide calls out the sensor being place in a specific direction (north - 0 degrees), it's not necessary to orient your sensors to a specific direction.
 +
If you find your panels don't point at the sun, you can add either 0, 90, 180 or 270 to the horizontal until they point at the sun. This guide is an attempt
 +
to simplify the setup by removing an extra math, and memory chip (6 chips instead of 8).
  
 
== Geometry Of [[Solar Panel|Solar Panels]] and [[Sensors#Daylight Sensor|Daylight Sensors]] ==
 
== Geometry Of [[Solar Panel|Solar Panels]] and [[Sensors#Daylight Sensor|Daylight Sensors]] ==
Line 16: Line 20:
 
</gallery>
 
</gallery>
  
==Solar tracking using Logic Chips - Moon  ==
+
==Solar tracking using Logic Chips ==
  
Solar tracking on the [[Worlds|Moon]] is very minimal and straightforward due to its having a near 0° solar angle. You will need the following:
+
=== Six-chip dual-axis tracking ===
 +
To get a "100%" accurate solar tracker on planets with an offset solar arc, you need to include the Horizontal component to the solar angle.
  
* x1 [[Sensors|Daylight Sensor]]
+
'''What do you need:'''
* x1 [[Logic I/O|Logic Reader]]
+
* [[Kit (Logic I/O)]] x4
* x1 [[Logic I/O|Batch Writer]]
+
* [[Kit (Logic Processor)]]
* [[Cables|Cable Coil]]s, a [[Wrench]], a [[Screwdriver]], and [[Wire Cutters]] at a minimum
+
* [[Kit (Logic Memory)]]
 +
* [[Sensors|Kit (Sensor)]] > [[Sensors#Daylight Sensor|Daylight Sensor]]
  
The orientation of the [[Sensors|Daylight Sensor]] is important for any solar logic control circuit.  Since we are only controlling the vertical alignment (0° solar angle negates the need for horizontal control), the direction of the data port does not matter; however, '''the blue solar face of the [[Sensors|Daylight Sensor]] must face either east or west'''.  You will have to manually adjust the angle of the horizontal angle on the [[Solar Panel]] with a [[Wrench]], dependent on the orientation you build the [[Solar Panel]], and whether the [[Sensors|Daylight Sensor]] faces east or west. Simply wait for the sun to be up and adjust until the panel is ~98% efficient.
+
Place the Daylight Sensor facing up, '''with the Data Port facing north (0 degrees).'''
 
 
Hook up the logical components as follows:
 
  
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Component !! Port A !! Connection A !! Port B !! Connection B !! Port C !! Connection C
+
! '''Horizontal'''
 +
|-
 +
! '''Chip''' !! '''Chip label''' !! '''IN''' !! '''VAR''' !! '''OUT'''
 +
|-
 +
| Logic Reader || Horizontal Reader || Daylight Sensor || Horizontal ||
 +
|-
 +
| Batch Writer || Horizontal Writer || Horizontal Reader || Horizontal || Solar Panel
 +
|-
 +
! '''Vertical'''
 +
|-
 +
! '''Chip''' !! '''Chip label''' !! '''IN''' !! '''VAR''' !! '''OUT'''
 +
|-
 +
| Logic Reader || Vertical Reader || Daylight Sensor || Vertical ||
 +
|-
 +
| Batch Writer || Vertical Writer || Vertical Correction Math || Vertical || Solar Panel
 +
|-
 +
! '''Chip''' !! '''Chip label''' !! '''Value'''
 
|-
 
|-
| [[Logic I/O|Logic Reader]] || IN || [[Sensors|Daylight Sensor]] || VAR || Vertical || N/A || N/A
+
| Logic Memory || Vertical Correction Memory || 90
 
|-
 
|-
| [[Logic I/O|Batch Writer]] || IN || [[Logic I/O|Logic Reader]] || OUT VAR || Vertical || OUT TYPE || [[Solar Panel]]
+
! '''Chip''' !! '''Chip label''' !! '''IN 1''' !! '''IN 2''' !! '''OUT'''
 +
|-
 +
| Logic Math || Vertical Correction Math || Vertical Reader || Vertical Correction Memory || Add
 
|}
 
|}
  
==Solar tracking using Logic Chips - Non-Moon  ==
+
[[File:2022-10-02 Two-axis solar tracking.png|Accurate two-axis solar tracking]]
  
'''THE FOLLOWING IS A WIP AS OF 1524 CST 25SEP25, IN ACTIVE TESTING MAY BE INACCURATE'''
+
The panels should align themselves to the sun, you make sure to '''put the Power Port on the panels facing east (east - 90 degrees).''' If you've already built the panels and logic with the Power Port facing west, swapping the direction of the sensor so that its Data Port faces south will allow the setup to work with no additional changes.
  
Solar tracking not on the [[Worlds|Moon]] remains straightforward, however is inherently more complicated due to not having a near 0° solar angle. You will need the following:
+
== Solar tracking using Integrated Circuits ==
 +
This is the most powerful way to track the sun, but the implementation might be a bit daunting at first.
  
* x1 [[Sensors|Daylight Sensor]]
+
'''What you need:'''
* x2 [[Logic I/O|Logic Reader]]
+
* [[Integrated Circuit (IC10)]]
* x2 [[Logic I/O|Batch Writer]]
+
* [[Kit (IC Housing)]]
* [[Cables|Cable Coil]]s, a [[Wrench]], a [[Screwdriver]], and [[Wire Cutters]] at a minimum
+
* [[Sensors|Kit (Sensor)]] > [[Sensors#Daylight Sensor|Daylight Sensor]]
* A [[Labeller]] is reccommended to differential horizontal/vertical components, but not required
 
  
The orientation of the [[Sensors|Daylight Sensor]] is important for any solar logic control circuit.  Since we are controlling both the vertical and horizontal alignments, '''the direction of the data port does''' matter, and '''must face either north or south'''. Additionally, '''the blue solar face of the [[Sensors|Daylight Sensor]] must face either east or west'''.  The pairing of the facings is as follows:
+
And if you don't already have one set up:
 +
* [[Kit (Computer)]]
 +
* [[Motherboard (IC Editor)|IC Editor Motherboard]]
  
{| class="wikitable"
+
Place the '''Daylight Sensor''' facing up, note which direction the Data Port is facing, and which direction the solar panel Power Port is facing. These two directions are needed in the code. The '''Daylight Sensor''' is connected to the '''d0''' screw, that's all you need.
|-
 
! !! '''Blue Face''' !! '''Data Port'''
 
|-
 
| Option 1 || West || South
 
|-
 
| Option 2 || East || North
 
|}
 
  
Hook up the logical components as follows:
+
A simple code example can be found here: https://stationeering.com/tools/ic/_2FpmwojGnBq<br>
 +
This code is considered "inefficient" since it's hard-coded to spam all types of solar panels, even if you don't have them.
  
{| class="wikitable"
+
A better code example can be found here: https://stationeering.com/tools/ic/_2FpoBEcd3QK<br>
|-
+
It targets the solar-panel types on '''d2''' and (optionally) '''d3''', so it's less spammy. It also has an option for a display ('''Kit (Console)''') on '''d1''' that shows the sum of power output from both types of panels
! '''Component''' !! '''Port A''' !! '''Connection A''' !! '''Port B''' !! '''Connection B''' !! '''Port C''' !! '''Connection C'''
 
|-
 
| Vertical [[Logic I/O|Logic Reader]] || IN || [[Sensors|Daylight Sensor]] || VAR || Vertical || N/A || N/A
 
|-
 
| Vertical [[Logic I/O|Batch Writer]] || IN || Vertical [[Logic I/O|Logic Reader]] || OUT VAR || Vertical || OUT TYPE || [[Solar Panel]]
 
|-
 
| Horizontal [[Logic I/O|Logic Reader]] || IN || [[Sensors|Daylight Sensor]] || VAR || Vertical || N/A || N/A
 
|-
 
| Horizontal [[Logic I/O|Batch Writer]] || IN || Horizontal [[Logic I/O|Logic Reader]] || OUT VAR || Vertical || OUT TYPE || [[Solar Panel]]
 
|}
 

Latest revision as of 21:09, 29 September 2025

Other languages:
English

Disclaimer[edit]

Due to the frequency of game updates, all solutions are subject to change and may or may not be functional.

The designs on this page are valid as of v0.2.5906.26015 (2025-09-16)

While this specific Guide calls out the sensor being place in a specific direction (north - 0 degrees), it's not necessary to orient your sensors to a specific direction. If you find your panels don't point at the sun, you can add either 0, 90, 180 or 270 to the horizontal until they point at the sun. This guide is an attempt to simplify the setup by removing an extra math, and memory chip (6 chips instead of 8).

Geometry Of Solar Panels and Daylight Sensors[edit]

Solar tracking using Logic Chips[edit]

Six-chip dual-axis tracking[edit]

To get a "100%" accurate solar tracker on planets with an offset solar arc, you need to include the Horizontal component to the solar angle.

What do you need:

Place the Daylight Sensor facing up, with the Data Port facing north (0 degrees).

Horizontal
Chip Chip label IN VAR OUT
Logic Reader Horizontal Reader Daylight Sensor Horizontal
Batch Writer Horizontal Writer Horizontal Reader Horizontal Solar Panel
Vertical
Chip Chip label IN VAR OUT
Logic Reader Vertical Reader Daylight Sensor Vertical
Batch Writer Vertical Writer Vertical Correction Math Vertical Solar Panel
Chip Chip label Value
Logic Memory Vertical Correction Memory 90
Chip Chip label IN 1 IN 2 OUT
Logic Math Vertical Correction Math Vertical Reader Vertical Correction Memory Add

Accurate two-axis solar tracking

The panels should align themselves to the sun, you make sure to put the Power Port on the panels facing east (east - 90 degrees). If you've already built the panels and logic with the Power Port facing west, swapping the direction of the sensor so that its Data Port faces south will allow the setup to work with no additional changes.

Solar tracking using Integrated Circuits[edit]

This is the most powerful way to track the sun, but the implementation might be a bit daunting at first.

What you need:

And if you don't already have one set up:

Place the Daylight Sensor facing up, note which direction the Data Port is facing, and which direction the solar panel Power Port is facing. These two directions are needed in the code. The Daylight Sensor is connected to the d0 screw, that's all you need.

A simple code example can be found here: https://stationeering.com/tools/ic/_2FpmwojGnBq
This code is considered "inefficient" since it's hard-coded to spam all types of solar panels, even if you don't have them.

A better code example can be found here: https://stationeering.com/tools/ic/_2FpoBEcd3QK
It targets the solar-panel types on d2 and (optionally) d3, so it's less spammy. It also has an option for a display (Kit (Console)) on d1 that shows the sum of power output from both types of panels