Open the simulator

Parts reference

All 83 parts, with what they do, their pins and the values you can change.

Descriptions are the same ones you see in the simulator when you click a part. Parts marked 3D only exist only on the 3D workbench.

Sources#

Power source

Supplies a fixed voltage that pushes current around the loop.

A power source keeps a constant voltage difference between its two terminals: a bench supply, or an ideal battery. It is ideal: the voltage stays fixed no matter how much current the circuit draws, and it never runs down. For a battery that sags, drains and recovers, use Real battery.

V = constant (ideal source)

Pins
+, − (+ positive terminal (higher voltage) · − negative terminal)
Values
Voltage (V)

Real battery

A real battery: a standard size and chemistry that drains as it is used.

Pick a real battery type (AAA, AA, C, D, 9 V, coin cells, NiMH, 18650, LiPo, lead-acid) and it behaves like one: it has a capacity in mAh that it loses as current flows, an internal resistance that makes its voltage sag under load, and a discharge curve (an alkaline cell falls steadily from 1.6 V to 0.8 V, NiMH holds near 1.2 V then drops, lithium stays flat then falls). Real batteries are too slow to watch, so raise the drain speed to see one run flat. Rechargeable types charge back up if current is pushed into them.

V = open-circuit voltage(charge) − I × R internal; charge −= I × t ÷ capacity

Pins
+, − (+ positive terminal · − negative terminal)
Values
Type, Charge, Drain speed, Voltage (V), Capacity (mAh), Internal resistance (Ω)

Ground

The 0 V reference every circuit needs.

Ground is the common reference point (0 V) that all other voltages are measured against. The simulator needs at least one ground to solve the circuit. All grounds are connected together.

V(ground) = 0 V

Pins
GND (GND reference node)

Signal generator

Voltage source that changes over time.

A signal generator produces a square, sine or triangle wave at the frequency you choose. Use it as a clock for the flip-flops and counter, or to see how capacitors and inductors respond to changing signals.

V(t) = A · wave(2π·f·t)

Pins
+, − (+ output · − return (connect to ground))
Values
Waveform, Frequency (Hz), Amplitude (V), Output

Passive#

Terminal block

Joins several wires into one connection (a terminal block).

A terminal block, also called a distribution strip, is a row of screw ports that are all connected together inside. Whatever you wire into any port is joined to every other port. It does nothing else: use it to split one wire into many, or to collect several wires in one place.

all ports at the same voltage (0 Ω between them)

Pins
1, 2, 3, 4, 5, 6 (1-6 six ports, all the same connection)

Resistor

Limits current. Coloured bands encode its value.

A resistor opposes the flow of current. It is used to protect parts such as LEDs, to divide voltages and to set time constants. The coloured bands on the body encode its resistance.

V = I × R · P = I² × R

Pins
A, B (A and B are interchangeable)
Values
Resistance (Ω), Power rating (W)

Potentiometer

Adjustable resistor with a sliding contact (wiper).

A potentiometer is a resistor with a movable contact. Used as a voltage divider it gives any voltage between its two ends; used with two pins it is a variable resistor (volume knobs, dimmers).

V(wiper) = Vin × R₂ / (R₁ + R₂)

Pins
A, B, W (A and B ends of the track · W wiper (moves along the track))
Values
Resistance (Ω), Wiper

Fuse

Protects a circuit: melts and cuts the current if it is too big.

A fuse is a deliberately weak link. It is a thin wire that carries its rated current all day, but melts when the current is too high for too long, opening the circuit before something else burns. The bigger the overload, the faster it blows. A blown fuse stays open until you replace it (press Stop and Run again).

blows when the heat ∫((I / I_rating)² − 1) dt reaches 1 s · 2 × rating: about 0.3 s, 10 ×: a few ms

Pins
A, B (A and B are interchangeable)
Values
Current rating (A)

Capacitor

Stores charge; charges and discharges gradually.

A capacitor stores energy in an electric field. Through a resistor it charges along an exponential curve and, once full, blocks steady DC. Watch its graph while you open and close a switch.

τ = R × C · Vc(t) = Vs × (1 − e^(−t/τ))

Pins
+, − (+ positive leg (longer, polarised) · − negative leg (striped side))
Values
Capacitance (F), Voltage rating (V)

Inductor

Coil that resists changes in current.

An inductor stores energy in a magnetic field. Current through it cannot change instantly: with a resistor it rises exponentially, and it acts like a plain wire for steady DC.

V = L·dI/dt · τ = L / R

Pins
A, B (A and B are interchangeable)
Values
Inductance (H)

Photoresistor (LDR)

Resistor whose value drops in bright light.

A light-dependent resistor has a high resistance in the dark (about 1 MΩ) that falls to around 1 kΩ in bright light. Slide the light level in the panel. Use it in a voltage divider to build a light sensor.

R ≈ 1 MΩ (dark) … 1 kΩ (bright)

Pins
A, B (A and B are interchangeable)
Values
Light level

Semiconductors#

Diode (1N4148)

One-way valve for current (silicon, drops ~0.7 V).

A diode lets current flow from anode to cathode and blocks it the other way. Silicon diodes drop about 0.7 V when conducting. Used for rectifying AC, protecting circuits from reverse polarity and steering current.

I = Is·(e^(V/nVt) − 1) · Vf ≈ 0.7 V

Pins
A, K (A anode (+) · K cathode (stripe side))
Values
Junction capacitance (0 = ignore) (pF)

Zener diode

Diode that conducts backwards at a set voltage.

A Zener diode behaves like a normal diode forwards, but when reverse-biased beyond its Zener voltage it conducts and clamps the voltage there. Use it with a series resistor as a simple voltage reference or limiter.

Vout ≈ Vz when reverse biased above Vz

Pins
A, K (A anode · K cathode (stripe). Wire K to the positive side to regulate.)
Values
Zener voltage (V), Junction capacitance (0 = ignore) (pF)

NPN transistor

Current-controlled switch / amplifier (NPN).

A small base current lets a much larger collector current flow to the emitter. Used as an electronic switch (base driven hard) or an amplifier. The base-emitter junction needs about 0.7 V to turn on.

Ic = β × Ib (active region) · Vbe ≈ 0.7 V

Pins
B, C, E (B base (control) · C collector · E emitter (to ground))
Values
Gain (β), Early voltage VAF (0 = ideal) (V), Base–emitter capacitance (0 = ignore) (pF), Base–collector capacitance (0 = ignore) (pF)

PNP transistor

Current-controlled switch (PNP, opposite polarity).

Like an NPN with every polarity reversed: it conducts from emitter to collector when the base is pulled about 0.7 V below the emitter. Typically used on the positive side of a load.

Ic = β × Ib · Veb ≈ 0.7 V

Pins
B, C, E (B base · C collector · E emitter (to +V))
Values
Gain (β), Early voltage VAF (0 = ideal) (V), Base–emitter capacitance (0 = ignore) (pF), Base–collector capacitance (0 = ignore) (pF)

N-MOSFET

Voltage-controlled switch (N-channel MOSFET).

The gate voltage, not current, controls the channel. When Vgs rises above the threshold the drain-source path conducts. The gate draws no steady current, so it is great for switching loads from logic signals.

Id = k/2·(Vgs − Vth)² (saturation) · off when Vgs < Vth

Pins
G, D, S (G gate · D drain (to load) · S source (to ground))
Values
Threshold (Vth) (V), Gain (k) (A/V²), Gate–source capacitance (0 = ignore) (pF), Gate–drain capacitance (0 = ignore) (pF)

P-MOSFET

Voltage-controlled switch (P-channel MOSFET).

The P-channel mirror of the N-MOSFET: it turns on when the gate is more than the threshold below the source. Normally used to switch the positive side of a load.

on when Vsg > |Vth|

Pins
G, D, S (G gate · D drain (to load) · S source (to +V))
Values
Threshold (|Vth|) (V), Gain (k) (A/V²), Gate–source capacitance (0 = ignore) (pF), Gate–drain capacitance (0 = ignore) (pF)

Logic gates#

NOT gate (inverter)

Inverter: output is the opposite of the input.

A NOT gate outputs HIGH when its input is LOW and vice versa. Inputs above half the supply count as HIGH. The output can supply a little current, so an LED needs a resistor.

Y = NOT A

Pins
A, Y (A input · Y output. Powered internally (set Vcc in the panel).)
Values
Supply (Vcc) (V)

