Hardware Academy
PCB Design

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.
A battery, regulator, decoupling capacitor and microcontroller drawn badly: ground symbols point up, wires cross without a dot, parts have no designators or values, and a capacitor sits far from its pinHard to readU?LDOU?C???N$14N$3N$7✗ no designators or values on the parts✗ ground symbols point up and sit at the top✗ the capacitor is far from the pin it serves✗ wires cross with no dot: joined or not?✗ auto-generated net names (N$3, N$7, N$14)The same circuit drawn well: supply on top, ground below, flow left to right, designators and values on every part, and the decoupling capacitors beside the pin they serveEasy to review+−J1U2AMS1117U1ESP323V3GNDVBAT+3V3C110 µFC222 µFC310 µFC4100 nF✓ designators, values and part numbers✓ supply up, ground down, flow left to right✓ decoupling drawn beside the pin it serves✓ junction dots only where wires really join✓ named nets: VBAT and +3V3
The same battery, regulator and microcontroller supply drawn badly (first panel) and well (second panel). Only the second drawing can be reviewed in a minute.

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.

View
Schematic of a robot motor-driver board: battery connector, AMS1117 regulator, ESP32 module, TB6612FNG motor driver and two motor connectors, with decoupling capacitorsVBAT+3V3PWMAAIN1AIN2BIN1BIN2PWMBAO1AO2BO1BO2EN+−J1battery inC110 µFU2AMS1117-3.3VINVOUTGND+C222 µF3V3GNDENIO25IO26IO27IO32IO33IO13U1ESP32-WROOM-32EC310 µFC4100 nFC7100 nFSW1resetC61 µFVCCVMPWMAAIN1AIN2STBYBIN1BIN2PWMBAO1AO2BO1BO2GNDPGND1PGND2U3TB6612FNGdual H-bridge+C5100 µFC8100 nF12J2motor A12J3motor B

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.

Simplified for teaching: UART, boot and sensor pins are omitted, and the driver's repeated VM, PGND and output pins are drawn once. Pin numbers are left off so you read the pin names, as you would in a datasheet.

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
text
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 wide
text
Ref      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 record

Every 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?
An electrical rules check analyses connectivity against a pin-type matrix. It finds unconnected pins, power inputs that no power output drives, two outputs wired together, duplicate reference designators, labels that join only one pin, and sheet-pin mismatches. It cannot know your intent, so a missing pull-up, a wrong resistor value, a mirrored connector pinout or a regulator that cannot supply the load all pass cleanly. I treat a clean ERC as the minimum bar, then review the design pin by pin against the datasheets, and I either fix every message or write down why it is waived.
screenHow do you make a schematic readable for a reviewer?
I follow signal flow, with inputs on the left and outputs on the right, positive supplies at the top and grounds at the bottom, and I never draw a ground symbol pointing up. Each page covers one function, and I split large designs into hierarchical sheets such as power, MCU and motor driver. Nets get meaningful names like MOTA_PWM instead of auto-generated ones, and decoupling capacitors are drawn right next to the IC pin they serve. Every part carries a reference designator, a value with the critical specs, and a footprint, and I add short notes for non-obvious choices such as why a pull-down is 100 kΩ.
screenWhat goes into a BOM, and why is a value alone not enough?
A useful BOM groups identical parts and lists reference designators, quantity, value, footprint, manufacturer, manufacturer part number and a supplier part number, plus flags for parts that are not populated. A value such as 100 nF does not say the dielectric, voltage rating or package, and those decide whether the part works, so the MPN and a full description are the ground truth. I also list approved alternates, check stock and lifecycle status, and confirm that alternates are footprint compatible. A clean BOM lets the assembler order and place everything without calling me.
screenWhat is the difference between a local label, a global label and a power symbol?
A local label joins nets of the same name within one sheet only. A global label joins every net of that name across all sheets, which is convenient but harder to trace on a large project. A hierarchical label ties a net to a pin on the sheet symbol in the parent page, so connections between sheets are explicit. Power symbols such as +3V3 and GND behave like global labels for supplies, so I never draw supply wires by hand. The risk with any label is a typo, which silently makes two separate nets, and ERC reports it only as a single-pin-net warning.
deepWalk me through how you review a colleague's schematic before layout.
I start with power: I list every rail, what produces it and the worst-case load, and check each regulator for dropout, dissipation and capacitor requirements. Then I go through every IC pin by pin against the datasheet and its reference design, checking that each input has a defined state, unused pins are handled, strap and boot pins are at the right level and absolute maximum ratings are respected. I check interfaces for level compatibility, pull-ups on open-drain buses and protection at connectors, and I confirm that connector pinouts are not mirrored. Finally I check decoupling, footprints against the land patterns, test points and the BOM, and I confirm the ERC log has no unexplained messages.

Quiz

1. Which reference designator prefix names an integrated circuit?
2. The TB6612FNG's STBY pin has no wire, label or no-connect flag in the schematic. What does the ERC report?
3. Which of these mistakes can an electrical rules check NOT detect?
4. What does a PWR_FLAG symbol tell the ERC?
5. Which BOM column best guarantees that the assembler orders the right capacitor?
6. By the usual convention, where do positive supplies and ground go on a schematic page?
7. A net is labelled STBY on one sheet and STNDBY on another. What happens in KiCad?

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. Documentationfree online

    The KiCad Team (2025). KiCad Documentation. docs.kicad.org.

    Read: The Eeschema (schematic editor) manual.