← Commit history

ch340g: factory component page (tier=lcsc)

Ray ·bc84a2f55e ·1mo ago ·parent 0fb3d75
1 file changed +156−22
page.json+156−22
@@ -3,43 +3,177 @@   "type": "component",   "slug": "ch340g",   "title": "CH340G",-  "brief": "USB to UART bridge IC, SOIC-16",+  "brief": "WCH Jiangsu Qin Heng USB Converters, SOP-16. Datasheet-verified pinout, KiCad symbol/footprint/3D.",   "version": "0.1.0",+  "license": "CC-BY-SA-4.0",   "tags": [     "component",     "interface",     "ch340g"   ],-  "license": "MIT",   "component": {     "mpn": "CH340G",-    "manufacturer": "WCH",-    "package": "SOIC-16",-    "pin_count": null,-    "category": "library",-    "subcategory": "",-    "body_size": null,-    "parts": {},-    "distributor_links": {}+    "manufacturer": "WCH Jiangsu Qin Heng",+    "package": "SOP-16",+    "pin_count": 16,+    "category": "Interface",+    "subcategory": "USB Converters",+    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/a3b2ca2c7638da2635df3f5b1d90bcc0.pdf",+    "parts": {+      "symbol": "ch340g.kicad_sym",+      "footprint": "ch340g.kicad_mod",+      "model_3d": "ch340g.glb",+      "model_3d_step": "ch340g.step",+      "lbr": "ch340g.lbr"+    },+    "distributor_links": {},+    "pins": [+      {+        "number": "1",+        "name": "GND",+        "type": "power_in",+        "description": "Common ground. Connect directly to the USB bus ground."+      },+      {+        "number": "2",+        "name": "TXD",+        "type": "output",+        "description": "Serial data output. Idle-high in normal UART mode. Drives external MCU RXD or an RS232/RS485 level shifter."+      },+      {+        "number": "3",+        "name": "RXD",+        "type": "input",+        "description": "Serial data input with controllable internal pull-up/pull-down. Should be high when idle. If R232 pin is high, an internal inverter is inserted (default low)."+      },+      {+        "number": "4",+        "name": "V3",+        "type": "power_in",+        "description": "Internal 3.3 V regulator node. At 5 V operation, connect a 0.1 uF decoupling capacitor to GND. At 3.3 V operation, tie V3 to VCC (both fed by external 3.3 V rail)."+      },+      {+        "number": "5",+        "name": "UD+",+        "type": "bidirectional",+        "description": "USB D+ data line. Connect directly to the USB bus D+; do NOT add a series resistor. Internal USB pull-up is built in."+      },+      {+        "number": "6",+        "name": "UD-",+        "type": "bidirectional",+        "description": "USB D- data line. Connect directly to the USB bus D-; do NOT add a series resistor."+      },+      {+        "number": "7",+        "name": "XI",+        "type": "input",+        "description": "Crystal oscillator input. Requires an external 12 MHz crystal between XI and XO with load capacitors (typ. 33 pF) to GND on each side."+      },+      {+        "number": "8",+        "name": "XO",+        "type": "output",+        "description": "Crystal oscillator output. Pairs with XI for the 12 MHz crystal reference."+      },+      {+        "number": "9",+        "name": "CTS#",+        "type": "input",+        "description": "MODEM handshake input: Clear To Send. Active low (or high if R232 auxiliary RS232 mode is enabled)."+      },+      {+        "number": "10",+        "name": "DSR#",+        "type": "input",+        "description": "MODEM handshake input: Data Set Ready. Active low (or high in auxiliary RS232 mode)."+      },+      {+        "number": "11",+        "name": "RI#",+        "type": "input",+        "description": "MODEM handshake input: Ring Indicator. Active low (or high in auxiliary RS232 mode)."+      },+      {+        "number": "12",+        "name": "DCD#",+        "type": "input",+        "description": "MODEM handshake input: Data Carrier Detect. Active low (or high in auxiliary RS232 mode)."+      },+      {+        "number": "13",+        "name": "DTR#",+        "type": "output",+        "description": "MODEM handshake output: Data Terminal Ready. Active low (or high in auxiliary RS232 mode). Doubles as a configuration input before USB enumeration (external 4.7 k\u03a9 pull-down requests higher bus current in descriptor)."+      },+      {+        "number": "14",+        "name": "RTS#",+        "type": "output",+        "description": "MODEM handshake output: Request To Send. Active low (or high in auxiliary RS232 mode)."+      },+      {+        "number": "15",+        "name": "R232",+        "type": "input",+        "description": "Auxiliary RS232 mode enable. High enables auxiliary RS232 (inverts RXD input automatically and allows discrete-transistor RS232 conversion). Internal pull-down; sampled only once after power-on reset."+      },+      {+        "number": "16",+        "name": "VCC",+        "type": "power_in",+        "description": "Positive supply input. Accepts 5 V (typ. 4.0-5.3 V) with V3 decoupled to GND via 0.1 uF, or 3.3 V (typ. 2.9-3.6 V) with V3 shorted to VCC. Requires a 0.1 uF decoupling capacitor."+      }+    ],+    "provenance": {+      "extractor": "ds2sf",+      "datasheet": {+        "url": "https://datasheet.lcsc.com/datasheet/pdf/a3b2ca2c7638da2635df3f5b1d90bcc0.pdf",+        "pages": 10,+        "sha256": "6a6922d3c4de2d4f",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 16,+        "described": 16,+        "cites_pages": true,+        "refuses_to_fabricate": true+      }+    },+    "viewers": {+      "symbol": "viewers/symbol.html",+      "footprint": "viewers/footprint.html"+    }   },-  "readme": "# CH340G\n\nUSB to UART bridge IC, SOIC-16\n\nThe CH340G is a USB to serial UART interface IC from WCH. Supports baud rates up to 2Mbps. Commonly used in cheap Arduino clones and USB-serial adapters as an alternative to FTDI chips.",+  "metadata": {+    "specs": {+      "Manufacturer": "WCH Jiangsu Qin Heng",+      "Package": "SOP-16",+      "Category": "Interface",+      "Pins": "16"+    }+  },+  "sections": [+    "hero",+    "viewers",+    "readme",+    "breadcrumbs",+    "info"+  ],+  "discovery_triggers": [+    "ch340g"+  ],+  "discovery_pitch": "CH340G (WCH Jiangsu Qin Heng) component page with datasheet-verified CAD.",   "author": {-    "name": "Kyle Bergstedt",-    "email": "[email protected]"+    "name": "Ray",+    "email": "[email protected]"   },-  "visibility": "public",+  "dependencies": {},   "hero": {     "type": "image",     "path": "docs/hero.png"   },-  "sample_prompts": [],-  "discovery_triggers": [],-  "discovery_pitch": null,-  "metadata": {},-  "created_at": "2026-05-28T05:33:23.808Z",-  "updated_at": "2026-05-28T05:33:23.808Z",-  "description": "WCH Jiangsu Qin Heng USB Converters, SOP-16. Datasheet-verified pinout, KiCad symbol/footprint/3D.",-  "dependencies": {},   "files": [     "page.json",     "README.md",