AND gate

Output HIGH only when both inputs are HIGH.

The AND gate outputs HIGH only if A and B are both HIGH. Inputs left unconnected read LOW. Powered internally at the supply voltage you choose.

Y = A · B

Pins
A, B, Y (A, B inputs · Y output)
Values
Supply (Vcc) (V)

OR gate

Output HIGH when either input is HIGH.

The OR gate outputs HIGH if A or B (or both) are HIGH.

Y = A + B

Pins
A, B, Y (A, B inputs · Y output)
Values
Supply (Vcc) (V)

NAND gate

AND followed by NOT — the universal gate.

A NAND gate is LOW only when both inputs are HIGH. Any other logic function can be built from NAND gates alone.

Y = NOT (A · B)

Pins
A, B, Y (A, B inputs · Y output)
Values
Supply (Vcc) (V)

NOR gate

OR followed by NOT — also universal.

A NOR gate is HIGH only when both inputs are LOW. Two cross-coupled NOR gates make an SR latch (memory).

Y = NOT (A + B)

Pins
A, B, Y (A, B inputs · Y output)
Values
Supply (Vcc) (V)

XOR gate

Output HIGH when the inputs differ.

The exclusive-OR gate is HIGH when exactly one input is HIGH. It is the heart of binary adders.

Y = A ⊕ B

Pins
A, B, Y (A, B inputs · Y output)
Values
Supply (Vcc) (V)

XNOR gate

Output HIGH when the inputs match.

XNOR is the inverse of XOR: HIGH when both inputs are equal. Used as an equality comparator.

Y = NOT (A ⊕ B)

Pins
A, B, Y (A, B inputs · Y output)
Values
Supply (Vcc) (V)

Logic ICs (74xx)#

74HC00 Quad 2-input NAND

74HC00: Quad 2-input NAND (DIP-14).

4 independent quad 2-input nand in one chip. Power: pin 14 = VCC, pin 7 = GND. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (14) to the supply and GND (7) to ground — an unpowered chip does nothing. Unconnected inputs read LOW.

74HC00 · DIP-14 · VCC = pin 14, GND = pin 7

Pins
1A, 1B, 1Y, 2A, 2B, 2Y, GND, 3Y, 3A, 3B, 4Y, 4A, 4B, VCC (1 1A · 2 1B · 3 1Y · 4 2A · 5 2B · 6 2Y · 7 GND · 8 3Y · 9 3A · 10 3B · 11 4Y · 12 4A · 13 4B · 14 VCC)

74HC02 Quad 2-input NOR

74HC02: Quad 2-input NOR (DIP-14).

4 independent quad 2-input nor in one chip. Power: pin 14 = VCC, pin 7 = GND. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (14) to the supply and GND (7) to ground — an unpowered chip does nothing. Unconnected inputs read LOW.

74HC02 · DIP-14 · VCC = pin 14, GND = pin 7

Pins
1Y, 1A, 1B, 2Y, 2A, 2B, GND, 3A, 3B, 3Y, 4A, 4B, 4Y, VCC (1 1Y · 2 1A · 3 1B · 4 2Y · 5 2A · 6 2B · 7 GND · 8 3A · 9 3B · 10 3Y · 11 4A · 12 4B · 13 4Y · 14 VCC)

74HC04 Hex inverter (NOT)

74HC04: Hex inverter (NOT) (DIP-14).

6 independent hex inverter (not) in one chip. Power: pin 14 = VCC, pin 7 = GND. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (14) to the supply and GND (7) to ground — an unpowered chip does nothing. Unconnected inputs read LOW.

74HC04 · DIP-14 · VCC = pin 14, GND = pin 7

Pins
1A, 1Y, 2A, 2Y, 3A, 3Y, GND, 4Y, 4A, 5Y, 5A, 6Y, 6A, VCC (1 1A · 2 1Y · 3 2A · 4 2Y · 5 3A · 6 3Y · 7 GND · 8 4Y · 9 4A · 10 5Y · 11 5A · 12 6Y · 13 6A · 14 VCC)

74HC08 Quad 2-input AND

74HC08: Quad 2-input AND (DIP-14).

4 independent quad 2-input and in one chip. Power: pin 14 = VCC, pin 7 = GND. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (14) to the supply and GND (7) to ground — an unpowered chip does nothing. Unconnected inputs read LOW.

74HC08 · DIP-14 · VCC = pin 14, GND = pin 7

Pins
1A, 1B, 1Y, 2A, 2B, 2Y, GND, 3Y, 3A, 3B, 4Y, 4A, 4B, VCC (1 1A · 2 1B · 3 1Y · 4 2A · 5 2B · 6 2Y · 7 GND · 8 3Y · 9 3A · 10 3B · 11 4Y · 12 4A · 13 4B · 14 VCC)

74HC10 Triple 3-input NAND

74HC10: Triple 3-input NAND (DIP-14).

3 independent triple 3-input nand in one chip. Power: pin 14 = VCC, pin 7 = GND. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (14) to the supply and GND (7) to ground — an unpowered chip does nothing. Unconnected inputs read LOW.

74HC10 · DIP-14 · VCC = pin 14, GND = pin 7

Pins
1A, 1B, 2A, 2B, 2C, 2Y, GND, 3Y, 3A, 3B, 3C, 1Y, 1C, VCC (1 1A · 2 1B · 3 2A · 4 2B · 5 2C · 6 2Y · 7 GND · 8 3Y · 9 3A · 10 3B · 11 3C · 12 1Y · 13 1C · 14 VCC)

74HC20 Dual 4-input NAND

74HC20: Dual 4-input NAND (DIP-14).

2 independent dual 4-input nand in one chip. Power: pin 14 = VCC, pin 7 = GND. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (14) to the supply and GND (7) to ground — an unpowered chip does nothing. Unconnected inputs read LOW.

74HC20 · DIP-14 · VCC = pin 14, GND = pin 7

Pins
1A, 1B, NC, 1C, 1D, 1Y, GND, 2Y, 2A, 2B, NC, 2C, 2D, VCC (1 1A · 2 1B · 3 NC · 4 1C · 5 1D · 6 1Y · 7 GND · 8 2Y · 9 2A · 10 2B · 11 NC · 12 2C · 13 2D · 14 VCC)

74HC32 Quad 2-input OR

74HC32: Quad 2-input OR (DIP-14).

4 independent quad 2-input or in one chip. Power: pin 14 = VCC, pin 7 = GND. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (14) to the supply and GND (7) to ground — an unpowered chip does nothing. Unconnected inputs read LOW.

74HC32 · DIP-14 · VCC = pin 14, GND = pin 7

Pins
1A, 1B, 1Y, 2A, 2B, 2Y, GND, 3Y, 3A, 3B, 4Y, 4A, 4B, VCC (1 1A · 2 1B · 3 1Y · 4 2A · 5 2B · 6 2Y · 7 GND · 8 3Y · 9 3A · 10 3B · 11 4Y · 12 4A · 13 4B · 14 VCC)

74HC86 Quad 2-input XOR

74HC86: Quad 2-input XOR (DIP-14).

4 independent quad 2-input xor in one chip. Power: pin 14 = VCC, pin 7 = GND. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (14) to the supply and GND (7) to ground — an unpowered chip does nothing. Unconnected inputs read LOW.

74HC86 · DIP-14 · VCC = pin 14, GND = pin 7

Pins
1A, 1B, 1Y, 2A, 2B, 2Y, GND, 3Y, 3A, 3B, 4Y, 4A, 4B, VCC (1 1A · 2 1B · 3 1Y · 4 2A · 5 2B · 6 2Y · 7 GND · 8 3Y · 9 3A · 10 3B · 11 4Y · 12 4A · 13 4B · 14 VCC)

74HC74 Dual D flip-flop

74HC74: Dual D flip-flop (DIP-14).

Q takes D on the rising clock edge. PRE (low) forces Q = 1, CLR (low) forces Q = 0. Tie unused PRE / CLR to VCC. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (14) to the supply and GND (7) to ground — an unpowered chip does nothing. Unconnected inputs read LOW (except active-low controls, which have weak pull-ups like TTL inputs).

74HC74 · DIP-14 · VCC = pin 14, GND = pin 7

