7 live labs · runs 100% in your browser

Electron21

Build circuits, emulate processors, analyse data and engineer ideas. The lab for electronics, computer engineering, data science and engineering.

Try:
0Interactive labs
0Build projects
0Engineering fields
0Installs needed
four fields, one lab

Pick a field. Start building.

Every field has its own labs, projects and cheat sheets. Click a card to jump straight to the right tools.

the electron

Meet the electron

Every circuit, chip and screen in this lab runs on one tiny particle. Here is what it is, how it behaves in a wire, and how it grew into the computer in your pocket.

Charge−1.602 × 10−19 CThe smallest free charge in everyday electronics. Symbol e⁻.
Mass9.109 × 10−31 kgAbout 1⁄1836 of a proton, so it is easy to push around.
Discovered1897By J. J. Thomson, while studying cathode rays at Cambridge.
In one ampere6.24 × 1018 per secondThat many electrons pass any point of the wire every second.
Fundamental particleSpin ½, no known partsIt is a lepton: not made of anything smaller that we have found.
Free electrons in copper8.5 × 1028 per m³About one free electron per copper atom, which is why copper conducts so well.

Electrons in a copper wire

Electrons per second—
Drift speed—
Time to drift 1 metre—

Each electron drifts very slowly, yet a lamp lights at once. The electric field travels along the wire at a large fraction of the speed of light and pushes every electron together, like water already filling a pipe.

Electron, proton, neutron

ParticleChargeMassWhere
Electron−19.11 × 10−31 kgAround the nucleus
Proton+11.673 × 10−27 kgIn the nucleus
Neutron01.675 × 10−27 kgIn the nucleus

Why it matters in electronics

  • Conductors (copper, silver, gold) have loosely held outer electrons that move freely.
  • Insulators (rubber, glass, plastic) hold their electrons tightly, so current cannot flow.
  • Semiconductors (silicon has 4 outer electrons) can be switched between the two. That is how a transistor works.
  • Conventional current is drawn from + to −, the opposite way to the electrons. Benjamin Franklin chose it more than a century before the electron was found, and every circuit diagram still uses it.
  • Electron volt (eV) is the energy of one electron moved through 1 volt: 1.602 × 10−19 J. Silicon needs about 1.12 eV to free an electron.

From one electron to your phone

  1. The electron is discoveredJ. J. Thomson shows that cathode rays are streams of tiny negative particles.
  2. The vacuum tubeJohn Ambrose Fleming invents the diode, the first device that controls the flow of electrons.
  3. The transistorBardeen, Brattain and Shockley build it at Bell Labs: a tiny switch with no glass tube and no hot filament.
  4. The integrated circuitJack Kilby puts several parts on one piece of semiconductor at Texas Instruments.
  5. The microprocessorIntel's 4004 packs about 2,300 transistors onto one chip. It was a 4-bit CPU, a small cousin of the 8-bit one in the CPU Emulator.
  6. Tens of billionsA modern processor holds tens of billions of transistors, each one switching electrons billions of times a second.

Try Ohm's law in the Circuit Lab Read the course lesson

the workbench

Seven labs. Zero installs.

Real simulators and emulators that run in your browser. Flip switches, write assembly, load a CSV. Nothing is uploaded; everything stays on your device.

Open the workbench on its own page

electron21 ~ logic-lab
Own page
A computer motherboard showing the processor socket, memory slots and expansion slots Free course · 24 lessons
theory + practice

Learn it in the course. Try it in the lab.

Our free Electronics for Beginners course has 5 modules and 24 lessons. Electron21 is its hands-on partner: the key lessons link straight to the lab that lets you try the idea yourself.

build something real

Projects you can actually build

Thirty step-by-step projects across all four fields, from a first blinking LED to a temperature-controlled fan and a crop-yield prediction model. Each lists the parts, the steps and what you will learn.

systems & cheat sheets

The cheat sheets engineers keep open

Compact references for formulas, components, protocols and workflows.

Ohm's law & power
FindFormula
Voltage VV = I × R
Current II = V ÷ R
Resistance RR = V ÷ I
Power PP = V × I = I²R = V²/R
SeriesR = R1 + R2 + …
Parallel1/R = 1/R1 + 1/R2 + …
DividerVout = Vin × R2 ÷ (R1 + R2)
RC time constantτ = R × C
Boolean algebra & gates
LawExpression
IdentityA·1 = A   A+0 = A
NullA·0 = 0   A+1 = 1
ComplementA·A' = 0   A+A' = 1
De Morgan(A·B)' = A'+B'   (A+B)' = A'·B'
AbsorptionA + A·B = A
XORA⊕B = A·B' + A'·B

NAND and NOR are universal gates: any digital circuit can be built from either one alone.

Common components
PartJob
Resistorlimits current, sets voltages
Capacitorstores charge, smooths and filters
Diode / LEDcurrent flows one way (LED also lights)
Transistora switch or amplifier controlled by a small signal
555 timermakes pulses and delays
Op-ampamplifies the difference between two inputs
Microcontrollertiny computer: reads sensors, drives outputs
UART, I²C and SPI
UARTI²CSPI
Wires2 (TX, RX)2 (SDA, SCL)4+ (MOSI, MISO, SCK, CS)
Devicespoint to pointmany, by addressmany, one CS each
Speedslow to medium100 k–400 kHz+fastest (MHz)
Clocknone (async)sharedshared
Typical useGPS, serial consolesensors, OLEDSD card, displays
Number systems
DecBinHexDecBinHex
000000810008
100011910019
200102101010A
300113111011B
401004121100C
501015131101D
601106141110E
701117151111F

Two's complement: to negate, invert all bits and add 1. In 8 bits, 11111111 = −1.

Data science workflow
  1. Ask a clear question.
  2. Collect data, with permission.
  3. Clean: fix missing values, duplicates, units.
  4. Explore: summary stats and charts.
  5. Model: start simple (average, then regression).
  6. Validate on data the model has not seen.
  7. Communicate findings and their limits.
Engineering design process
  1. Define the problem and constraints (cost, time, safety).
  2. Research existing solutions.
  3. Brainstorm several ideas, then choose one.
  4. Prototype a small version.
  5. Test against clear measurements.
  6. Improve and repeat. Iteration is the method.
Lab safety rules
  • Use batteries or low-voltage USB (5 V). Never experiment with mains electricity.
  • Work with an adult when using a soldering iron, hot glue or tools.
  • Never short-circuit a battery, especially lithium cells.
  • Always add a resistor in series with an LED.
  • Disconnect power before changing wiring.