Schematic capture: drawing a circuit people can read
Symbols, reference designators, nets, ERC and the conventions that make a schematic reviewable.
Day 5 · 45 min
After this lesson
- You can draw a readable schematic with correct reference designators and net labels.
- You can run and interpret an electrical rules check.
- You can build a bill of materials with manufacturer part numbers.
A schematic is a document people have to read
Symbols, designators and nets
A schematic is a drawing of connections, not of geometry: symbols stand for parts, wires and labels define nets, and everything else is annotation. Each part gets a reference designator: R resistor, C capacitor, L inductor, D diode or LED, Q transistor, U integrated circuit, J connector, Y crystal, SW switch, F fuse, TP test point. The designator appears on the schematic, in the BOM and on the board silkscreen, so a technician with a multimeter can find C14 without asking anyone. A net is every pin and wire that is electrically one node. A net label names it so it can cross the page without a drawn wire, and two labels with the same name are one net. The danger is a typo: STBY and STNDBY are two nets with one pin each, and nothing looks wrong.
Power symbols such as +3V3 and GND join every symbol of the same name, so supplies need no wires, and a PWR_FLAG tells the checker that a net is driven from off-board. Local labels join nets within a sheet, global labels join them across all sheets, and hierarchical labels tie a net to a pin on the sheet symbol in the parent page. Split any design bigger than one screen into hierarchical sheets such as power, MCU, motor driver and sensors, so a reviewer can read one page in a minute.
Conventions that make a page readable
- Signal flow runs left to right: inputs on the left, outputs on the right.
- Positive supplies sit at the top and grounds at the bottom, and no ground symbol ever points up.
- Draw each decoupling capacitor right next to the IC pin it serves, because the layout will copy that grouping.
- Put critical specs in the value field (100 nF X7R 16 V), not in a note, and name nets for what they do (MOTA_PWM, +3V3).
- Use junction dots only where wires join, avoid crossing wires, and use a label instead.
Net classes and datasheet reference designs
A net class groups nets that share layout rules: Power at 0.5 mm, Motor at 1.5 mm, Signal at 0.2 mm. Assign the classes in the schematic and the router and design-rule check apply the right widths without per-net fiddling. Every IC datasheet has a typical application circuit. Copy it, then read the footnotes, because that is where it says the AMS1117 wants a 22 µF solid tantalum output capacitor to stay stable (its datasheet, under Stability) or that the ESP32's EN pin wants a 10 kΩ pull-up with a 1 µF capacitor (Espressif's hardware design guidelines, schematic checklist). Write down every deviation and why.
Unused and special pins
Every pin needs a defined state in every phase of operation. Unused outputs can stay open, unused inputs get tied, open-drain buses need pull-ups, and strapping pins need the right level at boot: an ESP32 with IO0 low at reset enters its bootloader. An enable pin left floating passes the bench test and fails in the field.
ERC: what it catches and what it cannot
The electrical rules check compares connectivity against a pin-type matrix of inputs, outputs, bidirectional, power inputs, power outputs, passive and open-collector pins. It flags unconnected pins, power inputs that no power output drives, two outputs on one net, duplicate designators, labels that join only one pin, and sheet-pin mismatches. A no-connect flag marks a pin as intentionally open, but only after you have read the datasheet, because an input marked no-connect is a floating input. ERC cannot know your intent: a missing pull-up, a 100 kΩ where you meant 10 kΩ, a connector pinout mirrored left to right and a regulator that cannot supply the load all pass cleanly. Treat every message as a defect until it is fixed or waived with a written reason.
BOM thinking
A bill of materials lists every part with designators, quantity, value, footprint, manufacturer, manufacturer part number (MPN) and supplier number. A value like 100 nF is not enough, because dielectric, voltage rating, tolerance and package all decide whether the part works, so the MPN is the ground truth: for example Murata GRM155R71C104KA88D is 100 nF, 16 V, X7R, 0402. Group identical parts, mark the ones not to be populated, list approved alternates that share the footprint, and check stock and lifecycle before release. A missing alternate has turned into a multi-month delay on more than one product.
Version control
KiCad stores schematics and boards as text, so Git works. Commit each logical change with a message that says why, tag releases such as rev-A together with the exact Gerbers, and keep generated files and backups out of the repository. A schematic you cannot diff is a schematic you cannot review.
Interactive: audit the robot's motor-driver schematic
Robot motor-driver schematic
Hover or click a wire to light up its whole net, or click a part to read its role. Then switch on ERC mode and see which planted errors an electrical rules check finds and which it cannot.
The whole board is wide: scroll sideways, or pick a view above to zoom in on one section.
Nets (hover or click, or use the buttons)
Click a part to read its role, or a wire to see every pin on its net.
In practice
Practice
Find the three ERC errors, then write the BOM
Open the schematic above and, without switching on ERC mode, find three mistakes: two a rules check would report and one it would not. State the fix for each. Then write the bill of materials for the corrected board with designators, quantity, value, footprint and an MPN or a note saying what must be chosen.
Answer: show the worked solution
1 U3 STBY has no wire ERC: pin not connected
fix: IO14 to STBY; R2 = 100 kΩ pull-down documents the chip's own 200 kΩ default (off until firmware enables it)
2 U1 EN has no pull-up ERC cannot see it: the net has a switch and a capacitor
fix: add R1 = 10 kΩ from EN to 3V3 (with C6 = 1 µF it gives the power-up delay)
3 U3 PGND2 is not wired ERC: pin not connected
fix: tie PGND2 to GND with the other ground pins, short and wideRef Qty Value Footprint MPN or note
J1 1 battery in, 2 pin JST-XH, 2.5 mm B2B-XH-A
J2, J3 2 motor out, 2 pin JST-PH, 2.0 mm B2B-PH-K-S
U1 1 ESP32 module, 4 MB flash module ESP32-WROOM-32E-N4
U2 1 LDO 3.3 V, 1 A SOT-223 AMS1117-3.3
U3 1 dual H-bridge, 1.2 A/channel SSOP-24 TB6612FNG
C1 1 10 µF, 16 V, X7R 1206 choose and record
C2 1 22 µF, solid tantalum case B choose and record
C3 1 10 µF, 10 V, X7R 0805 choose and record
C4, C7 2 100 nF, 16 V, X7R 0402 GRM155R71C104KA88D
C5 1 100 µF, 16 V, polymer 6.3 mm SMD choose and record
C6 1 1 µF, 16 V, X7R 0603 GRM188R71C105KA12D
C8 1 100 nF, 25 V, X7R 0603 choose and record
R1 1 10 kΩ, 1% 0402 choose and record
R2 1 100 kΩ, 1% 0402 choose and record
SW1 1 tactile switch, 3.5 x 6 mm SMD choose and recordEvery line needs an MPN before release; the passives are left for you to choose from your vendor's catalogue, and the choice must respect the value field (dielectric, voltage rating, package). For alternates, only list parts that share the footprint: a SOT-23-5 LDO such as the AP2112K-3.3 is a redesign, not an alternate, for the SOT-223 AMS1117.
Real-world scenario
Real-world scenario
The motor driver works on the bench and never moves in the field
A first batch of 20 motor-driver boards passes bench testing: both motors spin from the lab supply, the firmware ramps them smoothly and the robot drives around the lab floor. The 200 production boards that follow never move: the firmware boots, 3V3 and VM are fine, the PWM and direction pins toggle on the scope, and the motor outputs stay at high impedance. The design review was signed off, and the ERC report had 41 messages that the team dismissed as cosmetic warnings.
Symptoms
- Every production board boots normally, but no motor ever turns and both OUT pairs read high impedance with the supply on.
- The TB6612FNG's STBY pin measures 0 V on a production board and about 3.3 V on the bench prototypes.
- A note taped to the prototypes reads 'STBY: temporary jumper to 3V3 for the demo'.
- The ERC log contains 'Pin not connected (U3, STBY)' among the 41 dismissed messages.
Interview questions
screenWhat does an ERC check, and what can it not catch?
screenHow do you make a schematic readable for a reviewer?
screenWhat goes into a BOM, and why is a value alone not enough?
screenWhat is the difference between a local label, a global label and a power symbol?
deepWalk me through how you review a colleague's schematic before layout.
Quiz
References and further reading
Where the ideas in this lesson come from, and what to read next. Books are the standard texts; papers are the original sources; standards are what employers work to.
- Documentationfree online
Espressif Systems (2025). ESP32 Hardware Design Guidelines: Schematic Checklist. docs.espressif.com.
Read: The EN (CHIP_PU) RC values and the strapping pins the schematic audit checks.
- Documentationfree online
Toshiba (2014). TB6612FNG: Driver IC for Dual DC Motor (datasheet). toshiba.semicon-storage.com.
Read: The pin table: every control input has a 200 kΩ internal pull-down, which decides the STBY scenario.
- Documentationfree online
Advanced Monolithic Systems (2012). AMS1117: 1A Low Dropout Voltage Regulator (datasheet). advanced-monolithic.com (free PDF at advanced-monolithic.com/pdf/ds1117.pdf, http only).
Read: The Stability section: the output-capacitor footnote the lesson refers to.
- Book
Paul Horowitz and Winfield Hill (2015). The Art of Electronics. Cambridge University Press, 3rd edition.
Read: The appendix on how to draw schematic diagrams; the conventions in this lesson come from it.
- Documentationfree online
David Haboud, Altium (2016). Getting Started with PCB Design. Altium tutorial, 29 pages.
Read: Pages 4-13: schematic, placing parts, nets and net labels, compiling the schematic.
- Documentationfree online
The KiCad Team (2025). KiCad Documentation. docs.kicad.org.
Read: The Eeschema (schematic editor) manual.