Pins
1CLR, 1D, 1CLK, 1PRE, 1Q, 1Q̄, GND, 2Q̄, 2Q, 2PRE, 2CLK, 2D, 2CLR, VCC (1 1CLR · 2 1D · 3 1CLK · 4 1PRE · 5 1Q · 6 1Q̄ · 7 GND · 8 2Q̄ · 9 2Q · 10 2PRE · 11 2CLK · 12 2D · 13 2CLR · 14 VCC)

74HC76 Dual JK flip-flop

74HC76: Dual JK flip-flop (DIP-16).

On the falling clock edge: J K = 00 hold, 10 set, 01 reset, 11 toggle. PRE / CLR (low) act immediately. Tie unused PRE / CLR to VCC. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (5) to the supply and GND (13) to ground — an unpowered chip does nothing. Unconnected inputs read LOW (except active-low controls, which have weak pull-ups like TTL inputs).

74HC76 · DIP-16 · VCC = pin 5, GND = pin 13

Pins
1CLK, 1PRE, 1CLR, 1J, VCC, 2CLK, 2PRE, 2CLR, 2J, 2Q̄, 2Q, 2K, GND, 1Q̄, 1Q, 1K (1 1CLK · 2 1PRE · 3 1CLR · 4 1J · 5 VCC · 6 2CLK · 7 2PRE · 8 2CLR · 9 2J · 10 2Q̄ · 11 2Q · 12 2K · 13 GND · 14 1Q̄ · 15 1Q · 16 1K)

74HC138 3-to-8 line decoder

74HC138: 3-to-8 line decoder (DIP-16).

The binary number on C B A selects one output (Y0…Y7) and pulls it LOW; all others stay HIGH. Works only when G1 = 1 and G2A = G2B = 0. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (16) to the supply and GND (8) to ground — an unpowered chip does nothing. Unconnected inputs read LOW (except active-low controls, which have weak pull-ups like TTL inputs).

74HC138 · DIP-16 · VCC = pin 16, GND = pin 8

Pins
A, B, C, G2A̅, G2B̅, G1, Y7̅, GND, Y6̅, Y5̅, Y4̅, Y3̅, Y2̅, Y1̅, Y0̅, VCC (1 A · 2 B · 3 C · 4 G2A̅ · 5 G2B̅ · 6 G1 · 7 Y7̅ · 8 GND · 9 Y6̅ · 10 Y5̅ · 11 Y4̅ · 12 Y3̅ · 13 Y2̅ · 14 Y1̅ · 15 Y0̅ · 16 VCC)

74HC139 Dual 2-to-4 decoder / demux

74HC139: Dual 2-to-4 decoder / demux (DIP-16).

With G = 0 the number on B A pulls one output LOW. Used as a demultiplexer: feed the data into G — the selected output follows it (inverted). The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (16) to the supply and GND (8) to ground — an unpowered chip does nothing. Unconnected inputs read LOW (except active-low controls, which have weak pull-ups like TTL inputs).

74HC139 · DIP-16 · VCC = pin 16, GND = pin 8

Pins
1G̅, 1A, 1B, 1Y0̅, 1Y1̅, 1Y2̅, 1Y3̅, GND, 2Y3̅, 2Y2̅, 2Y1̅, 2Y0̅, 2B, 2A, 2G̅, VCC (1 1G̅ · 2 1A · 3 1B · 4 1Y0̅ · 5 1Y1̅ · 6 1Y2̅ · 7 1Y3̅ · 8 GND · 9 2Y3̅ · 10 2Y2̅ · 11 2Y1̅ · 12 2Y0̅ · 13 2B · 14 2A · 15 2G̅ · 16 VCC)

74HC153 Dual 4-to-1 multiplexer

74HC153: Dual 4-to-1 multiplexer (DIP-16).

The number on B A picks which of the four inputs C0…C3 appears at Y (G = 0 enables the half). Both halves share A and B. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (16) to the supply and GND (8) to ground — an unpowered chip does nothing. Unconnected inputs read LOW (except active-low controls, which have weak pull-ups like TTL inputs).

74HC153 · DIP-16 · VCC = pin 16, GND = pin 8

Pins
1G̅, B, 1C3, 1C2, 1C1, 1C0, 1Y, GND, 2Y, 2C0, 2C1, 2C2, 2C3, A, 2G̅, VCC (1 1G̅ · 2 B · 3 1C3 · 4 1C2 · 5 1C1 · 6 1C0 · 7 1Y · 8 GND · 9 2Y · 10 2C0 · 11 2C1 · 12 2C2 · 13 2C3 · 14 A · 15 2G̅ · 16 VCC)

74HC151 8-to-1 multiplexer

74HC151: 8-to-1 multiplexer (DIP-16).

The number on C B A picks which data input D0…D7 appears at Y (Ȳ is its inverse). G = 0 enables the chip. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (16) to the supply and GND (8) to ground — an unpowered chip does nothing. Unconnected inputs read LOW (except active-low controls, which have weak pull-ups like TTL inputs).

74HC151 · DIP-16 · VCC = pin 16, GND = pin 8

Pins
D3, D2, D1, D0, Y, Ȳ, G̅, GND, C, B, A, D7, D6, D5, D4, VCC (1 D3 · 2 D2 · 3 D1 · 4 D0 · 5 Y · 6 Ȳ · 7 G̅ · 8 GND · 9 C · 10 B · 11 A · 12 D7 · 13 D6 · 14 D5 · 15 D4 · 16 VCC)

CD4511 BCD to 7-segment decoder

CD4511: BCD to 7-segment decoder (DIP-16).

The 4-bit number D C B A (0–9) lights segments a–g (active HIGH, common-cathode display). 10–15 blank. LT = 0 lights all segments, BI = 0 blanks, LE = 1 freezes the last digit. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (16) to the supply and GND (8) to ground — an unpowered chip does nothing. Unconnected inputs read LOW (except active-low controls, which have weak pull-ups like TTL inputs).

CD4511 · DIP-16 · VCC = pin 16, GND = pin 8

Pins
B, C, LT̅, BI̅, LE, D, A, GND, e, d, c, b, a, g, f, VCC (1 B · 2 C · 3 LT̅ · 4 BI̅ · 5 LE · 6 D · 7 A · 8 GND · 9 e · 10 d · 11 c · 12 b · 13 a · 14 g · 15 f · 16 VCC)

74HC161 4-bit binary counter

74HC161: 4-bit binary counter (DIP-16).

Counts 0…15 on each rising clock edge while CEP = CET = 1. PE = 0 loads P0…P3 on the next clock, MR = 0 clears at once. TC goes high at 15. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (16) to the supply and GND (8) to ground — an unpowered chip does nothing. Unconnected inputs read LOW (except active-low controls, which have weak pull-ups like TTL inputs).

74HC161 · DIP-16 · VCC = pin 16, GND = pin 8

Pins
MR̅, CP, P0, P1, P2, P3, CEP, GND, PE̅, CET, Q3, Q2, Q1, Q0, TC, VCC (1 MR̅ · 2 CP · 3 P0 · 4 P1 · 5 P2 · 6 P3 · 7 CEP · 8 GND · 9 PE̅ · 10 CET · 11 Q3 · 12 Q2 · 13 Q1 · 14 Q0 · 15 TC · 16 VCC)

74HC595 8-bit shift register

74HC595: 8-bit shift register (DIP-16).

Each rising SRCLK edge shifts SER into the register. A rising RCLK edge copies it to the outputs QA…QH. OE = 1 switches the outputs off. SRCLR = 0 clears the register. The package is drawn like the real chip: pin 1 is at the top-left, the pins count down the left side and back up the right side. Connect VCC (16) to the supply and GND (8) to ground — an unpowered chip does nothing. Unconnected inputs read LOW (except active-low controls, which have weak pull-ups like TTL inputs).

74HC595 · DIP-16 · VCC = pin 16, GND = pin 8

Pins
QB, QC, QD, QE, QF, QG, QH, GND, QH', SRCLR̅, SRCLK, RCLK, OE̅, SER, QA, VCC (1 QB · 2 QC · 3 QD · 4 QE · 5 QF · 6 QG · 7 QH · 8 GND · 9 QH' · 10 SRCLR̅ · 11 SRCLK · 12 RCLK · 13 OE̅ · 14 SER · 15 QA · 16 VCC)

Digital ICs#

D flip-flop

Remembers one bit, captured on the clock edge.

