Read this before anything else — the ideas every other project quietly assumes. No wiring yet.
A helpful model is water in pipes:
| Electrical | Unit | Water analogy |
|---|---|---|
| Voltage (V) | volt (V) | Pressure pushing the water |
| Current (I) | ampere (A) | Flow rate — how much moves |
| Resistance (R) | ohm (Ω) | Pipe narrowness — opposition to flow |
For a fixed voltage, more resistance → less current.
An LED barely resists current itself — straight across 3.3 V it draws too much and burns out. A series resistor limits the current. An LED drops ~2 V, leaving 1.3 V across the resistor:
I = V / R = (3.3 V − 2 V) / 220 Ω ≈ 0.006 A = 6 mA
6 mA is safe and bright — well under the ESP32's limits (§6). Power is P = V × I (watts); our circuits use tiny fractions of a watt, so parts stay cool.
Polarity means a connection has a + (higher voltage) side and a − (lower / ground) side. Some parts only work one way around.
| Polarized part | + side | − side |
|---|---|---|
| LED | anode (long leg) | cathode (short leg / flat notch) |
| Electrolytic capacitor | + leg | − stripe |
| Diode | anode | cathode (band) |
| Modules / sensors | VCC / + | GND / − |
| Power (battery, USB) | + | − |
Not polarized (either way): resistors, ceramic capacitors, pushbuttons.
VIN ≈ 5 V, 3V3 = 3.3 V, GND = 0 V.3V3 straight to GND is near‑zero resistance → enormous current → overheating and damage. Never connect a power rail directly to ground.Chips represent data as two voltage levels:
10VIN but keep its signal wires at 3.3 V logic.Analog is different: a continuous range 0–3.3 V that the ESP32's ADC reads as 0–4095 (Project 2).
Sensors, displays, and the ESP32 exchange bits over shared wires. Three standards cover almost everything in this kit — libraries handle the details, but knowing them helps you wire correctly.
2 wires, TX and RX, cross‑connected. No clock — both sides agree on a baud rate (why the Serial Monitor is always 115200). Point‑to‑point; the USB Serial Monitor uses UART via the CP2102 chip.
2 shared wires: SDA (data) + SCL (clock) — on the ESP32, GPIO 21 & 22. Each device has a unique address (the OLED is 0x3C), so many share the same pair. Needs pull‑ups (usually on‑module). The OLED (Project 10) uses I²C.
4 wires: MOSI, MISO, SCK, plus a CS per device. Full‑duplex and fast — displays, SD cards, high‑rate sensors. ESP32 VSPI: MOSI 23, MISO 19, SCK 18, CS 5.
| Wires | Clock? | # devices | Speed | In this kit | |
|---|---|---|---|---|---|
| UART | 2 (TX, RX) | No (baud) | 1‑to‑1 | Low–med | USB Serial Monitor |
| I²C | 2 (SDA, SCL) | Yes | Many (addresses) | Low–med | OLED (Project 10) |
| SPI | 4 (+CS each) | Yes | Many (CS each) | High | displays / SD cards |
Want a deeper explanation of any idea above? These free, well‑illustrated guides are excellent starting points.
External links open on third‑party sites and were chosen for being clear and beginner‑friendly.
With these fundamentals you can reason about every circuit in the kit. Next: