Stationeers

Stationeers

65 个评价
SDB Compact Power Display
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
135.775 KB
2018 年 10 月 3 日 上午 9:15
1 项改动说明 ( 查看 )

订阅以下载
SDB Compact Power Display

描述
It shows % of the battery grid, actual power consumption and time in minutes when your battery grid will have no power.

You need:
1+ stationary battery
1x cable analyser
1x batch reader
1x IC
1x IC housing
3x small LED monitor

( obviously one computer to program IC )

https://imgur.com/a/YijCNWu

d0 = batch reader ( reading stationary battery, value average, ratio )
d1 = cable analyzer

d3 = LED display
d4 = LED display
d5 = LED display
38 条留言
Liam Kapz26 2024 年 11 月 20 日 上午 7:01 
can i make with multiple batteries to show kw and battery charging time?
Adam De Beers  [作者] 2022 年 11 月 20 日 上午 11:21 
Made 4 years ago it is still working :D
Adam De Beers  [作者] 2022 年 11 月 20 日 上午 11:19 
You are welcome.
ErikV70 2022 年 11 月 20 日 上午 10:50 
Great coding example. I was trying to make this, but could not get it to work properly. Now i did. Thanks :-)
ждун 2021 年 10 月 14 日 下午 4:36 
its also probably better to use PowerActual instead of PowerRequired. Not a big deal though they are mostly same.
ждун 2021 年 10 月 14 日 下午 4:35 
ah yea i realized. I was just playing around with my own script. Actually you also don't need the analyzer. You can get these values from batteries directly.
Adam De Beers  [作者] 2021 年 10 月 14 日 下午 2:49 
You are welcome. That program and the video about it is 3 years old. Many things were not working as they are working now.
ждун 2021 年 10 月 14 日 下午 2:38 
thanks for sharing helped me to learn something.
Btw. i have some improvement suggestions.
1. using aliases instead of registers directly would make the code better readable
2. you don't actually need the batch reader. You can just do:

lb ratio_average battery_hash Ratio Average

assuming you have:
alias ratio_average r0 # or any other register
define battery_hash -400115994

Adam De Beers  [作者] 2021 年 5 月 31 日 下午 3:43 
If you have 1 battery, it shows % of 1 battery. If you have 150 batteries, it shows % of 150 batteries combined. There is a link for Youtube video on the right.
Grizzly 2021 年 5 月 31 日 上午 11:11 
What do you mean by "% of the battery grid" ? Is that how full the batteries are?