On each rising edge of CLK the D flip-flop copies D to Q and holds it until the next edge. Connect Q̄ back to D to divide the clock by two. Feed it from a signal generator.

Q(next) = D at CLK ↑

Pins
D, CLK, Q, Q̄ (D data · CLK clock · Q output · Q̄ inverted output)
Values
Supply (Vcc) (V)

JK flip-flop

Flip-flop that can set, reset or toggle.

On a rising clock edge: J=1,K=0 sets Q, J=0,K=1 clears it, J=1,K=1 toggles it, J=0,K=0 holds. Tie J and K HIGH to make a toggle (divide-by-2) stage.

Q(next) = J·Q̄ + K̄·Q at CLK ↑

Pins
J, CLK, K, Q, Q̄ (J, K inputs · CLK clock · Q, Q̄ outputs)
Values
Supply (Vcc) (V)

4-bit counter

Counts clock pulses in binary (0–15).

A 4-bit binary counter increments on every rising clock edge and wraps from 15 back to 0. RST HIGH clears it. Q0 is the least significant bit. Great for driving LEDs as a binary display.

count = Q3Q2Q1Q0 (binary), +1 at CLK ↑

Pins
CLK, RST, Q0, Q1, Q2, Q3 (CLK clock · RST clear (active HIGH) · Q0…Q3 outputs)
Values
Supply (Vcc) (V)

Analog ICs#

555 timer

Classic timer IC: oscillator / one-shot.

The 555 compares the THR pin to ⅔ and the TRIG pin to ⅓ of the supply with an internal flip-flop. Wired with two resistors and a capacitor it makes a free-running oscillator (astable) that flashes an LED.

astable: f ≈ 1.44 / ((R1 + 2·R2)·C)

Pins
GND, TRIG, OUT, RESET, CTRL, THR, DIS, VCC (GND · TRIG · OUT · RESET (HIGH = run) · CTRL · THR · DIS · VCC)

Op-amp

Very high-gain amplifier of a voltage difference.

The op-amp multiplies the difference between its inputs by a huge gain, limited to its supply rails (set ± in the panel). With negative feedback it becomes a precise amplifier, buffer or comparator.

Vout = A·(V+ − V−), limited to ±rail · inverting: Gain = −Rf/Rin

Pins
IN+, IN−, OUT (IN+ non-inverting · IN− inverting · OUT output)
Values
Supply rails (±) (V)

Sensors#

NTC thermistor

Thermistor: resistance falls as it gets hotter.

A negative-temperature-coefficient thermistor. Its resistance drops steeply as the temperature rises: R = R25 · e^(B·(1/T − 1/298 K)). It follows the ambient temperature (set it in the empty-canvas panel, or switch it to “by hand” and drag its own slider) and warms up a little from its own current. Use it in a voltage divider to turn temperature into a voltage.

R = R25 · exp(B · (1/T − 1/T25)) · self-heating ≈ P / 5 mW per °C

Pins
A, B (A, B the two legs (not polarised))
Values
Resistance at 25 °C (Ω), Beta (B) (K), Temperature, Temperature (°C)

TMP36 temperature sensor

Analog temperature sensor, 10 mV per °C.

The TMP36 gives an output voltage that is proportional to temperature: Vout = 0.5 V + 10 mV × T(°C), so 0.75 V at 25 °C. It needs a supply of 2.7 V or more between +Vs and GND (5 V from an Arduino, 3.3 V from a Pico). Read it with an analog pin: T = (Vout − 0.5) × 100.

Vout = 0.5 V + 0.01 V/°C · T

Pins
+Vs, Vout, GND (+Vs supply (2.7–5.5 V) · Vout · GND)
Values
Temperature, Temperature (°C)

LM35 temperature sensor

Analog temperature sensor, 10 mV per °C from 0 °C.

The LM35 outputs 10 mV per °C starting from 0 V at 0 °C: Vout = 10 mV × T(°C) (250 mV at 25 °C). It needs about 4 V or more on +Vs, and it cannot show temperatures below 0 °C with a single supply. Read it with an analog pin: T = Vout × 100.

Vout = 0.01 V/°C · T

Pins
+Vs, Vout, GND (+Vs supply (4–30 V) · Vout · GND)
Values
Temperature, Temperature (°C)

Output#

LED

Light-emitting diode: conducts one way and glows.

An LED passes current only from anode to cathode and glows brighter with more current. It drops about 2 V (colour dependent) and burns out if the current is not limited, so always add a series resistor.

R = (Vsupply − Vf) / I (aim for ~10–20 mA)

Pins
A, K (A anode (long leg, +) · K cathode (short leg, flat side))
Values
Colour

Light bulb

Filament lamp: glows as it heats, brightness follows power.

A filament bulb is basically a resistor that gets so hot it glows. The more power it dissipates, the brighter it shines. It works in either direction.

P = V × I = V² / R

Pins
A, B (A and B are interchangeable)
Values
Resistance (Ω)

7-segment display

Seven LEDs shaped like a digit (common cathode).

Each segment a–g is an LED whose anode is a pin; all cathodes share COM. Connect COM to ground and drive a segment through a resistor to light it. Light different combinations to show digits.

each segment: I = (Vin − Vf) / R

Pins
a, b, c, d, e, f, g, COM (a…g segment anodes · COM common cathode (to ground))

Control#

Switch

Opens or closes the circuit. Click it to toggle.

A switch either connects its two pins (closed, current can flow) or disconnects them (open, no current). Click it on the canvas, even while the simulation is running.

Closed ≈ 0 Ω · Open ≈ ∞ Ω

Pins
A, B (A and B are interchangeable)
Values
State

Meters#

Voltmeter

Measures voltage. Connect it in parallel.

A voltmeter reads the voltage between its two pins. It has a very high resistance (10 MΩ) so it hardly disturbs the circuit. Connect it across the part you want to measure.

reading = V(+) − V(−)

Pins
+, − (+ red probe · − black probe)

Ammeter

Measures current. Connect it in series.

An ammeter reads the current flowing through it, so it must be placed in the path of the current. It has almost zero resistance so it does not change the circuit.

reading = current flowing + → −

Pins
+, − (+ current enters · − current leaves)

Oscilloscope

Oscilloscope: shows voltages over time on up to four channels.

Connect a probe (CH1–CH4) to any point of the circuit and the GND pin to ground (or leave GND open to measure against the circuit ground). The panel at the bottom of the canvas is the instrument: choose volts and time per division, AC or DC coupling, move each trace up or down, and set the trigger (channel, rising or falling edge, level, Auto / Normal / Single) so a repeating signal stands still. Cursors A and B read time, frequency and voltage differences; the table gives Vpp, Vmax, Vmin, Vavg, Vrms, frequency, period and duty cycle. Stop freezes the picture, CSV saves the visible samples. The solver takes 5000 samples per simulated second, so signals up to about 500 Hz look clean. Each probe has a 1 MΩ input resistance, like a real scope.

Vch = V(probe) − V(GND pin) · 5 kS/s · 10 divisions across, 8 up

Pins
CH1, CH2, CH3, CH4, GND (CH1–CH4 probes · GND reference)

Motors#

DC motor

DC motor with a bare shaft: snap a gearbox, pinion or propeller onto it.

A brushed DC motor with real physics. Electrically it is a winding resistance, a small inductance and a back-EMF that grows with speed (V = I·R + L·dI/dt + Ke·ω). The torque Kt·I turns the rotor against friction and whatever is on the shaft. Pick a real motor type and it presets the values: a hobby 130-size motor, an N20 micro motor, a coreless motor (tiny inertia, spins up in milliseconds), a TT gear motor (built-in 1:48 gearbox: 9600 rpm in, 200 rpm out) or a micro metal gearmotor (1:100), or a coin vibration motor with its eccentric weight. The bare motor spins freely (just the rotor’s own inertia). Drag an attachment onto the shaft (the right-hand end, where the red mark turns) and it snaps on and travels with the motor: a <b>Gearbox</b> (ratio, worm or spur, and a load: fan, flywheel or a lift), a <b>Pinion</b> that drives a train of gears on a mounting plate, or a <b>Propeller</b> straight on the shaft. One attachment fits the shaft at a time; pull it off and the motor is bare again. Too heavy a load, or a jammed train, stalls the motor; the winding heats up and burns out after a few seconds. Reverse the voltage to turn the other way.

