KiCad Standard Library and References
KiCad Standard Library and References
Overview
Section titled “Overview”When the second and third ESP32 projects start, hunting symbols and drawing footprints from scratch every time pays the same tuition repeatedly and copies the same mistake many times over. A standard library and reference designs turn that work into reusable assets: a reviewed set of symbol/footprint/3D libraries, a proven “ESP32 module minimum system” reference schematic, and a repo to hold them. This section covers how to organise the library, the naming and version rules, and how to make a reference design both drop-in usable and landmine-free. By the end you will be able to:
- Organise a shared team KiCad symbol/footprint/3D library
- Set naming and version rules so the library is traceable and roll-backable
- Maintain a verified ESP32 module minimum-system reference design
- Put the library under git and reuse it across projects so one error is not copied
Prerequisites
Section titled “Prerequisites”- Completed Chapter 22 Sections 3 and 4 (tool choice and single-project flow)
- At least two real projects to reveal the “high-frequency parts” list
- Basic git use across the team
Key Concepts
Section titled “Key Concepts”What the library should hold
Section titled “What the library should hold”| Asset | Content | Value |
|---|---|---|
| Symbol library | Reviewed schematic symbols with correct pins/function groups | Fewer redraws, fewer pin errors |
| Footprint library | Footprints matching the physical part and stencil | First build solders right |
| 3D models | For assembly and enclosure interference checks | Structure and electrical do not clash |
| Reference design | ESP32 module minimum-system schematic plus PCB template | New projects do not start from zero |
Rule: a part used in two or more projects belongs in the standard library; one-offs stay project-local.
Naming and version rules
Section titled “Naming and version rules”- Footprint names carry key dimensions: e.g.
ESP32-S3-WROOM-1,R0402,QFN-48_7x7_P0.5, so the package reads from the name - Manage symbols and footprints separately: editing a symbol does not disturb the footprint, each versioned independently
- Library as code, under git: library changes go through PR/review, are tagged on release, and projects pin the version they use
- Traceability: every part entry links MPN, supplier, source datasheet, and a “last physically verified” record
Reference designs: drop-in usable, landmine-free
Section titled “Reference designs: drop-in usable, landmine-free”A good ESP32 minimum-system reference includes the module plus mandatory support (EN/BOOT/decoupling/antenna keep-out/USB-serial), a power input, and a debug header, and labels clearly:
- What to reuse directly: module support, decoupling network
- What to change every time: sensor interface, supply scheme, connectors, antenna form
- What carries assumptions: e.g. “this antenna keep-out assumes the module toward the board edge with no ground below” — recheck when enclosure or orientation changes (Chapter 23)
Preventing library drift and error copying
Section titled “Preventing library drift and error copying”The worst thing a shared library faces is everyone editing local copies out of sync. The fix: library edits are only merged back into the central library through review; local throwaway parts are prefixed DRAFT_, and production projects may not reference unreviewed entries.
[Placeholder] The central library’s repo address, access, and release process are internal team assets; access and specific entries follow the internal repository. This section gives only the organising method and discipline, not a proprietary parts list.
Verification
Section titled “Verification”| Check | Expected result | Verified |
|---|---|---|
| High-frequency parts in library | Cross-project common parts have reviewed symbol plus footprint | |
| Footprint matches hardware | Key footprints validated by first-article soldering | |
| Library under git, roll-backable | Changes reviewed, taggable, projects pin versions | |
| Reference design usable | New ESP32 projects start from the template with correct support | |
| Unreviewed entries isolated | DRAFT_ never enters production projects |
Troubleshooting
Section titled “Troubleshooting”Issue 1: same module, different projects use mismatched footprint versions, causing rework
Section titled “Issue 1: same module, different projects use mismatched footprint versions, causing rework”Cause: each edited its local library out of sync.
Action: converge to the central library version, pin a tag per project; divergent parts go through one physical re-verification then enter the library.
Issue 2: reference design copied straight, then Wi-Fi degraded after an enclosure change
Section titled “Issue 2: reference design copied straight, then Wi-Fi degraded after an enclosure change”Cause: the antenna keep-out assumption was not rechecked against the new structure.
Action: write the assumptions into the reference design and recheck them on enclosure change (Chapter 23 structure-RF interaction).
Best Practices
Section titled “Best Practices”- Do: put parts used in two or more projects into the standard library, keep one-offs local
- Do: treat the library as code — under git, reviewed, roll-backable, traceable
- Do: label reference designs reusable / must-change / has-assumptions
- Don’t: edit the library privately and drift out of sync
- Don’t: copy a reference design into a new structure without rechecking its assumptions
Summary
Section titled “Summary”Key points of this section:
- The library sinks symbols/footprints/3D/references, avoiding repeated tuition and copied mistakes
- Names carry dimensions, library under git, versions traceable, projects pin the version used
- Reference designs label reusable / must-change / assumption-bearing, especially structure-dependent antenna keep-out
- Prevent drift: edits merge back only through review;
DRAFT_never enters production
We provide ESP32 ODM design-to-manufacturing services. From prototype to production — the team behind this tutorial can build it with you.
💡 Mention tutorial.imagrove.com in your Alibaba chat with us — get 10% off your custom project quote.
First published attutorial.imagrove.com/kicad-hardware-design/06-kicad-standard-library-and-references/Please credit Imagrove and link back to this page when quoting or republishing.
Questions or issues with this tutorial?
Sign in with GitHub to leave a comment. If a step fails for you, tell us — we verify it and update the tutorial.
© Imagrove · ESP32 IoT Tutorial