FANDOM


Logic OR Gate (electricity)
Logic OR Gate
ID 143
General Attributes:
Is Stackable Yes (40)
Is Flammable No
Physics:
Is Fluid Blocker No
Tool-related Attributes:
Digging Method Hack mini
Digging Resilience 1


Description (From Recipaedia)

Logic OR gate. Has two input on the sides and one output. The output is 1 when any of the inputs is 1, otherwise it is 0. Can be placed on any surface and rotated to desired position.

Crafting

Crafting requires 3 copper ingots, 4 germanium crystals. You get 4 gates.
Logic Or Gate craft

Hooking It Up

Connections

The output is the side where the 'pointy' end is. The inputs are the sides next to that one. The opposite side has no connection.

OR hook

Graphical Symbol

Logic OR Gate has 2 inputs [ Labeled as A and B in Red ] and 1 output [ Y = A + B in Blue ]

OR....

OR Gate generated electric current when one or both of its inputs are 1. This is because the OR Gate finds the Maximum between its two inputs.

Truth Table

Truth table shows all possible inputs and how the output will respond.


Inputs Output
A           B Y
0 0 0
0 1 1
1 0 1
1 1 1


To demonstrate this, I will represent 0 with Blue and 1 with Red.

OR00

No electric curent is generated

OR01

Electric current is generated

OR10

Electric current is generated

OR11

Electric current is generated

Notes

  • OR gate finds the Maximum between two binary digits, unlike the Logic AND Gate, which finds the Minimum. 
  • OR gates are primarily digital devices but will operate on analog signals. It performs a bitwise OR. This allows for more compact and interesting circuit designs. See Using Analog Signals.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.