Actions

Difference between revisions of "Solar Logic Circuits Guide"

From Unofficial Stationeers Wiki

m (Fixed a small typo)
(Stationeering site works again, no need for the Archive.org links, but thanks for fixing it while it was needed!)
 
(10 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[Category:Tutorials]]
+
[[Category:Tutorials]][[Category:Solar power]]
 
<languages />
 
<languages />
 
== Disclaimer ==
 
== Disclaimer ==
Line 7: Line 7:
 
The designs on this page are valid as of v0.2.3304.16432 (2022-06-06)
 
The designs on this page are valid as of v0.2.3304.16432 (2022-06-06)
  
== Geometry Of Solar Panels and Daylight Sensors ==
+
While this specific Guide calls out the sensor being place a specific direction(north), its 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]] ==
  
 
<gallery>
 
<gallery>
Line 17: Line 21:
  
 
==Solar tracking using Logic Chips ==
 
==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.
 
 
{| 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.
 
  
 
=== Six-chip dual-axis tracking ===
 
=== Six-chip dual-axis tracking ===
Line 41: Line 26:
  
 
'''What you need:'''
 
'''What you need:'''
* Kit (Logic I/O) x4
+
* [[Kit (Logic I/O)]] x4
* Kit (Logic Processor)
+
* [[Kit (Logic Processor)]]
* Kit (Logic Memory)
+
* [[Kit (Logic Memory)]]
* Kit (Sensor) > Daylight Sensor
+
* [[Sensors|Kit (Sensor)]] > [[Sensors#Daylight Sensor|Daylight Sensor]]
  
 
Place the Daylight Sensor facing up, with the Data Port facing north.
 
Place the Daylight Sensor facing up, with the Data Port facing north.
Line 64: Line 49:
 
| Logic Reader || Vertical Reader || Daylight Sensor || Vertical ||  
 
| Logic Reader || Vertical Reader || Daylight Sensor || Vertical ||  
 
|-
 
|-
| Batch Writer || Vertical Writer || Vertical Reader || Vertical || Solar Panel
+
| Batch Writer || Vertical Writer || Vertical Correction Math || Vertical || Solar Panel
 
|-
 
|-
 
! '''Chip''' !! '''Chip label''' !! '''Value'''
 
! '''Chip''' !! '''Chip label''' !! '''Value'''
Line 75: Line 60:
 
|}
 
|}
  
[[File:2-Axis-Solar-Logic (accurate) - fixed.png|Accurate two-axis solar tracking]]
+
[[File:2022-10-02 Two-axis solar tracking.png|Accurate two-axis solar tracking]]
  
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). 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 ==
 
== Solar tracking using Integrated Circuits ==
Line 83: Line 68:
  
 
'''What you need:'''
 
'''What you need:'''
* Integrated Circuit (IC10)
+
* [[Integrated Circuit (IC10)]]
* Kit (IC Housing)
+
* [[Kit (IC Housing)]]
* Kit (Sensor) > Daylight Sensor
+
* [[Sensors|Kit (Sensor)]] > [[Sensors#Daylight Sensor|Daylight Sensor]]
  
 
And if you don't already have one set up:
 
And if you don't already have one set up:
* Kit (Computer)
+
* [[Kit (Computer)]]
* IC Editor Motherboard
+
* [[Motherboard (IC Editor)|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.
 
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
+
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.
 +
 
 +
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

Latest revision as of 10:08, 20 December 2024

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

While this specific Guide calls out the sensor being place a specific direction(north), its 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 you need:

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 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 if you make sure to put the Power Port on the panels facing 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