V = I·R + L·dI/dt + Ke·ω · J·dω/dt = Kt·I − friction − load · Kt = Ke = Vrated / ω(no-load)

Pins
+, − (+, − motor terminals (positive voltage on + turns the shaft clockwise seen from the shaft end, and raises a lift))
Values
Motor type (presets the values below), Rated voltage (V), No-load speed (motor, before any built-in gearing) (rpm), Winding resistance (Ω)

Gearbox

Snap-on gearbox: trades speed for torque and carries a fan, flywheel or lift.

Slide it onto the shaft of a DC motor. The gearbox trades speed for torque (ratio N: output speed ÷ N, torque × N, 80 % efficient). Its output shaft carries a load: a fan (drag grows with speed²), a flywheel, or a lift: a winch drum raises a payload against gravity, with end stops at the top and bottom. A worm gear is self-locking, so the payload stays put when the power is off; a spur gear lets it fall. It has no electrical pins; the motor’s + and − do the wiring.

ω_out = ω_motor / N · τ_out = τ_motor · N · η (η = 0.8) · payload torque = m · g · r_drum

Pins
none: it only takes part in the physics
Values
Gear ratio (motor turns per output turn) (: 1), Gear type, Load on the output shaft, Lift payload (kg), Winch drum radius (mm), Lift travel (cm), Fan: blade diameter (cm), Fan: blade pitch (cm), Fan: number of blades

Pinion

Snap-on pinion: the motor drives the gear train through it.

Put it on the shaft of a DC motor and stand the shaft in a hole of a mounting plate. The pinion meshes with every spur gear at the same level whose axle is exactly a sum of pitch radii away (12 + 36 teeth: 12 holes apart) and so drives the whole train, with the inertia and loads of every gear in it. A jammed train stalls the motor.

ω_gear = −ω_motor · z_pinion / z_gear · J reflected to the motor = J · (ω/ω_motor)²

Pins
none: it only takes part in the physics
Values
Pinion teeth

Propeller

Snap-on propeller: blades straight on the motor shaft.

Direct drive: the propeller turns at the speed of the motor (no gearbox). Its thrust, air speed and the torque it asks of the motor come from the real propeller equations (blade diameter, pitch, number of blades, air density); drag grows with speed², so a bigger or steeper propeller loads the motor harder and slows it.

T = C_T ρ n² D⁴ · P = C_P ρ n³ D⁵ · v = air speed through the disc

Pins
none: it only takes part in the physics
Values
Blade diameter (cm), Blade pitch (cm), Number of blades

Servo motor

Hobby servo: the pulse width on SIG sets the angle (or the speed).

A hobby servo (SG90 or MG996R): a small motor, gears, a position sensor and a controller in one case. Send it a pulse every 20 ms on SIG: 0.544 ms puts the arm at 0°, 1.5 ms at 90° and 2.4 ms at 180° (exactly what the Arduino Servo library sends with attach(pin) and write(angle); it works with the Uno and ESP32 boards here). The arm turns at the servo’s own speed limit (SG90 about 0.10 s per 60°), ignores changes smaller than its deadband, holds its position against a load up to its torque and draws a lot of current while it moves or holds a load. Above the stall torque it cannot move; far above 6–7 V it burns. The continuous-rotation version turns the same signal into a speed: 1.5 ms stops, shorter turns one way, longer the other. Fully simulated: pulse width measurement, speed limit, deadband, torque limit, supply current. Simplified: the gear train and the position loop are not modelled inside.

angle = 180° · (pulse − 544 µs) / 1856 µs · rate ≤ 60° / (0.10 s) · I ≈ I_stall (0.3 + 0.6 · load / torque) while moving

Pins
V+, GND, SIG (V+ (red) 4.8–6 V · GND (brown) · SIG (orange) control pulse)
Values
Servo type, Rotation, Load held by the arm (kg·cm)

Stepper motor

Stepper motor: it turns one step each time its coils are switched round.

Two coils and a magnetic rotor. Current through coil A and coil B in the right order pulls the rotor from step to step: the torque is Kh · (−iA sin(Nθ) + iB cos(Nθ)), the coils have resistance, inductance and back-EMF, so a stepper loses torque at speed and can miss steps if it is asked to go too fast or carry too much. Choose a NEMA 17 (200 steps, 1.5 A) or a 28BYJ-48 (5 V, 1:64 gearbox, about 2048 steps per turn; its centre tap is not used). Drive the four terminals from the Stepper driver (STEP / DIR), or wire your own bridges. Fully simulated: coil dynamics, torque, back-EMF, missed steps, damping. Simplified: no detent torque or resonance tuning, the 28BYJ-48 is treated as a two-coil motor.

T = Kh (−iA sin Nθ + iB cos Nθ) · e = dλ/dt · J dω/dt = T − b ω − load

Pins
A+, A−, B+, B− (A+ A− one coil · B+ B− the other coil)
Values
Stepper type, Constant load torque on the output shaft (mN·m)

Stepper driver (STEP / DIR)

Driver with STEP and DIR inputs and a current-regulated output for a stepper.

An A4988-style driver. Every rising edge on STEP moves the coil currents one step along the sine / cosine table (full to 1/16 step), DIR high is one way and low the other, EN high switches the outputs off. The outputs regulate the coil currents to the limit you set, within what the VMOT supply can push into the coil, so a slow step rate gets full torque and a fast one loses it. VMOT takes 8–35 V for a NEMA 17; for a 28BYJ-48 use 8–12 V with the current limit set to 0.1 A (the chopper keeps the current down). STEP, DIR and EN can come from a microcontroller pin or a signal generator. Simplified: no thermal shutdown, decay modes or logic supply.

iA = I · cos φ, iB = I · sin φ · φ advances 2π / (4 · microsteps) per STEP pulse

Pins
VMOT, GND, STEP, DIR, EN, 1A, 1B, 2A, 2B (VMOT, GND motor supply · STEP, DIR, EN logic inputs · 1A 1B coil A · 2A 2B coil B)
Values
Microstepping, Coil current limit (A)

Solenoid

Solenoid: a coil that pulls a spring-loaded plunger in.

A push-pull solenoid: current in the coil pulls the iron plunger in against a return spring (pull grows with current squared and with how far the plunger has gone in), and the spring pushes it out again when the current stops. The inductance rises as the plunger enters, so the coil current dips as it moves and the switch-off spike is as big as with any coil: put a diode across it. Solenoids are rated for short pulses: left on, the coil heats up and burns out. Fully simulated: coil R and L, force, spring, mass, end stops, heating. Simplified: the pull is a fitted curve, no motional back-EMF.

F = c · i² · (0.5 + 1.5 x / stroke) · m · x″ = F − k x − preload · P = i² R

Pins
+, − (+, − coil (not polarised))
Values
Solenoid type

Brushless motor + ESC

Brushless outrunner with its ESC: the pulse on SIG sets the throttle.

A brushless motor and its speed controller as one part: the battery goes on V+ / GND, and a servo-style pulse on SIG sets the throttle (1.0 ms off, 2.0 ms full). Like a real ESC it must be armed: send 1.0 ms for a moment first or it ignores the throttle, and it cuts out if the pulses stop. Drag a Propeller onto the shaft: the motor speeds up to about KV × voltage × throttle and the propeller loads it with the real thrust and power equations. Fully simulated: throttle, back-EMF (KV), winding and ESC resistance, battery current, heating, propeller load. Simplified: the three-phase commutation and the ESC’s switching are not modelled, it behaves as a smooth DC drive.

V_eff = throttle · V_batt · ω_no-load = KV · V_eff · I_batt = throttle · I_motor

Pins
V+, GND, SIG (V+, GND battery (2S–3S) · SIG throttle pulse)
Values
Motor + ESC, Speed constant (rpm/V), Motor + ESC resistance (Ω)

Mechanics#

Mounting plate

Mounting plate: gears and motors stand on its shaft holes.

A 3 mm plate on 28 mm legs with shaft holes on the 0.1" grid (2.54 mm). Place gears and motors (with a pinion on the shaft) so their axle lands in a hole. The holes are what position the gears: two gears mesh when the distance between their holes matches their pitch radii. Move or lift the plate and everything on it goes along.

Centre distance for two meshing gears: d = m (z₁ + z₂) / 2 with module m = 1.27 mm

Pins
none: it only takes part in the physics

Spur gear

