An open API service indexing awesome lists of open source software.

https://github.com/roggersanguzu/building-blocks

This Ellaborates how the various Gates are used to to come up with the various Systems in terms of Signal transmissions and input
https://github.com/roggersanguzu/building-blocks

Last synced: 7 months ago
JSON representation

This Ellaborates how the various Gates are used to to come up with the various Systems in terms of Signal transmissions and input

Awesome Lists containing this project

README

          

# Building-Blocks
This Ellaborates how the various Gates are used to to come up with the various Systems in terms of Signal transmissions and input
It has both the Software and Hardware versions. The software versions are the ones in the Above Links and saved in the respective INO formats.
# Below elaborates the hardware versions.
a) The NAND GATE
![image](https://github.com/RoggersAnguzu/Building-Blocks/assets/141458053/c0b924f8-9cb0-4497-830a-e17c4c4bfa00)
c) AND GATE
![image](https://github.com/RoggersAnguzu/Building-Blocks/assets/141458053/6ec15c19-b277-44f2-921d-0d508118e795)
# Logic Gates Simulation

This repository contains Arduino code for simulating NAND, AND, and OR gates using Tinkercad. These simple digital logic gates are fundamental building blocks of digital circuits and are widely used in various electronic applications.

## Contents

- [NAND Gate](#nand-gate)
- [AND Gate](#and-gate)
- [OR Gate](#or-gate)
- [Usage](#usage)

## NAND Gate

The NAND gate is a universal gate, which means it can be used to implement any other logic gate. In this simulation, the NAND gate is implemented using Arduino code to demonstrate its behavior. The code reads two input signals and produces the output based on the NAND gate truth table.

## AND Gate

The AND gate is another fundamental logic gate that outputs HIGH (1) only when both of its inputs are HIGH. The repository includes code to simulate the AND gate, which reads two input signals and produces the output based on the AND gate truth table.

## OR Gate

The OR gate is a logic gate that outputs HIGH (1) when at least one of its inputs is HIGH. The simulation code for the OR gate is included in this repository. It reads two input signals and produces the output based on the OR gate truth table.

## Usage

To simulate these logic gates in Tinkercad or on your Arduino hardware, follow these steps:

1. Connect the input pins (e.g., pins 2 and 4) to your input signals.

2. Connect the output pin (e.g., pin 7) to the output device or an LED to observe the gate's behavior.

3. Upload the corresponding Arduino code (NAND_gate.ino, AND_gate.ino, OR_gate.ino) to your Arduino board.

4. Open the Serial Monitor to observe the input states (HIGH or LOW) and the resulting output.

Feel free to modify the code or experiment with different input combinations to understand how these logic gates work.

**Note:** Ensure you have the necessary Arduino libraries and hardware connections set up according to your specific configuration.

Please refer to the individual code files for more detailed comments and explanations.