Actions

Talk

Difference between revisions of "Solar Logic Cable Golf"

From Unofficial Stationeers Wiki

(Solar Panel Golf challenge with only 1 chip and 1 sensors.)
 
m (Code wouldn't fit here so made a url.)
 
Line 7: Line 7:
 
Can also do the math to use both the vertical and horizontal outputs of one daylight sensor. I use one upside in horizontal mode. Only need 1 device knob for the IC for infinite solar panel control. This is my current file. Have the horizontal sensor and solar panel data ports all facing north. I use d1 as an output to a spinning light on top of my solar tower to turn on at night and off at day. To help act as a backup beacon if I get lost at night without power to my tracker card.
 
Can also do the math to use both the vertical and horizontal outputs of one daylight sensor. I use one upside in horizontal mode. Only need 1 device knob for the IC for infinite solar panel control. This is my current file. Have the horizontal sensor and solar panel data ports all facing north. I use d1 as an output to a spinning light on top of my solar tower to turn on at night and off at day. To help act as a backup beacon if I get lost at night without power to my tracker card.
  
alias Sensor d0 # Horizontal Sensor
+
https://stationeering.com/tools/ic/_mVAouui7EF
s Sensor Mode 1
 
 
 
l r1 Sensor Horizontal
 
l r2 Sensor Vertical
 
 
 
mul r1 r1 -1
 
sub r1 r1 90
 
sub r2 180 r2
 
div r2 r2 1.5
 
add r2 50 r2
 
sb -539224550 Horizontal r1
 
sb -539224550 Vertical r2
 
 
 
l r3 Sensor Activate
 
seqz r3 r3
 
s d1 On r3
 
yield
 
j 3
 

Latest revision as of 13:09, 28 February 2021

Can send both horizontal and vertical numbers to all panels without batch writers or anything else using the sb command (set batch I call it.) Use only an IC chip and one daylight sensor (and cables.) -539224550 is the current type hash for the "Solar Panel (dual)" object. Sends the values to all objects on that network, so doesn't need a device knob on the IC. The wiki has a list of other hash numbers as necessary for the other solar panel types.

sb [type hash] Var r? sb -539224550 Horizontal r1 sb -539224550 Vertical r2

Can also do the math to use both the vertical and horizontal outputs of one daylight sensor. I use one upside in horizontal mode. Only need 1 device knob for the IC for infinite solar panel control. This is my current file. Have the horizontal sensor and solar panel data ports all facing north. I use d1 as an output to a spinning light on top of my solar tower to turn on at night and off at day. To help act as a backup beacon if I get lost at night without power to my tracker card.

https://stationeering.com/tools/ic/_mVAouui7EF