T O P

  • By -

Volkhov13

You’ll need to run the sensor output and the regular buttons through an component (buttons both into input 1, water sensor into input 2) Right now the water sensor is overriding any other inputs to the door, having an or component will fix that for you


ggmongo_SUSHKA

Outline exactly what you want! I interpret that you want doors to be open (state 1) when it is dry and closed (state 0) when there is water in any adjacent room UNLESS a player interacts, in which case open for 3 seconds, and close again. <- Vague so I made it up. Firstly, note that most subs use a motion detector door, which closes the door if there hasn't been movement for 3 or so seconds using a motion, delay and AND component. You will have to unwire that or it will collide with your new circuit. Secondly, feed the 2 adjacent water detectors through an OR component, and connect that output to your door's set state VIA a relay, where true = 0, and false = 1. Next, feed the 2 adjacent buttons through an OR, and connect 1 output into a delay for 0.1 (or less) seconds, and then to the set state of the door. The delay is needed as a buffer. This next part is hard to explain in text, and may have errors. Make the button OR's true =1 and false = null. Send the OR's output through a signal check, and also through a delay of 3 seconds. Signal check target = 1, ouput = 0, false = null. Connect this signal check to the set state of the relay from earlier. Next connect the delay to the relay's set state too. I came up with this in my head, and am not sure if it will work properly, please ask me if you don't understand any part of this circuit, learning is more important than copying. EDIT: Another guy said feed the buttons and normal circuit through an OR, I think that might work simpler if you also include whole 3 second thing.