Stationeers

Stationeers

Not enough ratings
Power controller V2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
196.563 KB
Jan 15, 2021 @ 12:02am
Jan 15, 2021 @ 7:18pm
2 Change Notes ( view )

Subscribe to download
Power controller V2

Description
Power manger that will control:
Dual axis solar tracking.
Battery readout.
Backup generator.

It will control all attached solar panels (Regular, heavy, dual or single input)
It will read all attached batteries (Large, regular)
It will control all attached generators (Coal or gas)

Connection:
d0: Daylight sensor (Alignment must match solar panel alignment, see pictures)
d1: Display/mirror (depending on setup) (Optional)

The display will show the current combined charge of the batteries connected.
Display colour:
Green - Charging
Orange - Discharging
Red - Generator not working (No coal/gas)
Note: for single input solar setup you will need a logic mirror set to the display and connect the mirror to d1:

Photo 1 and 2 setup for dual port solars.
Photo 3 and 4 setup for single port solars. Make sure the data port for the IC is connected to the solar circuit.

It does not matter which way the solar panels face as long as the sensor is oriented the same direction as the solar panels. Set your solar panel to 100% vertical and zero horizontal. Place the sensor with the data port facing where the solar panel is facing. All of the panels using the same sensor must be facing the same direction.
21 Comments
3DogBrew Jan 27 @ 5:01pm 
I know this is an old thread, I picked up Stationeers after not touching it for 3 years. Anyway, the vertical and horizontal tracking didn't work when I tried it on the Moon (surprised that it was renamed from Mun). I suspect that the angular computations (noted by @Totally Not Pug below) may be different for each planet, just to keep us Stationeers on our toes. For the Moon there is no need to use the horizontal tracking anyway, and the vertical is direct from the sensor if you orient the sensor, so it faces sunrise.
Totally Not Pug Mar 24, 2024 @ 8:15pm 
If anyone is still using this (As I am) where you see div r0 r0 1.5 change that to "div r0 r0 0.7" this is under the purple "alignPanels". Hope this helps everyone. :) I am not sure if this works on other planets, BUT on Mars it works.
Trollsama Jan 15, 2024 @ 11:11pm 
so im not sure whats going on. i followed the instructions as provided, and the panels face the sun, but anfgle way too low. im getting ~50% efficiency on mars.... Is this something to do with the changes to solar tracking?

(this is using dual panels, with a properly isolated data network, with the censor oriented correctly)
Dark Helmet Aug 23, 2023 @ 6:46pm 
FYI: in single port mode, the script relies on a bug that allows the IC batch commands to access batteries data via their non-data ports. This should not work but did at the time the script was posted. This has been fixed which breaks the script. The fix is easy: Rewire the data ports of all batteries to the green power cable instead of the red side in examples 3,4. Of course, whether this will stay "fixed" is another thing but relying on a bug isn't ideal.
alley_cat Jan 23, 2022 @ 3:51pm 
Hello, the solar panel works fine but the solid fuel engine doesn't stop when batteries are fully chargeg, could you help ? Thanks
mat1k Sep 19, 2021 @ 2:35am 
The code writes to Mode, Color and Setting on the display.
You could assign 1 Display direct and then use Logic Readers and Batch Writers to send the data to Slave Displays.
RedneckGenius Sep 12, 2021 @ 2:02am 
Is it possible to use multiple displays? I tried using a batch writer at d1 but it gets an error
odysseymwm Jul 10, 2021 @ 9:39am 
I'm having problems with the solid fuel generator portion. The station batteries (3) are fully charged but the genset keeps cycling on and off - about 5 - 10 second intervals. The solar panel control is working awesome. Would love any help to get the genset going correct. Wired per the photos for dual port solars. Thanks.
Laslo Jun 21, 2021 @ 2:41am 
I figured out that the add r0 r0 180 is missing after the defining of r0 as horizontal position from the sensor
Zhane May 28, 2021 @ 2:20pm 
So I'm new how does one use this?