Last Sync: 2022-11-09 07:30:05

This commit is contained in:
tactonbishop 2022-11-09 07:30:05 +00:00
parent 719aee2236
commit bfc3dcb13e
3 changed files with 19 additions and 0 deletions

View file

@ -0,0 +1,17 @@
---
categories:
- Electronics
tags: [electrical-circuits]
---
# Digital 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.
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).
We therefore need a way to represent 'on' and 'off' as single quantities. We do this by stipulating that a given voltage corresponds to 'on' (high) and another corresponds to 'off' (low). Of course these are not really discrete values since voltage is inherently analogue but we basically binary-encode them. Formally 'on' has a voltage of 1 and 'off' has a voltage of 0. In reality 'on' tends to be within 2-5V depending on the circuit design and anything between 0 - 0.8V is considered off.
The [transistor]() is the electrical component that enables us to represent given voltage ranges as being 'on' or 'off'.

View file

@ -43,3 +43,5 @@ The relationship between current, resistance and voltage is expressed in [Ohm's
## Resistors
A resistor is an electrical component that can be used in circuits to introduce specific amounts to resistance where needed. This is typically done in order to temper the total voltage and so keep the current flowing within certain set parameters.
// TODO: Add image of different resistor types and further info on their differences and the physics behind how they work.