From a0dc95a75397abb4d59ca7edcd40c3d6811f5796 Mon Sep 17 00:00:00 2001 From: Mustafa Mulla Date: Thu, 30 Apr 2026 21:07:24 +0530 Subject: [PATCH 1/2] document USB-C connector standard usage --- CLI.md | 4 +--- SKILL.md | 1 + SYNTAX.md | 8 ++++++++ WORKFLOW.md | 1 + elements/connector.md | 10 ++++++++++ 5 files changed, 21 insertions(+), 3 deletions(-) diff --git a/CLI.md b/CLI.md index 4151ee6..027324d 100644 --- a/CLI.md +++ b/CLI.md @@ -41,9 +41,6 @@ tsci search --jlcpcb "ATmega328" # Search JLCPCB by part number tsci search --jlcpcb "C14877" -# Search for USB-C connectors on JLCPCB -tsci search --jlcpcb "USB-C 16pin" - # Search KiCad footprints tsci search --kicad "QFP-32" # Output: kicad:Package_QFP/LQFP-32_5x5mm_P0.5mm @@ -88,6 +85,7 @@ tsci search --jlcpcb "ATmega328" --json - Use when you need to bring a specific part into your project - Searches both the tscircuit registry and JLCPCB parts database - Opens an interactive picker to select and import the component + - For USB-C connectors, prefer `` directly instead of importing from JLCPCB Workflow: ```bash diff --git a/SKILL.md b/SKILL.md index 8fcaeaa..d5563f7 100644 --- a/SKILL.md +++ b/SKILL.md @@ -30,6 +30,7 @@ When this Skill is active: 3) Find and install components - Use `tsci search ""` to discover footprints and tscircuit registry packages. +- For USB-C receptacles/connectors, prefer builtin syntax with `` instead of importing from JLCPCB. - Use one of: - `tsci add ` for registry packages (installs `@tsci/*` packages) - `tsci import ` when you need to import a component from JLCPCB or the registry. diff --git a/SYNTAX.md b/SYNTAX.md index 54d74a4..662ac0d 100644 --- a/SYNTAX.md +++ b/SYNTAX.md @@ -123,6 +123,14 @@ Use `` for all USB connector footprints (USB-C, Micro-USB, Mini-USB If a `` is currently modeling a USB receptacle, plug, or jack, consider refactoring it to `` so additional USB-specific DRC checks can apply. +For a USB-C connector component, prefer the built-in standard: + +```tsx + +``` + +No JLC import is required for this default USB-C connector usage. + ## 7) Connectivity with `` Connect pins with port selectors: diff --git a/WORKFLOW.md b/WORKFLOW.md index a240cbd..8ad5d6d 100644 --- a/WORKFLOW.md +++ b/WORKFLOW.md @@ -9,6 +9,7 @@ - Decide net names (`net.GND`, `net.VCC`, `net.V3_3`, etc.) - Add power entry (USB-C, barrel jack, header) and protection (fuse/TVS) as appropriate. +- For USB-C, use `` directly (no JLC import needed). ## 3) Search before you model diff --git a/elements/connector.md b/elements/connector.md index 237436e..7266c89 100644 --- a/elements/connector.md +++ b/elements/connector.md @@ -77,6 +77,16 @@ export default () => ( ) ``` +## USB-C standard example + +```tsx +export default () => ( + + + +) +``` + ## Accessible orientation warning Placement checks can warn when a connector faces away from the nearest board edge: From 1d6f4bd9fb00c21f3d28895c1943d852af27c931 Mon Sep 17 00:00:00 2001 From: Mustafa Mulla Date: Thu, 30 Apr 2026 23:18:09 +0530 Subject: [PATCH 2/2] upd --- CLI.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CLI.md b/CLI.md index 027324d..678be91 100644 --- a/CLI.md +++ b/CLI.md @@ -41,6 +41,9 @@ tsci search --jlcpcb "ATmega328" # Search JLCPCB by part number tsci search --jlcpcb "C14877" +# Search JLCPCB for Micro-USB connectors +tsci search --jlcpcb "micro usb connector" + # Search KiCad footprints tsci search --kicad "QFP-32" # Output: kicad:Package_QFP/LQFP-32_5x5mm_P0.5mm