Stationeers

Stationeers

评价数不足
Room Temperature Regulator
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
160.468 KB
2018 年 9 月 22 日 上午 4:07
1 项改动说明 ( 查看 )

订阅以下载
Room Temperature Regulator

描述
Simple script that works to achieve a specific temperature range (set via memory chips) in a closed space through the use of wall heater(s) and cooler(s), and turn the devices off once within the range.

Excessive comments to help newcomers.

Code here: https://stationeering.com/tools/ic/XSzXg1VUU

Items required:
- 1 Wall Heater
- 1 Wall Cooler
- 1 (gas) sensor
- 1 IC housing and chip
- 2 memory chips set to your min and max temperature

And of course, it's possible to adjust this to use batch writers for multiple devices.

To install, simply subscribe to the item and you will find it in your IC chip IDE's library list.
10 条留言
Reyno 2019 年 11 月 12 日 上午 1:21 
sorry if i have missed something but is it possible to let me know how to modify the code to allow for Batch writers
Skylord 2019 年 10 月 17 日 下午 2:17 
#Devices​
alias Valve d5 #DigitalValve
​​
#else send command to devices and restart cycle​
s Valve On setCooler​

​#Set both devices off if within desired temp range​
#then restart cycle​
setBothOff:​
s Valve On 0​

Add 1 device for normal cooler flow outside base (DigitalValve)

Please let me know how to set it for batch writers for heaters?
Reliantwings010 2019 年 6 月 30 日 下午 4:51 
I too want to know how to set it for batch writers.
Serial 2019 年 1 月 22 日 下午 2:25 
@Msgt. Joe I would like to know this aswell
Msgt. Joe 2019 年 1 月 20 日 上午 4:27 
So how to adjust this to use batch writers?
Dr_Nerdrage  [作者] 2019 年 1 月 9 日 上午 8:48 
No problem. This is what helps me learn so I figured others might benefit too!
Etsijä 2019 年 1 月 8 日 上午 12:37 
Thank you Dr Nerdrage, this was really helpful. I'm just familiarising with the MIPS language and usage of IC10 in my station logics (am planning to gradually replace the huge logic chip setups with some cleverly written ICs), so your extensively commented example code was really really helpful!
Dr_Nerdrage  [作者] 2018 年 10 月 21 日 上午 5:57 
@Diarkus It was part of the test setup. It is not necessary.
Diarkus 2018 年 10 月 19 日 上午 12:42 
think the chip he has in the initial pic is a logic reader might jump in and see if i could confirm
TeslaZar 2018 年 10 月 14 日 下午 2:06 
Did as stated here, but the air is not cooled and does not heat up. Rechecked the connection is good