Foundations & Components
Robotics, electricity, and the parts every board is built from.
Foundations & Components
From what a robot is to the components in your hand
Navigate with ← → or Space · F to present fullscreen · N for the script
Lesson notes
The big picture and the basics in one go: what robotics is, how electricity behaves, the multimeter and breadboard, AC vs DC, switches, and the resistor–capacitor–inductor trio.
Foundations & Components
From what a robot is to the components in your hand
- Robotics & the sense–think–act loop
- Electricity & Ohm’s Law
- Multimeter & breadboard
- AC vs DC
- Switches
- Resistor · Capacitor · Inductor
Your prototyping bench
The three tools you will reach for in every single session.
- Breadboard — build without soldering
- Jumper wires — make the connections
- Multimeter — measure & debug
Introduction to Robotics
A robot is a machine that senses, thinks, and acts.
Sensors gather data → a controller decides → actuators move the world. Every robot — from a line follower to a Mars rover — is this same loop running fast.
Anchor the whole bootcamp on this loop. Everything we build later plugs into one of these three boxes.
The Sense–Think–Act loop
Three building blocks you will return to all week.
- Sense: Sensors turn the physical world (light, distance, temperature, motion) into electrical signals.
- Think: A microcontroller reads those signals, runs your logic, and decides what to do.
- Act: Actuators — motors, LEDs, buzzers — turn decisions back into physical action.
The loop never stops
Sense → Think → Act, repeating thousands of times a second. Watch the signal travel the loop.
Point at the moving dot — every robot is just this loop running fast.
Trends & the Future
Where the field is heading
- Humanoids & legged robots: Boston Dynamics, Tesla Optimus, Unitree — general-purpose robots leaving the lab.
- Drones & autonomy: Delivery, mapping, agriculture, inspection — self-navigating aerial systems.
- Edge AI: ML models running on tiny microcontrollers (TinyML) — vision and speech on-device.
- Automation & IoT: Smart factories and connected devices — the field you can start contributing to today.
Tie this to careers: embedded engineer, robotics, hardware design, IoT. The skills in this bootcamp are the entry point.
Computer Architecture
How a computer is built
A microcontroller is a whole computer on one chip. Same parts, smaller scale.
The core parts
- CPU — executes instructions
- Memory — RAM (temporary) + Flash/ROM (program)
- I/O — pins, USB, communication
- Clock — sets the execution speed
- Bus — wires that move data between parts
Von Neumann model
The CPU fetches an instruction from memory, decodes it, executes it, then repeats — billions of times a second. Your code is just a list of these instructions stored in Flash.
Electricity & Circuit Fundamentals
The three quantities that run everything
Think of a water pipe: pressure, flow, and a narrow section that resists flow.
- Voltage (V): Electrical "pressure" that pushes charge. Measured in volts. Like water pressure in a pipe.
- Current (I): The rate of charge flow. Measured in amperes (A). Like the amount of water flowing.
- Resistance (R): Opposition to flow. Measured in ohms (Ω). Like a narrow section of pipe.
Ohm's Law ties them together
V = I × R
- V — voltage in volts (V)
- I — current in amperes (A)
- R — resistance in ohms (Ω)
Example: A 9V battery across a 470Ω resistor → I = V/R = 9 / 470 ≈ 0.019 A = 19 mA.
This single equation reappears every single day. Make students rearrange it three ways: V=IR, I=V/R, R=V/I.
The Ohm’s Law triangle
Cover the quantity you want and the triangle shows the formula: cover V → I×R, cover I → V÷R, cover R → V÷I.
- V on top, I and R on the bottom
- Cover what you’re solving for
- Try real numbers in the calculator →
Measuring Voltage & Current
Using a multimeter safely
- Voltage — measure in parallel: Set dial to V. Touch probes ACROSS the component (red to +, black to −). The meter has high resistance so it does not disturb the circuit.
- Current — measure in series: Set dial to A and move the red lead to the A jack. Break the circuit and put the meter IN the path so all current flows through it.
- Resistance — power OFF: Set dial to Ω. Measure a component out of circuit, with no power applied.
- Continuity: The beep mode confirms two points are electrically connected — your #1 debugging tool.
Safety: never put the meter in current mode across a battery — that is a short through the meter and blows its fuse.
This is a digital multimeter
The single most useful tool on your bench — it measures voltage, current, resistance, and continuity.
- Red probe → V/Ω jack, black → COM
- Turn the dial to the quantity you want
- Start on a high range, then narrow down
The Breadboard
This is a breadboard
A solderless board for prototyping — push component legs into the holes, no soldering required.
- Long ± rails run along the edges
- Middle rows connect in groups of 5
- The center gap isolates left from right
How a breadboard connects
A solderless board for prototyping — push components in, no soldering.
Power rails (the long ± lines)
- Run horizontally along the top & bottom
- The whole red line is connected together (+)
- The whole blue line is connected together (−/GND)
Terminal strips (the middle)
- Each row of 5 holes is connected
- The center gap splits left from right
- ICs straddle the gap so each pin is isolated
Most beginner bugs are "I thought these holes were connected but they were not." Draw the internal copper clips.
AC and DC Currents
AC vs DC
DC holds one direction (batteries, USB, MCUs). AC reverses periodically (wall outlets, the grid).
Phones charge on DC; the wall is AC; the charger is the converter in between.
When you meet each
DC — Direct Current
- Batteries, solar, USB
- Steady polarity (+/−)
- What microcontrollers and logic run on
- Easy to store
AC — Alternating Current
- Wall sockets, the power grid
- Reverses 50/60 times per second
- Travels long distances efficiently
- Easily stepped up/down with transformers
Switches & Their Types
A switch makes or breaks a path
Named by poles (circuits controlled) and throws (positions).
- SPST: Single Pole Single Throw — simple on/off. A light switch.
- SPDT: Single Pole Double Throw — routes one input to one of two outputs.
- DPDT: Double Pole Double Throw — two circuits switched together; can reverse a motor.
- Push button: Momentary — connected only while pressed.
- Toggle / Slide: Latching — stays in position until moved.
- Relay: An electrically-controlled switch — a small signal switches a big load.
Resistor, Capacitor, Inductor
The three passive components
- Resistor (Ω): Limits current and divides voltage. The workhorse — current-limiting, pull-ups, dividers.
- Capacitor (F): Stores charge in an electric field. Smooths voltage, filters noise, blocks DC / passes AC.
- Inductor (H): Stores energy in a magnetic field. Resists current change — used in filters and converters.
Rule of thumb: a capacitor resists a change in voltage; an inductor resists a change in current.
What they look like in real life
You will be holding these constantly — learn to recognise them on sight.
- Resistors — colour bands = value
- Capacitors — electrolytic, polarised
- Potentiometer — a variable resistor
Reading the resistor colour code
Resistors do not print their value — they wear coloured bands. The first two are digits, the third multiplies, the fourth is tolerance.
- 1st & 2nd band = the two digits
- 3rd band = ×10ⁿ multiplier
- 4th (gold) = ±5% tolerance
- Decode any resistor in the tool →
Watch the bands change as the value cycles 220Ω → 1kΩ → 10kΩ.
A capacitor charges over time
τ = R × C
- τ — time constant in seconds
- R — resistance in ohms
- C — capacitance in farads
Example: 10 kΩ × 100 µF = 1 second to reach ~63% of the supply. After ~5τ it is essentially full.
The charging curve
A capacitor does not fill instantly — it follows an exponential curve, fast at first then easing toward full.
- Reaches ~63% after one time constant (τ)
- Essentially full after ~5τ
- This RC timing is the basis of delays & filters
Open & Closed Circuits
Current needs a complete loop
Closed circuit
- Unbroken path from + to −
- Current flows
- The load works (LED lights, motor spins)
Open circuit
- Path is broken (switch off, loose wire)
- No current flows
- Nothing happens
A short circuit is the opposite danger: a path that bypasses the load, letting huge current flow. That is what fuses guard against.
See the current flow
In a closed loop, charge flows from + through the resistor and LED back to −. Break the loop anywhere and it all stops.
- The resistor limits the current
- The LED converts current into light
- No complete loop = no flow
Build with R-L-C
Hands-on: an RC low-pass filter
- Wire R then C: Signal → resistor → node → capacitor → GND. The output is taken at the node.
- Pick the cutoff: f = 1 / (2πRC). With 10 kΩ and 100 nF, cutoff ≈ 160 Hz.
- Observe: Low frequencies pass through; high-frequency noise is shunted to ground. This is how you clean a noisy signal.
Day 1 — Key Takeaways
- Robots run a Sense → Think → Act loop
- Voltage pushes, current flows, resistance opposes — V = I × R
- Voltage is measured in parallel; current in series
- Breadboard rails run long; rows connect in fives
- DC is steady; AC alternates direction
- Resistor limits current, capacitor stores charge, inductor stores magnetic energy
- Current flows only in a closed loop