Pages

Saturday 14 May 2011

Logic Gate Basics Part 2

Just a quick addition to Part 1, before I move on to some more complicated logic gate tutorials.


OR Gate

If any of the inputs are ON, the output is ON, else the output is OFF.




NOR Gate

The direct opposite of the OR Gate, is any of the inputs are ON, the output is also on, else the output is OFF.


Hold for content here.

Monday 9 May 2011

AND Gate Combo Lock (4 Inputs)

This combo lock only outputs an ON signal when the required combination of ON/OFF inputs are selected. This can be used for houses, banks, traps and even puzzles. 



In this example, the inputs are in the form of 4 levers.


To configure the inputs needed, you simply add or remove torches on the other side of the input blocks (invertors). To use more than 4 inputs, for example 6, add 2 more input levers, and another AND gate at each stage, finishing with a single AND gate.

Sunday 8 May 2011

Logic Gate Basics Part 1

In this series of tutorials I'll be covering the basics of Logic Gates, followed by some practical applications. For reference, in all images, Inputs are shown by Green blocks, and Outputs are shown by Red blocks. By now you should have a basic understanding of the principals behind the behaviour of Redstone. If not, read through the previous Redstone Basics Tutorials.


Invertor (NOT Gate)

Just as seen in a few of my other tutorials, the invertor outputs the opposite of the input, so if the input is ON, the output is OFF.




AND Gate

If both inputs are ON, the output is ON, else the output is OFF.



Triple AND Gate


This works the same as the AND gate but takes 3 inputs, all of which have to be ON for the output to be ON.




NAND Gate

If both inputs are ON, the output is OFF, else the output is ON.



XOR Gate

As long as both inputs have different states, (one OFF, one ON), the output is ON. If both inputs have the same state, the output is OFF.



XNOR Gate

As long as both inputs have the same state, the output is ON. If the inputs have different states, the output is OFF.