From 28b4e336ec6c8326f1ba7ea467a56676c25447c5 Mon Sep 17 00:00:00 2001 From: tactonbishop Date: Mon, 5 Dec 2022 07:30:05 +0000 Subject: [PATCH] Last Sync: 2022-12-05 07:30:05 --- .../Digital_Circuits/Digital_circuits.md | 2 +- Hardware/Logic_Gates/Logic_circuits.md | 79 ------------------- testFolder/beta.md | 8 -- 3 files changed, 1 insertion(+), 88 deletions(-) delete mode 100644 Hardware/Logic_Gates/Logic_circuits.md delete mode 100644 testFolder/beta.md diff --git a/Electronics/Digital_Circuits/Digital_circuits.md b/Electronics/Digital_Circuits/Digital_circuits.md index 36cd4b6..430c4a1 100644 --- a/Electronics/Digital_Circuits/Digital_circuits.md +++ b/Electronics/Digital_Circuits/Digital_circuits.md @@ -8,7 +8,7 @@ tags: [electrical-circuits] Ultimately every process in a computer is the product of a digital [circuit](/Electronics/Circuits.md) that is working on binary values. In contrast to electrical circuits, digital circuits are not represented in an [analogue](/Hardware/Analogue_and_digital.md) fashion. -Analogue circuits work on the basis of real continuous phenomena in the world: charges and currents. As a result, the key properties of a circuit - voltage, current and resistance - can vary over a wide range of values. This is the reason that we require) components like batteries and resistors: to control the natural flow of current and ensure that it only runs within desired parameters. +Analogue circuits work on the basis of real continuous phenomena in the world: charges and currents. As a result, the key properties of a circuit - voltage, current and resistance - can vary over a wide range of values. This is the reason that we require components like batteries and resistors: to control the natural flow of current and ensure that it only runs within desired parameters. In a standard electrical circuit, voltage, current and resistance can vary over a wide range of values however in the binary context we want to deal with discrete values (zeros and ones) which can be fed into the various [logic gates](/Hardware/Logic_Gates/Logic_gates.md). diff --git a/Hardware/Logic_Gates/Logic_circuits.md b/Hardware/Logic_Gates/Logic_circuits.md deleted file mode 100644 index 27007e7..0000000 --- a/Hardware/Logic_Gates/Logic_circuits.md +++ /dev/null @@ -1,79 +0,0 @@ ---- -categories: - - Computer Architecture - - Electronics - - Hardware -tags: [logic-gates, binary] ---- - -# Logic circuits - - > Now that we are familiar with the individual [logic gates](Logic_gates.md) and their truth conditions we are in a position to create **logic circuits**. These are combinations of logic gates controlled by inputs that can provide a range of useful outputs. The output of a logic gate is a function of the truth-values of the individual gates and their connections to each other. - -## Basic example - -In the below circuit we have the following gates connected to two inputs with one output, moving through the following stages: - -1. `AND`, `NOT`, `NOT` -1. `AND`, `NOR` - -This is equivalent to the following truth table: - -```` -A B Output -_ _ _____ - -0 0 0 (1) -1 0 1 (2) -0 1 1 (3) -1 1 0 (4) -```` - -![](../img/../../img/Screenshot_2020-08-31_at_13.52.25.png) - -*Line 1 of the truth table* - - - -![](../img/../../img/Screenshot_2020-08-31_at_13.52.34.png) - -*Line 2 and 3 of the truth table (equivalent to each other)* - - -![](../img/../../img/Screenshot_2020-08-31_at_13.52.42.png) - -*Line 4 of the truth table* - -## Applied example - -With this circuit we have a more interesting applied example. - -It corresponds to an automatic sliding door and has the following states - -* a proximity sensor that opens the doors when someone approached from outside -* a proximity sensor that opens the doors when someone approaches from the inside -* a manual override that locks both approaches (inside and out) meaning no one can enter of leave - -Here's a visual representation: - -![logic_circuits_5.gif](../img/../../img/logic_circuits_5.gif) - -The following truth table represents this behaviour, with A and B as the door states, C as the override and X as the door action (0 = open, 1 = closed) - -```` -A B C X -_ _ _ _ - -0 0 0 0 -1 0 0 0 -0 1 0 0 -1 1 0 0 -0 0 1 0 -1 0 1 1 -0 1 1 1 -1 1 1 1 -```` - -![](../img/../../img/Screenshot_2020-08-31_at_14.12.48.png) - -*Automatic door sensor with manual override* diff --git a/testFolder/beta.md b/testFolder/beta.md deleted file mode 100644 index 48975ec..0000000 --- a/testFolder/beta.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -categories: - - TestRename -tags: - - test-rename ---- - -Here is some fuckin' text.