An electronics lab: simulate first, then build on a breadboard
Use free circuit simulators to learn circuits safely, then build the same circuits on a breadboard with a multimeter and a few cheap parts, following simple safety rules.
What you need
Electronics is best learned by predicting, measuring and comparing. A simulator lets you do all three for free, and a few cheap parts let you check that the real world agrees.
- Simulators: the Falstad circuit simulator (falstad.com, runs in your browser and animates current), Tinkercad Circuits (tinkercad.com), LTspice (a free download from Analog Devices) for more detailed analysis, and KiCad (kicad.org) for drawing schematics and boards.
- Parts and tools: a digital multimeter (the most useful tool you will own), a solderless breadboard, jumper wires, assorted resistors, LEDs, a few capacitors and diodes, a switch, and a battery pack or low-voltage bench supply limited to a few volts.
Set it up
- Open a simulator and build the first lesson circuit: a battery, a resistor and an LED. Calculate the resistor first (supply voltage minus LED voltage, divided by the current you want), then check the simulator agrees.
- Learn the multimeter’s three basic jobs: voltage (connect across a part), current (connect in series; use the right socket) and resistance (with the circuit off). Also learn the continuity beeper.
- Build the same circuit on the breadboard using 3 to 5 V from batteries or a USB-powered module. Keep the layout neat so you can trace it.
- Compare your calculated, simulated and measured values for voltage and current. Write down the differences and explain them (tolerance, meter accuracy, wire resistance).
Check that it works
- The LED lights, and the voltage across the resistor matches your calculation within a few percent.
- Your multimeter reads about 0 ohms on the continuity test for a wire, and open (OL or no reading) between two parts that are not connected.
- A change in the simulator (doubling the resistor) predicts the change you measure on the bench.
Practise safely
- Never work on mains (wall-outlet) voltage. Stay with batteries and low-voltage supplies (about 12 V or less) unless you are properly trained and supervised.
- Check polarity and wiring before connecting power. Reversed capacitors and wrongly placed meters can fail loudly.
- Use the fuse or current limit on a bench supply, and start at the lowest voltage.
- Do not short a battery; it can get dangerously hot. Charge rechargeable cells only with an appropriate charger.
- If something smells hot, disconnect power first, then investigate.
- Wear eye protection if you cut leads or solder, and work in a ventilated place.
Go further
- Build and measure a voltage divider, an RC charging circuit (with a capacitor and a resistor), and a transistor switch. Predict, simulate, then measure each.
- Learn to read a datasheet: find the maximum current of an LED and the pinout of a component.
- Draw a schematic of a small circuit in KiCad and see how it becomes a board layout.
- Combine with the embedded lab guide: use a microcontroller pin to drive a transistor that switches an LED or small motor.
Courses that use this lab
Other lab guides
- A virtual machine lab on your own computer
- A Linux practice machine
- A network lab with free simulators and virtual routers
- A packet-capture lab with Wireshark and tcpdump
- A network-services lab: DHCP, DNS, proxy, load balancer, time and failover
- A Windows Server and Active Directory lab
- A developer workstation: editor, Git, Python and Node
- A container and Kubernetes lab
- A monitoring lab with Prometheus and Grafana
- A security operations (SOC) practice lab
- An isolated security lab for authorised practice
- A cloud lab that cannot surprise you with a bill
- An embedded and microcontroller lab: simulators first, hardware second
- A Raspberry Pi lab, with or without a Pi
- A home automation lab with Home Assistant and MQTT
- An audio, video, streaming and show-control lab
- A data lab: Python, pandas and Jupyter on your own computer
- A machine learning lab: scikit-learn, notebooks and honest experiments
- An LLM lab: a free local model, embeddings and a test harness
- A TypeScript lab: Node.js, the compiler and a test runner
- A web deployment lab: Git, a free host and environment settings
Software changes quickly. Menu names and version numbers may differ a little from what you see; the ideas and the check at the end of each section stay the same. Always download from the project's own website, and read the licence terms for your situation.