Actions

Difference between revisions of "Solar Logic Circuits Guide"

From Unofficial Stationeers Wiki

(Fixed a code error in the IC code)
(Fixed the two-axis setup to be 100% efficient, put chip-settings into tables)
Line 25: Line 25:
  
 
Place the Daylight Sensor facing sunrise or sunset (doesn't matter which), with the Data Port facing north.
 
Place the Daylight Sensor facing sunrise or sunset (doesn't matter which), with the Data Port facing north.
Place a Logic Reader (IN = Daylight Sensor, VAR = Solar Angle/Vertical) and a Batch Writer (IN = Logic Reader, OUT = Solar Panels, VAR = Vertical).
+
 
Connect to the Data Port on Solar Panels.
+
{| class="wikitable"
 +
|-
 +
! '''Chip''' !! '''IN''' !! '''VAR''' !! '''OUT'''
 +
|-
 +
| Logic Reader || Daylight Sensor || Vertical/Solar Angle ||
 +
|-
 +
| Batch Writer || Logic Reader || Vertical || Solar Panel
 +
|}
  
 
Hand-crank the panels to face the sunrise, and they will do their thing.
 
Hand-crank the panels to face the sunrise, and they will do their thing.
  
=== Four-chip dual-axis tracking ===
+
=== Six-chip dual-axis tracking ===
To get a slightly more accurate solar tracker on planets with an offset solar arc, you need to include the Horizontal component to the solar angle.
+
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 you need:'''
 
'''What you need:'''
 
* Kit (Logic I/O) x4
 
* Kit (Logic I/O) x4
 +
* Kit (Logic Processor)
 +
* Kit (Logic Memory)
 
* Kit (Sensor) > Daylight Sensor
 
* Kit (Sensor) > Daylight Sensor
  
Place the Daylight Sensor facing sunset, with the Data Port facing north.
+
Place the Daylight Sensor facing up, with the Data Port facing north.
For the vertical, place a Logic Reader (IN = Daylight Sensor, VAR = Solar Angle/Vertical) and a Batch Writer (IN = Logic Reader, OUT = Solar Panels, VAR = Vertical).
+
 
For the horizontal, place a Logic Reader (IN = Daylight Sensor, VAR = Horizontal) and a Batch Writer (IN = Logic Reader, OUT = Solar Panels, VAR = Horizontal).
+
{| class="wikitable"
Connect to the Data Port on Solar Panels.
+
|-
 +
! '''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 Reader || 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
 +
|}
  
 
The panels should align themselves to the sun if you make sure to put the Power Port on the panels facing east (90 degrees).
 
The panels should align themselves to the sun if you make sure to put the Power Port on the panels facing east (90 degrees).
 
This setup isn't very accurate, and panel efficiency drops to ~80% during the day.
 
  
 
== Solar tracking using Integrated Circuits ==
 
== Solar tracking using Integrated Circuits ==

Revision as of 14:45, 9 June 2022

Other languages:
English

Disclaimer

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.3304.16432 (2022-06-06)

Geometry Of Solar Panels and Daylight Sensors

Solar tracking using Logic Chips

Two-chip single-axis tracking

This is the most basic solar tracking available, and is all you need on the Moon. It even works reasonably well on Mars.

What you need:

  • Kit (Logic I/O) x2
  • Kit (Sensor) > Daylight Sensor

Place the Daylight Sensor facing sunrise or sunset (doesn't matter which), with the Data Port facing north.

Chip IN VAR OUT
Logic Reader Daylight Sensor Vertical/Solar Angle
Batch Writer Logic Reader Vertical Solar Panel

Hand-crank the panels to face the sunrise, and they will do their thing.

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.

What you need:

  • Kit (Logic I/O) x4
  • Kit (Logic Processor)
  • Kit (Logic Memory)
  • Kit (Sensor) > Daylight Sensor

Place the Daylight Sensor facing up, with the Data Port facing north.

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 Reader 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

The panels should align themselves to the sun if you make sure to put the Power Port on the panels facing east (90 degrees).

Solar tracking using Integrated Circuits

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

What you need:

  • Integrated Circuit (IC10)
  • Kit (IC Housing)
  • Kit (Sensor) > Daylight Sensor

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

  • Kit (Computer)
  • IC Editor Motherboard

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.

The code can be found here: https://stationeering.com/tools/ic/_2AB4Y9MFmKD