Spur gear that meshes with its neighbours by geometry.

A gear with real teeth (module 1.27 mm, 6 mm wide). Put its axle in a plate hole. Two gears at the same level mesh when the distance between their axles is the sum of their pitch radii (12 + 36 teeth: 12 holes apart): they then turn in opposite directions at speeds in the ratio of their teeth. Gears work on a mounting plate (the holes keep the spacing exact) but also without one, on the grid. Too close and the teeth collide: the train jams and the motor stalls. Too far apart they do not touch. Two gears on the same axle (different levels) turn together: a compound gear, which is how a train multiplies or divides speed (a 12-tooth gear on the same axle as a 40-tooth one, driving another 40: 40/12 × 40/12 ≈ 11 : 1). Higher levels are drawn and picked on top; gears at different levels never collide, so a big gear can sit over smaller ones. Alt+click picks the gear underneath. A load on the axle (fan, flywheel or a winch that lifts a payload) loads the motor through the train, with 8 % lost in every mesh. A worm wheel is self-locking: the load cannot turn the train backwards.

ω₂ = −ω₁ · z₁ / z₂ · τ₂ = −τ₁ · z₂ / z₁ · η · J reflected to the motor = J · (ω/ω_motor)²

Pins
none: it only takes part in the physics
Values
Teeth (module 1.27 mm), Level on the axle, Gear type, Load on this axle, Winch payload (kg), Winch drum radius (mm), Winch travel (cm), Fan: blade diameter (cm), Fan: blade pitch (cm), Fan: number of blades

Microcontrollers#

Microcontroller board

Programmable ATmega328P board (Uno-class). Write code, press Run.

A real AVR microcontroller core is emulated instruction by instruction. Click “Open code editor”, write an Arduino-style program (pinMode, digitalWrite, analogRead, delay, Serial…) and press Run: the program is compiled to AVR machine code and runs on the emulated chip, driving the pins of your circuit. The board powers itself — its 5V and GND pins can power your parts.

16 MHz · 32 KB flash · 2 KB RAM · 14 digital pins (6 PWM~) · 6 analog inputs (10-bit)

Pins
D0, D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12, D13, A0, A1, A2, A3, A4, A5, 5V, GND (D0–D13 digital I/O (~ = PWM via analogWrite) · A0–A5 analog inputs / digital I/O · 5V supply out · GND ground. Pin 13 also drives the on-board “L” LED.)

ESP32 board

ESP32 development board: 3.3 V logic, 12-bit ADC, PWM on any pin.

A model of an ESP32 DevKit. Click “Open code editor”, write an Arduino-style program and press Run, exactly like the Uno board — but with ESP32 behaviour: pins are 3.3 V (a 5 V signal on a pin shows a warning), analogRead() returns 0–4095, analogWrite() works on any pin, dacWrite() on GPIO 25/26, INPUT_PULLDOWN exists, and Serial runs at 115200. Note: Wi-Fi, Bluetooth, dual core and the 240 MHz speed are not simulated — the program runs on the same emulated 16 MHz core as the Uno board.

3.3 V logic · ADC 0…4095 (GPIO 32–39) · PWM any pin · DAC GPIO 25/26 · I²C SDA 21, SCL 22 · SPI SCK 18, MOSI 23

Pins
IO2, IO4, IO5, IO12, IO13, IO14, IO15, IO16, IO17, IO18, IO19, IO21, IO22, IO23, IO25, IO26, IO27, IO32, IO33, IO34, IO35, IO36, IO39, 3V3, VIN, GND (IOxx = GPIO number (yellow = input only: 34, 35, 36, 39) · 3V3 supply out · VIN 5 V from USB · GND. GPIO 2 drives the on-board LED.)

Raspberry Pi Pico (Python)

Raspberry Pi Pico: 40 pins, programmed in MicroPython (Python).

A model of the Raspberry Pi Pico (RP2040). Click “Open code editor”, write a MicroPython program and press Run. The program is run by a small built-in Python interpreter: while it sleeps (time.sleep) it costs almost no CPU, which makes this board much lighter than the cycle-accurate AVR boards. Use machine.Pin (GPIO in / out, pull-ups), machine.PWM (duty_u16) and machine.ADC (read_u16 on GP26–28), plus time, math and random. GPIO is 3.3 V logic; the board is powered from USB, so 3V3, VSYS and VBUS are live. Displays: machine.I2C / machine.SPI play out real bus transactions for the OLED, TFT and LCD models, and the modules ssd1306.SSD1306_I2C, st7735.ST7735 and lcd1602.LCD are included. Prototype limits: no classes or interrupts yet, and timing is modelled per solver step (0.2 ms), not per CPU cycle.

from machine import Pin, PWM, ADC, I2C, SPI · Pin(15, Pin.OUT).value(1) · ADC(26).read_u16() · I2C(0, scl=Pin(5), sda=Pin(4)) · ssd1306.SSD1306_I2C(128, 64, i2c)

Pins
GP0, GP1, GND, GP2, GP3, GP4, GP5, GND, GP6, GP7, GP8, GP9, GND, GP10, GP11, GP12, GP13, GND, GP14, GP15, GP16, GP17, GND, GP18, GP19, GP20, GP21, GND, GP22, RUN, GP26, GP27, AGND, GP28, ADC_VREF, 3V3, 3V3_EN, GND, VSYS, VBUS (GPn = GPIO n (GP26–28 are ADC0–2) · GND ground · 3V3 supply out · VBUS 5 V from USB · VSYS · GP25 drives the on-board LED)

Displays#

4-digit 7-segment display

Four 7-segment digits that share their segment pins (multiplexed).

The four digits share the segment pins a–g and dp. Each digit has its own common-cathode pin D1–D4. To show 1234 a program lights one digit at a time — put the digit's segments on a–g, pull that digit's D pin LOW, then move on to the next digit very quickly, so all four look lit. Each segment needs a resistor.

segment lit when its pin is HIGH and the digit pin is LOW

Pins
a, b, c, d, e, f, g, dp, D1, D2, D3, D4 (a–g, dp segment anodes · D1–D4 digit common cathodes)
Values
Colour

8×8 LED matrix

64 LEDs in a grid: rows are anodes, columns are cathodes.

LED (row, column) lights when its row pin R is HIGH and its column pin C is LOW. A microcontroller scans the rows one by one (multiplexing) to draw a picture. Use current-limiting resistors on the rows or columns.

LED(r, c) on when R(r) = HIGH and C(c) = LOW

Pins
R1, R2, R3, R4, R5, R6, R7, R8, C1, C2, C3, C4, C5, C6, C7, C8 (R1–R8 row anodes · C1–C8 column cathodes)
Values
Colour

10-LED bar graph

Ten LEDs in a row with a common cathode.

A bar graph display: ten LEDs whose cathodes are joined at COM (connect it to ground). Drive each A pin through a resistor — handy as a level meter, for example from an analogRead value.

LED n lights when A(n) is HIGH and COM is at ground

Pins
A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, COM (A1–A10 anodes · COM common cathode)
Values
Colour

16×2 character LCD

16 characters × 2 lines text display (HD44780 protocol).

A classic character LCD driven with the real 4-bit HD44780 protocol: the LiquidCrystal library toggles RS, E and D4–D7, and the display decodes those signals — including the power-on initialisation sequence, so a program that skips the init shows nothing. Wire VSS to GND, VDD to 5 V, RW to GND, A to 5 V through a resistor, K to GND, and RS, E, D4–D7 to the pins used in your code. Code: #include &lt;LiquidCrystal.h&gt; LiquidCrystal lcd(12, 11, 5, 4, 3, 2); lcd.begin(16, 2); lcd.print("Hello"); lcd.setCursor(0, 1); createChar() works too.

LiquidCrystal lcd(RS, E, D4, D5, D6, D7) · begin, print, setCursor, clear, createChar …

Pins
VSS, VDD, V0, RS, RW, E, D4, D5, D6, D7, A, K (VSS GND · VDD +5 V · V0 contrast (not simulated) · RS, RW, E control · D4–D7 data · A/K backlight)

128×64 OLED display

128×64 pixel monochrome OLED (SSD1306 over I²C).

