Stationeers

Stationeers

80 ratings
[F&S] Solar Panel Tracking
6
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
20.142 KB
30 Mar, 2019 @ 7:50am
3 Jun, 2022 @ 9:10pm
16 Change Notes ( view )

Subscribe to download
[F&S] Solar Panel Tracking

In 1 collection by 123
[F&S] Advanced Devices
14 items
Description
Description
Tracks the position of the sun, at night moves to the position of the sunrise.​ Optionally can turn on the light at nightfall, at the beginning of the morning, turns off the light.
Works for Moon, Mars, Europa, Vulcano, and any modified suns angle.

Requirements
  1. 1 Daylight Sensor.
  2. 1 IC Housing.
  3. 1 Integrated Circuit (IC10).
  4. 1 Area Power Controller.
  5. 1 Battery Cell (Large).
  6. At least one Solar Panel. (Supports both versions, normal and heavy panels)

IC ports description
Port
Device
D0
Daylight Sensor (Optional not required)
D1
Dial (Optional not required. Controls the horizontal angle of the solar panels)
D2
Night Signal (Optional not required)

Changeable values in IC code
define SolarHorizontalAngle 0 define EveningMorningAngle 85 #90=night,85=twilight

SolarHorizontalAngle - acts like a dial if you don't want to build it
EveningMorningAngle - Turns on the light just before dark. (90+ mean sun below the horizon). You can set a value less than 90, then the light will be on until the night appears.

D1 Dial settings
You can place the panels as you like, but you need a dialer to adjust their angle. (All panels should be located at one angle.)

0: 0
1: 90
2: 180
3: 270

If you don’t want math, mount and turn the dial until the result is achieved.

D2 Night Signal
1 - At sunset and all night.
0 - At sunrise and all day.

Turns on the specified device at sunset and off at sunrise (Holds device state On or Off.). You can use any device that supports On/Off or you can use memory chip, and read value from another device.

Note
You must place the sensor in the correct position, see the pictures.
All panels should be located at one angle.

Game version support
0.2.5116.23239 05/08/2024
39 Comments
dzlockhead 16 Aug, 2024 @ 6:09pm 
Oh strange, for me it was necessary, it didn't work until I set d0 to the sensor
123  [author] 14 Aug, 2024 @ 1:00am 
dzlockhead,

Requirements
1 Daylight Sensor.

IC ports description
D0 Daylight Sensor (Optional not required)

This means that it is not necessary to set the sensor on port D0 with a screwdriver, the IC will detect it automatically in the connected network. (This is sometimes necessary)

About the images, this is what the daylight sensor looked like in 2019.

A lot has changed in 5 years....
dzlockhead 12 Aug, 2024 @ 11:25am 
Yep, I can confirm it still works but the daylight sensor is REQUIRED on D0, unlike what is said in the description. Also the images showing sensor direction should be said Daylight Sensor, NOT a motion sensor as pictured.
123  [author] 10 Aug, 2024 @ 7:43pm 
Tested on latest version 0.2.5116.23239 all work fine.

Error on line 40, means the daylight sensor was not found.

Squama, you can adjust horizintal angle by dialer or in code. Check "Changeable values in IC code" in this page. No need rotate panels, you can place panels as you wish. (But all power outputs must be on the same side)
dzlockhead 29 Jul, 2024 @ 10:04pm 
Same, error on line 40
Artyshock 9 Apr, 2024 @ 9:56pm 
Hi Squama. Try to rotate your solar panel to 180 degrees. so that the power output faces the dawn. fixd for me.
Squama 4 Apr, 2024 @ 10:17am 
hi all, any1 knows why my pannells are ok with the vertical movement but they are rotating in the opposit direction compared to the sun movement?
Icepic 23 Mar, 2024 @ 6:52am 
I keep getting an incorrect argument count on line 40 plz help
Steef 27 Jan, 2024 @ 7:10am 
Fantastic work.
Only improvements I might suggest is to name your registers and maybe put the instructions in comments in the script. A+++
Wayz 26 Dec, 2023 @ 12:02pm 
This was also the only one that worked for me. Thank you!!