Hey guys, just wondering, I have a large house/base that is divided into four sections. I want to implement a redstone circuit that will automatically close all the doors that are connected to the adjacent building (I plan to have four control rooms, one per section). Do you think this is possible? If so, could you please provide a circuit map via redstone simulator? Thanks.
There are a number of ways to accomplish this, but I'll do it a simple way. Let's say you have a button next to each door to open it (causing it to stay open), and a button in each room to close the doors.
First, you would need to wire each door up to its own RS-NOR latch. Here is an image from the Minecraft Wiki (I personally like design A):
An RS-NOR latch is effectively a 1 bit memory cell, storing either an off (0) or on (1) position. The R and S in the image are inputs, and Q is the output (the Q with a line over it means it is always the opposite of Q). When the latch receives an input from S, Q turns on. When R is received, Q turns off.
Wire your door to the Q output, and the button to open the doors with to the S input. Then, wire the buttons used to reset the doors to R. You may need to use repeaters to carry the signal far enough (two NOT gates in sequence):
By doing this, you have a button next to the doors to enter, and a button to close all the doors (or leave them closed if they are already).
Something to the effect of this, but more doors and RS-NORs (rhyme not intended) - complete with freehand circles! (made more evident by being drawn with a trackpad)
There are a few basics to understand before jumping into this:
Assume a door has two inputs:
The secondary doors just need to get a negated input of the primary doors.
To force open, perform a logical
You can see how to create logic gates on the minecraft wiki