diff --git a/CLI.md b/CLI.md index 4151ee6..678be91 100644 --- a/CLI.md +++ b/CLI.md @@ -41,8 +41,8 @@ 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 JLCPCB for Micro-USB connectors +tsci search --jlcpcb "micro usb connector" # Search KiCad footprints tsci search --kicad "QFP-32" @@ -88,6 +88,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: