Stationeers

Stationeers

Adaptive Airlock
15 Comments
boblefurieu 9 Apr @ 1:09pm 
Got the same error : Error OutOfDeviceBounds at line 87
Macgunius 15 Aug, 2024 @ 7:30am 
dr12/dr13 are OpenedDoor/ClosedDoor
Sakata 24 Mar, 2024 @ 4:13am 
@TryCatch
Hey, just wondering if you planned to update this code. Looks a lot better than some of the other airlock IC's ive seen but the bug on line 87 I don't know how to fix (not sure what dr12/13 are)
Ed 13 Mar, 2024 @ 9:24am 
yea this IC seems broken... :(
Kyr 11 Dec, 2023 @ 12:05pm 
When I turn on the IC Housing I get an "Error OutOfDeviceBounds at line 87".
ShamblerDK 28 Aug, 2022 @ 10:59am 
For some reason it's super slow for us. We are on a planet, with 2 kPa outside and ~35 kPa inside. The airlock is at the top of an elevator with 1 space inbetween the airlock and the elevator, if that is of any importance.
Flat Duck Fridays 13 Mar, 2021 @ 9:02am 
It should be noted that if you are retrofitting an existing airlock, the active vents will have the PressureExternal and/or lock settings set by the old airlock chip. You should deconstruct and reconstruct any existing active vents in your airlock, before turning on the IC housing. This is probably the issue that @Cpt Nuggets was having below.
Vorg 16 Jan, 2021 @ 10:56am 
Going to look at this latter today sometime. Think I know how you are doing this with just 1 chip. A change is coming from testing branch that lets IC10 do batch reading through hash. The advantage is, you don't need to use a pin for that. I always put my airlock on an APC so it's the last thing to go down in power outages. Because of that, you can is "lb/sb" batch commands to work the diode freeing up a pin. If you stick with just one sensor, you can do the same for that. If you use different door types for inside and outside, you can free up 2 pins there. Lots of options.
小月猫 15 Dec, 2020 @ 8:21pm 
i actually already found a fix for airlock speed, i have an active vent inside the wall girder, this is just to set the mode, i then use logic to read the mode the airlock sets on the active vent, then have it flip on 1 of my 2 volume pumps connected to a PASSIVE vent, one volume pump will pump fresh air into the airlock, the other will suck everything out into my filtration system. as it relies only on passive vents, its very fast
Wafflez [CZE] 9 Dec, 2020 @ 11:54pm 
Cpt. Nuggets, the active vent is the only constraint, which can pump out max of 101 kpa. I am afraid you will have to change your design to accommodate this limitation.
Cpt. Popoto 17 Nov, 2020 @ 10:11am 
I can't get it to pump past 101kpa, I have two rooms that are at 150kpa, works perfectly 101 and below, any ideas on how i can fix this?
小月猫 18 Aug, 2020 @ 9:11pm 
theres nothing wrong with this, its just not going to work for what i needed, since the way i intend to use it there will be multiple entrences to the room that changes pressure, meaning the airlock can be on the wrong side when you cycle and not be able to know that the pressure changed

i can likely get this to work with a minor modification to have it read from a sensor outside using another chip
TryCatch  [author] 18 Aug, 2020 @ 6:08pm 
it's a pity, I had no intention of misleading. It automatically measures and memorizes the pressure with every cycle. Therefore, in my opinion, I see no point in additional sensors for each side.
小月猫 18 Aug, 2020 @ 1:59pm 
what im reading this wont do quite what i want, one side will depressurize and pressurize as it does its function, and will have a seperate door as well, if the airlock has the door on that side closed it cant read the pressure change and will mess up, adding a second IC chip to read the pressure from a gas sensor on both sides would be helpful for this task
Chrisbitz 12 Aug, 2020 @ 5:46am 
Nice to see a detailed description. Might give it a try sometime!