ChipFACTORYFoundations
Apply now
Foundations/STAGE 01
Foundations Track/STAGE 01
20 min first-principles journey
SECTION 1

How can electricity understand 0 and 1?

The Core Question

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

1.1The Physical Medium

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.

Pedagogy: Slide 1Interactive Discovery

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.

Frequency:1.5 Hz
Amplitude:
Oscilloscope: Copper Conductor SignalVoltage vs Time (t)
+5.0V (Vpeak)0.0V (GND)Time (t) →
Physical Measurement

Oscilloscope Reading

Probe Position:t = 250 μs
Instantaneous V:2.44 V
Signal State:Clean Analog

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.

A signal is fundamentally a physical quantity (voltage or current) that varies over time to transmit information.
1.2Taming the Continuous World

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.

Pedagogy: Slide 2Interactive Discovery

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.

Drive Wire Voltage: 3.80 Volts
0.0V (GND)5.0V (Vcc)
TTL Logic Voltage Threshold Bands (Vcc = 5.0V)Noise Margins Model
HIGH VOLTAGE REGION (VIH = 2.0V to 5.0V)Classified as: LOGIC HIGH (TRUE / 1)⚠ FORBIDDEN NOISE REGION (0.8V - 2.0V)Undefined / Unpredictable Circuit StateLOW VOLTAGE REGION (0.0V to VIL = 0.8V)Classified as: LOGIC LOW (FALSE / 0)5.0V2.0V0.8V0.0V3.8V
Digital Interpretation

Categorical Decision

Categorized: LOGIC HIGH

Voltage is solidly above 2.0V threshold. Small electrical noise fluctuations are completely ignored!

The Grading Analogy:Like a grading system where >90 is an 'A' and <60 is an 'F', threshold bands eliminate analog ambiguity and focus purely on categorical certainty.
By forcing continuous analog signals into distinct voltage bands (HIGH vs LOW), we create stable states immune to noise.
1.3The Human Abstraction Layer

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.

Pedagogy: Slide 3Interactive Discovery

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.

Physical Switch State:
Current: ⚡ +3.3V Positive Rail
LAYER 1: PHYSICAL REALITYWhat the machine sees
VOLTS (DC)
3.3 V
HIGH Voltage State (3.3V)

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.

LAYER 2: LOGICAL ABSTRACTIONHow humans reason
1
LOGIC 1 (TRUE / ON)

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.

0 and 1 are mathematical abstractions invented by humans to reason about physical electric voltages.
1.4The Atom of Information

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.

Pedagogy: Slide 4Interactive Discovery

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.

Wire Control:
1. Everyday Physical WorldCoin
HEADS
2 physical faces

A flipped coin resting on a table can only land in one of two physical states: Heads or Tails.

2. Electrical HardwareSingle Wire
V_in
Probe:3.3V
⚡ HIGH Voltage Level

A physical copper trace inside a chip either holds an electrical charge (HIGH) or lacks it (LOW).

3. Logic Abstraction1 Bit
1
Binary Digit: '1' (Set / True)

Bit = Binary Digit. The smallest atom of information. It represents a single yes/no, on/off decision.

Key takeaway: A bit is the meaning we give to a two-state physical system. Whether it is a coin, a light switch, a magnetic polar domain on a hard drive, or 3.3 volts on a silicon trace—if it has two stable states, it can store exactly one bit.
1 Wire = 1 Bit at any instant in time. High voltage represents '1', Low voltage represents '0'.
1.5The Power of Combination

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.

Pedagogy: Slide 5Interactive Discovery

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.

Number of Bits (N):
Formula:2^3 = 8 States
1 bit8 bits
Interactive Binary Dials
Click any dial to toggle its state (0 ↔ 1)
Bit 2 (2^2)
Bit 1 (2^1)
Bit 0 (2^0)
Current Pattern: 000Decimal Value: 0 / 7
Complete State Matrix (8 Unique Possibilities)Click any state to set the lock dials
The Power of Exponential Scaling in Modern Computers
1 Bit (Single Wire)
2 States
0, 1 (True / False)
8 Bits (1 Byte)
256 States
ASCII characters, 256 colors
32 Bits (4 Bytes)
4.29 Billion
4GB RAM addressing limit
64 Bits (Modern CPU)
18.4 Quintillion
Virtually infinite address space
Formula: Total States = 2^N. 8 bits (1 Byte) gives 256 states, enough to encode every alphanumeric character on a keyboard.
1.6Positional Arithmetic

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.

Pedagogy: Slide 6Interactive Discovery

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.

Presets:
Type Decimal:
8-Bit Binary Byte Register
Click any column to flip bit (0 ↔ 1)
Positional Expansion:(0×128) + (0×64) + (0×32) + (0×16) + (1×8) + (0×4) + (1×2) + (1×1)
Active Sum:
8+2+1
Result:= 11(0x0B in Hex)
Base-10 (Decimal) Place Values

Every position to the left is multiplied by 10:

345 = (3 × 10²) + (4 × 10¹) + (5 × 10⁰) = 300 + 40 + 5
Base-2 (Binary) Place Values

Every position to the left is multiplied by 2:

00001011 = (1 × 2³) + (1 × 2¹) + (1 × 2⁰) = 8 + 2 + 1 = 11
Slide 6 Example: 00001011 = 8 + 2 + 1 = 11 in decimal.
1.7Meaning Through Context

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

Pedagogy: Slide 7Interactive Discovery

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.

The Natural Language Metaphor: Context Creates Meaning
🦇
Biology Context: “BAT”

A nocturnal flying mammal.

🏏
Sports Context: “BAT”

A wooden stick used to strike a ball.

The Physical Wire Bus (8 Bits)
Quick Presets:
Raw Binary Wire Pattern:01000001
1. Mathematics LensALU / Math
65
Hex: 0x41 | Octal: 0o101

The ALU multiplies column powers of 2 to treat the 8 wires as an unsigned integer value from 0 to 255.

2. Text (ASCII) LensDisplay / Font
"A"
ASCII Standard Code 65

The operating system uses the ASCII/Unicode lookup table to map code 65 to a typographic glyph on your screen.

3. Graphics LensGPU / Display
#414141
Luminance: 25%

A graphics processor interprets the 8 bits as a grayscale luminance shade or 8-bit color channel intensity.

4. CPU Opcode LensControl Unit
INC ECX
Opcode 0x41

Increment register ECX by 1 (x86) / INC R0 (8051)

The Great Hardware Insight: The wire carrying 3.3V or 0V does not “know” if it is carrying a letter 'A', an increment instruction, or a gray pixel. Hardware simply routes electrical charges through logic gates; software protocols assign the meaning.
Slide 7 Example: 01000001 represents the number 65, ASCII letter 'A', color #414141, or a CPU INC instruction.
Section 1 Master Takeaway

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.

1. Physical Reality
Continuous Voltage

Voltages fluctuate with noise and impedance along copper lines.

2. Noise Immunity
Threshold Bands

HIGH and LOW bands ignore minor analog voltage fluctuations.

3. Combinatorics
2ⁿ Exponential Scale

N wires provide 2ⁿ unique binary states (8 bits = 256 combinations).

4. Context
Multi-Lens Meaning

Hardware decoders assign meaning (text, numbers, colors, instructions).

The Next Question That Drives Us Forward

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