The real I²C conversation is simulated: START, address 0x3C with an acknowledge that the display really pulls SDA low for, control bytes, the SSD1306 command set (charge pump, display on, addressing mode…) and the 1 KB of picture data. Code like the Adafruit examples: #include &lt;Wire.h&gt; #include &lt;Adafruit_GFX.h&gt; #include &lt;Adafruit_SSD1306.h&gt; Adafruit_SSD1306 display(128, 64, &amp;Wire, -1); if (!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) …; display.clearDisplay(); display.setCursor(0, 0); display.println(F("Hi")); display.display(); Hand-written Wire.beginTransmission(0x3C) code works as well. The “Controller chip” setting selects the real chip on the module: a 1.3″ module uses an SH1106, which has no horizontal addressing mode, no 0x8D charge-pump command and a 132-column memory (picture shifted by 2). An SSD1306 sketch on it gives a garbled picture; use Adafruit_SH1106G display(128, 64, &amp;Wire, -1); display.begin(0x3C, true); with SH110X_WHITE instead.

Adafruit_SSD1306 display(128, 64, &amp;Wire, -1); display.begin() … display.display()

Pins
GND, VCC, SCL, SDA (GND · VCC · SCL clock (A5 / GPIO 22) · SDA data (A4 / GPIO 21))
Values
Controller chip

128×160 TFT colour display

128×160 colour TFT (ST7735 over hardware SPI).

Real SPI traffic is decoded: the chip listens while CS is low, DC selects command or data (a wrong DC pin turns pixel data into commands), the chip samples on the rising clock edge with the most significant bit first (SPI.setDataMode(SPI_MODE1) or LSBFIRST shifts or scrambles the picture), and the init sequence (software reset, sleep out, colour mode, display on) must happen — call tft.initR(). Wire SCK to pin 13 and SDA (MOSI) to pin 11 on the Uno (GPIO 18 / 23 on the ESP32), plus CS, DC and RST to the pins in your code. Code like the Adafruit examples: #include &lt;Adafruit_GFX.h&gt; #include &lt;Adafruit_ST7735.h&gt; #include &lt;SPI.h&gt; Adafruit_ST7735 tft = Adafruit_ST7735(TFT_CS, TFT_DC, TFT_RST); tft.initR(INITR_BLACKTAB); tft.fillScreen(ST77XX_BLACK); tft.setTextColor(ST77XX_YELLOW); tft.print("Hi"); drawLine, fillRect, drawCircle …

Adafruit_ST7735 tft = Adafruit_ST7735(CS, DC, RST) · tft.initR(INITR_BLACKTAB)

Pins
GND, VCC, SCK, SDA, RST, DC, CS, BL (GND · VCC · SCK (pin 13) · SDA (MOSI, pin 11) · RST · DC · CS · BL backlight (optional))

Boards#

Breadboard (30 columns)

Solderless prototyping board: push component pins into the holes.

Drop a component so its pins sit on the holes (the grid snaps them there) and it is plugged in — inside, metal strips connect the holes exactly like a real breadboard. Use the Wire tool for jumper leads between holes, the power rails and the battery. Moving the board takes the parts plugged into it along. Select everything with a double-click-drag box and use “Convert to 3D” (right-click) to see it as a real breadboard build.

Columns: rows a–e are connected, rows f–j are connected (the centre channel separates them). Rails: the two top and two bottom rows run the full length.

Pins
c1:j, c1:i, c1:h, c1:g, c1:f, c1:e, c1:d, c1:c, c1:b, c1:a, c2:j, c2:i, c2:h, c2:g, c2:f, c2:e, c2:d, c2:c, c2:b, c2:a, c3:j, c3:i, c3:h, c3:g, c3:f, c3:e, c3:d, c3:c, c3:b, c3:a, c4:j, c4:i, c4:h, c4:g, c4:f, c4:e, c4:d, c4:c, c4:b, c4:a, c5:j, c5:i, c5:h, c5:g, c5:f, c5:e, c5:d, c5:c, c5:b, c5:a, c6:j, c6:i, c6:h, c6:g, c6:f, c6:e, c6:d, c6:c, c6:b, c6:a, c7:j, c7:i, c7:h, c7:g, c7:f, c7:e, c7:d, c7:c, c7:b, c7:a, c8:j, c8:i, c8:h, c8:g, c8:f, c8:e, c8:d, c8:c, c8:b, c8:a, c9:j, c9:i, c9:h, c9:g, c9:f, c9:e, c9:d, c9:c, c9:b, c9:a, c10:j, c10:i, c10:h, c10:g, c10:f, c10:e, c10:d, c10:c, c10:b, c10:a, c11:j, c11:i, c11:h, c11:g, c11:f, c11:e, c11:d, c11:c, c11:b, c11:a, c12:j, c12:i, c12:h, c12:g, c12:f, c12:e, c12:d, c12:c, c12:b, c12:a, c13:j, c13:i, c13:h, c13:g, c13:f, c13:e, c13:d, c13:c, c13:b, c13:a, c14:j, c14:i, c14:h, c14:g, c14:f, c14:e, c14:d, c14:c, c14:b, c14:a, c15:j, c15:i, c15:h, c15:g, c15:f, c15:e, c15:d, c15:c, c15:b, c15:a, c16:j, c16:i, c16:h, c16:g, c16:f, c16:e, c16:d, c16:c, c16:b, c16:a, c17:j, c17:i, c17:h, c17:g, c17:f, c17:e, c17:d, c17:c, c17:b, c17:a, c18:j, c18:i, c18:h, c18:g, c18:f, c18:e, c18:d, c18:c, c18:b, c18:a, c19:j, c19:i, c19:h, c19:g, c19:f, c19:e, c19:d, c19:c, c19:b, c19:a, c20:j, c20:i, c20:h, c20:g, c20:f, c20:e, c20:d, c20:c, c20:b, c20:a, c21:j, c21:i, c21:h, c21:g, c21:f, c21:e, c21:d, c21:c, c21:b, c21:a, c22:j, c22:i, c22:h, c22:g, c22:f, c22:e, c22:d, c22:c, c22:b, c22:a, c23:j, c23:i, c23:h, c23:g, c23:f, c23:e, c23:d, c23:c, c23:b, c23:a, c24:j, c24:i, c24:h, c24:g, c24:f, c24:e, c24:d, c24:c, c24:b, c24:a, c25:j, c25:i, c25:h, c25:g, c25:f, c25:e, c25:d, c25:c, c25:b, c25:a, c26:j, c26:i, c26:h, c26:g, c26:f, c26:e, c26:d, c26:c, c26:b, c26:a, c27:j, c27:i, c27:h, c27:g, c27:f, c27:e, c27:d, c27:c, c27:b, c27:a, c28:j, c28:i, c28:h, c28:g, c28:f, c28:e, c28:d, c28:c, c28:b, c28:a, c29:j, c29:i, c29:h, c29:g, c29:f, c29:e, c29:d, c29:c, c29:b, c29:a, c30:j, c30:i, c30:h, c30:g, c30:f, c30:e, c30:d, c30:c, c30:b, c30:a, Tp:0, Tn:0, Bp:0, Bn:0, Tp:1, Tn:1, Bp:1, Bn:1, Tp:2, Tn:2, Bp:2, Bn:2, Tp:3, Tn:3, Bp:3, Bn:3, Tp:4, Tn:4, Bp:4, Bn:4, Tp:5, Tn:5, Bp:5, Bn:5, Tp:6, Tn:6, Bp:6, Bn:6, Tp:7, Tn:7, Bp:7, Bn:7, Tp:8, Tn:8, Bp:8, Bn:8, Tp:9, Tn:9, Bp:9, Bn:9, Tp:10, Tn:10, Bp:10, Bn:10, Tp:11, Tn:11, Bp:11, Bn:11, Tp:12, Tn:12, Bp:12, Bn:12, Tp:13, Tn:13, Bp:13, Bn:13, Tp:14, Tn:14, Bp:14, Bn:14, Tp:15, Tn:15, Bp:15, Bn:15, Tp:16, Tn:16, Bp:16, Bn:16, Tp:17, Tn:17, Bp:17, Bn:17, Tp:18, Tn:18, Bp:18, Bn:18, Tp:19, Tn:19, Bp:19, Bn:19, Tp:20, Tn:20, Bp:20, Bn:20, Tp:21, Tn:21, Bp:21, Bn:21, Tp:22, Tn:22, Bp:22, Bn:22, Tp:23, Tn:23, Bp:23, Bn:23, Tp:24, Tn:24, Bp:24, Bn:24 (Hover a hole to see its name, e.g. c10:e (column 10, row e))

