Logic OR Gate (electricity) | |
---|---|

ID | 143 |

General Attributes:
| |

Is Stackable | Yes (40) |

Is Flammable | No |

Physics:
| |

Is Fluid Blocker | No |

Tool-related Attributes:
| |

Digging Method | |

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.*

## 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.

### Graphical Symbol

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

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.

## 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.