How can electricity understand 0 and 1?
“How can an electrical signal represent information?”
Electricity is continuous physical energy—electrons moving through copper conductors under variable pressure. Yet computers perform crisp, exact mathematical calculations without error. In this section, we will uncover how engineers bridged the continuous physical universe into discrete binary abstraction.
What is a signal?
Before we talk about logic or code, we must look at physical copper lines. A signal is not magic—it is simply a physical quantity changing over time.
What is an electrical signal?
An electrical signal is an intentional fluctuation in electric voltage or current along a conductive medium that conveys information from a sender to a receiver.
Can the voltage on a wire change?
Yes. Voltage is electrical potential energy difference. When a power source connects to a line, electric charge accumulates, raising the potential. When connected to ground, charges drain.
What information does a changing waveform carry?
In analog systems, every minute voltage variation carries meaning. In digital systems, we only care whether the voltage passes defined threshold levels.
What is a Signal? The Changing Physical Reality
Before a computer can process information, it must interact with continuous, fluctuating physical forces traveling along copper wires.
Oscilloscope Reading
In nature, physical quantities fluctuate infinitely. Before a chip can calculate anything, it must find a way to make sense of these constantly moving electrical voltages.
What is HIGH and LOW voltage?
Real circuits suffer from thermal noise, electromagnetic interference, and resistance drops. To build reliable machines, engineers divide the continuous voltage spectrum into strict categorical bands.
How can computers extract reliable information from noisy signals?
By establishing threshold ranges rather than demanding a single exact voltage. Just like a grading rubric classifies any exam score between 90% and 100% as an “A”, a digital receiver treats any voltage between 2.0V and 5.0V as valid HIGH.
What are voltage threshold bands?
Standard logic families (like TTL and CMOS) define explicit boundaries: a LOW band (0.0V to 0.8V) and a HIGH band (2.0V to 5.0V). Small electrical disturbances inside these bands are completely ignored.
What is the forbidden noise region?
The zone between 0.8V and 2.0V is the undefined transition region. If a voltage rests in this zone, logic behavior is unpredictable and forbidden.
What is HIGH and LOW Voltage? The Threshold Bands
To prevent errors from natural electrical static, digital circuits do not measure exact voltages. They categorize voltage into pre-defined threshold bands.
Categorical Decision
Voltage is solidly above 2.0V threshold. Small electrical noise fluctuations are completely ignored!
How do HIGH and LOW map to 0 and 1?
Wires don't know what numbers are. Wires only know voltage. 0 and 1 are symbols invented by humans to reason about electrical states with mathematics.
Are 0 and 1 actual voltages?
No. ‘0’ and ‘1’ do not exist physically on a silicon die. What physically exists are potential differences like 0.2V or 3.3V.
How does physical voltage map to logical abstraction?
By universal convention in positive logic systems, HIGH voltage is assigned the symbol ‘1’ (True / On / Set) and LOW voltage is assigned ‘0’ (False / Off / Clear).
Why do computers process voltages instead of numbers?
Because physical circuits can only manipulate electric charges through semiconductor channels. The mathematical interpretation happens in our engineering designs and software models.
How do HIGH and LOW Map to 0 and 1?
Computers do not fundamentally process zeros and ones. They process physical voltages; humans describe those states with binary symbols.
Electrons either exert an electrical pressure on the conductive copper line or they do not. The physical wire has no concept of numbers, mathematics, or code.
By universal convention in positive logic systems, we assign the symbol '1' to HIGH voltage and '0' to LOW voltage, creating a bridge from electricity into boolean algebra.
What is a bit?
The fundamental currency of computing. Just like an atom is the basic unit of matter, a bit is the smallest indivisible unit of information.
What is the origin of the word ‘bit’?
Coined by mathematician John Tukey and popularized by Claude Shannon in 1948, bit is a portmanteau of Binary Digit.
How many states can a single digital wire represent?
Exactly two states: HIGH (1) or LOW (0). At any single slice of time, one wire transmits exactly one bit of information.
What is a binary choice?
Any mutually exclusive choice between two distinct possibilities: Yes/No, True/False, Heads/Tails, On/Off.
What is a Bit? The Atom of Information
A bit (Binary Digit) is not a physical object. It is the fundamental unit of information representing a single choice between two mutually exclusive states.
A flipped coin resting on a table can only land in one of two physical states: Heads or Tails.
A physical copper trace inside a chip either holds an electrical charge (HIGH) or lacks it (LOW).
Bit = Binary Digit. The smallest atom of information. It represents a single yes/no, on/off decision.
How do multiple bits expand the number of possible states?
One wire gives two states. But when we group wires together into parallel buses, the number of possible states scales exponentially.
How does adding wires increase possible combinations?
Think of a combination lock. Adding a dial doesn't just add choices; it multiplies the existing possibilities by the number of faces on the new dial.
Why does state space grow as 2ⁿ?
Because each binary wire adds a 2× multiplier: 1 wire = 2 states, 2 wires = 4 states, 3 wires = 8 states, up to N wires = 2ⁿ states.
What is a byte?
A standard group of 8 bits. 8 bits can represent 2⁸ = 256 distinct patterns, sufficient to store any single character, symbol, or color intensity level.
How Multiple Bits Expand States: The Combination Lock
Every additional binary wire doubles the total number of distinct states the system can represent. N bits yield exactly 2^N unique combinations.
How do bits build binary numbers?
We don't count with 10 fingers in hardware; we count in Base 2. Each position in a binary word has a weighted numerical power of two.
How does binary positional notation work?
Just as decimal uses column weights of 10⁰, 10¹, 10² (1, 10, 100), binary positional notation uses column weights of 2⁰, 2¹, 2², 2³ (1, 2, 4, 8, 16, 32, 64, 128).
Why does each bit position represent a power of 2?
Because binary has a radix of 2. Moving one column left doubles the weight represented by that digit.
How do we calculate decimal values from bit patterns?
Sum the column weights wherever the bit is ‘1’. For example, 00001011 has active bits at columns 8, 2, and 1, producing 8 + 2 + 1 = 11.
How Bits Build Binary Numbers: Positional Notation
Just as base-10 uses powers of 10 (100, 10, 1), base-2 uses powers of 2 (128, 64, 32, 16, 8, 4, 2, 1). A binary number is simply the sum of its active column weights.
Every position to the left is multiplied by 10:
Every position to the left is multiplied by 2:
How can the same bits represent text, colors and instructions?
Bits have no inherent meaning. The exact pattern of electrical charges on 8 wires can represent an integer, a letter of the alphabet, a color pixel, or a machine code instruction.
Do bits have any inherent meaning?
No. A byte like 01000001 is just 8 voltages. It only becomes a letter, number, or instruction when interpreted by a specific hardware decoder or software protocol.
How can 01000001 represent the number 65, the letter ‘A’, and a color?
When routed to the ALU, it is the number 65. When routed to a text renderer, ASCII maps 65 to ‘A’. When routed to a display frame buffer, it sets pixel gray intensity to #414141.
What is a codec and encoding rule?
An agreement between engineers that maps numeric codes to real-world concepts (e.g. ASCII/Unicode for text, RGB for colors, IEEE-754 for decimals, RISC-V/x86 for instructions).
How the Same Bits Represent Text, Colors, and Instructions
Bits have no intrinsic meaning. Just like the word 'BAT' means a creature in biology but sports equipment in baseball, the context of the hardware determines how raw bits are interpreted.
A nocturnal flying mammal.
A wooden stick used to strike a ball.
The ALU multiplies column powers of 2 to treat the 8 wires as an unsigned integer value from 0 to 255.
The operating system uses the ASCII/Unicode lookup table to map code 65 to a typographic glyph on your screen.
A graphics processor interprets the 8 bits as a grayscale luminance shade or 8-bit color channel intensity.
Increment register ECX by 1 (x86) / INC R0 (8051)
From Electric Voltage to Universal Information
We have crossed the first great chasm in chip engineering. We saw that electricity is continuous, but by enforcing strict voltage thresholds, we eliminate noise and establish discrete HIGH and LOW states. By grouping binary wires, we create positional numbers, characters, colors, and instructions.
Voltages fluctuate with noise and impedance along copper lines.
HIGH and LOW bands ignore minor analog voltage fluctuations.
N wires provide 2ⁿ unique binary states (8 bits = 256 combinations).
Hardware decoders assign meaning (text, numbers, colors, instructions).
“We can represent information with 0s and 1s. But how can we make a circuit do something with those 0s and 1s?”
Having 0s and 1s sitting statically on wires is not enough. Computation requires making choices: “If A is 1 AND B is 1, then turn ON C.” In Stage 02, we build physical logic gates that perform decisions.