Perfboard (25×16 pads)

Board of copper pads: every hole is separate.

A plain perfboard has no hidden connections. Place components with their pins on the pads, then draw wires between pads — they stand for solder traces. Moving the board takes the parts on it along.

No hidden connections: join pads with the Wire tool.

Pins
p0:0, p0:1, p0:2, p0:3, p0:4, p0:5, p0:6, p0:7, p0:8, p0:9, p0:10, p0:11, p0:12, p0:13, p0:14, p0:15, p1:0, p1:1, p1:2, p1:3, p1:4, p1:5, p1:6, p1:7, p1:8, p1:9, p1:10, p1:11, p1:12, p1:13, p1:14, p1:15, p2:0, p2:1, p2:2, p2:3, p2:4, p2:5, p2:6, p2:7, p2:8, p2:9, p2:10, p2:11, p2:12, p2:13, p2:14, p2:15, p3:0, p3:1, p3:2, p3:3, p3:4, p3:5, p3:6, p3:7, p3:8, p3:9, p3:10, p3:11, p3:12, p3:13, p3:14, p3:15, p4:0, p4:1, p4:2, p4:3, p4:4, p4:5, p4:6, p4:7, p4:8, p4:9, p4:10, p4:11, p4:12, p4:13, p4:14, p4:15, p5:0, p5:1, p5:2, p5:3, p5:4, p5:5, p5:6, p5:7, p5:8, p5:9, p5:10, p5:11, p5:12, p5:13, p5:14, p5:15, p6:0, p6:1, p6:2, p6:3, p6:4, p6:5, p6:6, p6:7, p6:8, p6:9, p6:10, p6:11, p6:12, p6:13, p6:14, p6:15, p7:0, p7:1, p7:2, p7:3, p7:4, p7:5, p7:6, p7:7, p7:8, p7:9, p7:10, p7:11, p7:12, p7:13, p7:14, p7:15, p8:0, p8:1, p8:2, p8:3, p8:4, p8:5, p8:6, p8:7, p8:8, p8:9, p8:10, p8:11, p8:12, p8:13, p8:14, p8:15, p9:0, p9:1, p9:2, p9:3, p9:4, p9:5, p9:6, p9:7, p9:8, p9:9, p9:10, p9:11, p9:12, p9:13, p9:14, p9:15, p10:0, p10:1, p10:2, p10:3, p10:4, p10:5, p10:6, p10:7, p10:8, p10:9, p10:10, p10:11, p10:12, p10:13, p10:14, p10:15, p11:0, p11:1, p11:2, p11:3, p11:4, p11:5, p11:6, p11:7, p11:8, p11:9, p11:10, p11:11, p11:12, p11:13, p11:14, p11:15, p12:0, p12:1, p12:2, p12:3, p12:4, p12:5, p12:6, p12:7, p12:8, p12:9, p12:10, p12:11, p12:12, p12:13, p12:14, p12:15, p13:0, p13:1, p13:2, p13:3, p13:4, p13:5, p13:6, p13:7, p13:8, p13:9, p13:10, p13:11, p13:12, p13:13, p13:14, p13:15, p14:0, p14:1, p14:2, p14:3, p14:4, p14:5, p14:6, p14:7, p14:8, p14:9, p14:10, p14:11, p14:12, p14:13, p14:14, p14:15, p15:0, p15:1, p15:2, p15:3, p15:4, p15:5, p15:6, p15:7, p15:8, p15:9, p15:10, p15:11, p15:12, p15:13, p15:14, p15:15, p16:0, p16:1, p16:2, p16:3, p16:4, p16:5, p16:6, p16:7, p16:8, p16:9, p16:10, p16:11, p16:12, p16:13, p16:14, p16:15, p17:0, p17:1, p17:2, p17:3, p17:4, p17:5, p17:6, p17:7, p17:8, p17:9, p17:10, p17:11, p17:12, p17:13, p17:14, p17:15, p18:0, p18:1, p18:2, p18:3, p18:4, p18:5, p18:6, p18:7, p18:8, p18:9, p18:10, p18:11, p18:12, p18:13, p18:14, p18:15, p19:0, p19:1, p19:2, p19:3, p19:4, p19:5, p19:6, p19:7, p19:8, p19:9, p19:10, p19:11, p19:12, p19:13, p19:14, p19:15, p20:0, p20:1, p20:2, p20:3, p20:4, p20:5, p20:6, p20:7, p20:8, p20:9, p20:10, p20:11, p20:12, p20:13, p20:14, p20:15, p21:0, p21:1, p21:2, p21:3, p21:4, p21:5, p21:6, p21:7, p21:8, p21:9, p21:10, p21:11, p21:12, p21:13, p21:14, p21:15, p22:0, p22:1, p22:2, p22:3, p22:4, p22:5, p22:6, p22:7, p22:8, p22:9, p22:10, p22:11, p22:12, p22:13, p22:14, p22:15, p23:0, p23:1, p23:2, p23:3, p23:4, p23:5, p23:6, p23:7, p23:8, p23:9, p23:10, p23:11, p23:12, p23:13, p23:14, p23:15, p24:0, p24:1, p24:2, p24:3, p24:4, p24:5, p24:6, p24:7, p24:8, p24:9, p24:10, p24:11, p24:12, p24:13, p24:14, p24:15 (Hover a pad to see its name, e.g. p3:4)

Other#

Wire joint

A free end or branch point for wires.

With the Wire tool, click or drag from an empty spot (or to one) and a joint is placed there. Wires that end on the same joint are connected. It has no electrical effect of its own.

wire (0 Ω)

Pins
• (• any number of wires)

Imported 3D model 3D only

A 3D model imported from another program.

A model you imported (glTF/GLB, OBJ, STL, PLY, Collada, FBX or 3MF). It has no electrical connections. Set its real size, say what it is made of (a metal, plastic, wood ... so weight, friction, bounce, conduction and magnetism are right), and choose whether it is fixed or free to move when the advanced simulations are on.

mass = volume × density of its material

Pins
none: it only takes part in the physics
Values
Longest side (0 = as in the file) (mm), Made of, In physics

Spring 3D only

A coil spring (3D, with physics on).

A spring pulls or pushes with a force F = k × (length − unloaded length), and damping takes the energy out of the bouncing. Each end holds on to whatever it touches when the circuit runs: the table, a board, a part or an imported model. A weight on a spring stretches it by m × g ÷ k and bobs up and down with period 2π√(m ÷ k). Needs Physics on (the ⚛ button).

F = k (L − L0) + damping · speed; T = 2π √(m / k)

Pins
none: it only takes part in the physics
Values
Stiffness (N/m), Length (unloaded) (mm), Coil diameter (mm), Wire thickness (mm), Coils, Damping (1 = no bouncing), Made of

Magnet 3D only

A permanent magnet (3D, with Magnetism on).

A permanent magnet. The red end is north and the blue end south. With Rigid bodies and Magnetism on, it pulls and turns other magnets (north attracts south, like poles push apart) and pulls on iron and steel: steel parts, battery cells and imported models made of iron. It feels nothing from copper, aluminium or plastic. The strength comes from the material (neodymium is about three times stronger than ferrite) and the size; a magnet 10 mm across can lift a few hundred grams of steel when touching it, and the pull falls steeply with distance (about 1/d⁴ between two magnets).

m = Br·V / μ0; F = 3 μ0 m1 m2 / (2π d⁴) (end to end)

Pins
none: it only takes part in the physics
Values
Shape, Diameter (or width) (mm), Length (north to south) (mm), Made of

Cloth / trampoline 3D only

Cloth, a flag or a trampoline (3D, with physics on).

A square of fabric. Held by nothing it falls and drapes over what it lands on; held by its corners or one edge it hangs; held by a frame all round it is a trampoline mat under tension: a ball pressing on it makes a dent of about load ÷ tension, and it springs back, so the ball bounces. With aerodynamics on, wind pushes each part of the cloth by the angle it meets the air, so a flag flutters. Needs Physics on (the ⚛ button).

tension T (N/m) carries the load: dent ≈ F ln(R/r) ÷ (2π T)

Pins
none: it only takes part in the physics
Values
Size (square) (mm), Fabric, Held by, Height above the table (mm), Tension in a frame (N/m)