← Commit history

Initial commit: component/ch340b

Ray ·b62533962a ·
2 files changed +238
README.mdadded+52
@@ -0,0 +1,52 @@+# CH340B++**WCH Jiangsu Qin Heng** · USB Converters · SOP-16++CH340B from WCH Jiangsu Qin Heng, in a SOP-16. Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | GND | power_in | Common ground, directly connected to USB bus ground line. |+| 2 | TXD | output | Serial data output with idle state high level for CH340C/N/E/X/B/T. |+| 3 | RXD | input | Serial data input with built-in controllable pull-up and pull-down resistors. |+| 4 | V3 | power_in | 3.3V power supply connection for external power input (3.3V mode) or 0.1µF power decoupling capacitor (5V mode). |+| 5 | UD+ | bidirectional | Direct connection to USB bus D+ data line, do not add series resistor. |+| 6 | UD- | bidirectional | Direct connection to USB bus D- data line, do not add series resistor. |+| 7 | RST# | input | External reset input, active low with internal pull-up resistor (CH340B only). |+| 8 | NC | unconnected | No connection, empty pin must be left floating (CH340B only). |+| 9 | CTS# | input | MODEM contact input signal for clear to send, active low or high per software definition. |+| 10 | DSR# | input | MODEM contact input signal for data set ready, active low or high per software definition. |+| 11 | RI# | input | MODEM contact input signal for ring indicator, active low or high per software definition. |+| 12 | DCD# | input | MODEM contact input signal for carrier detect, active low or high per software definition. |+| 13 | DTR# | output | MODEM contact output signal for data terminal ready, active low or high per software definition. |+| 14 | RTS# | output | MODEM contact output signal for request to send, active low or high per software definition. |+| 15 | TNOW | output | Serial port transmission in progress status indicator, active high level (CH340T/E/X/B). |+| 16 | VCC | power_in | Positive power supply input, requires external 0.1µF power decoupling capacitor. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | WCH Jiangsu Qin Heng |+| Package | SOP-16 |+| Category | Interface |+| Pins | 16 |++## CAD (KiCad official)++- Symbol: `CH340B`+- Footprint: `Package_SO:SOIC-16_3.9x9.9mm_P1.27mm`+- 3D model: SOP-16 (KiCad packages3D, STEP)++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [WCH Jiangsu Qin Heng datasheet](https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8618867607621410816) (10 pp, sha256 `6a6922d3c4de2d4f`, retrieved 2026-09-17, tier: lcsc)+- **Datasheet language:** Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.2`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-4-6` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/ch340b-datasheet.pdf)
page.jsonadded+186
@@ -0,0 +1,186 @@+{+  "slug": "ch340b",+  "version": "0.1.0",+  "type": "component",+  "description": "WCH Jiangsu Qin Heng USB Converters, SOP-16. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "interface",+    "ch340b",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "ch340b.kicad_sym",+    "ch340b.kicad_mod",+    "ch340b.glb",+    "ch340b.step",+    "ch340b.lbr",+    "docs/hero.png",+    "docs/ch340b-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "CH340B",+    "manufacturer": "WCH Jiangsu Qin Heng",+    "package": "SOP-16",+    "pin_count": 16,+    "category": "Interface",+    "subcategory": "USB Converters",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8618867607621410816",+    "parts": {+      "symbol": "ch340b.kicad_sym",+      "footprint": "ch340b.kicad_mod",+      "model_3d": "ch340b.glb",+      "model_3d_step": "ch340b.step",+      "lbr": "ch340b.lbr"+    },+    "distributor_links": {+      "lcsc": "C81010"+    },+    "pins": [+      {+        "number": "1",+        "name": "GND",+        "type": "power_in",+        "description": "Common ground, directly connected to USB bus ground line."+      },+      {+        "number": "2",+        "name": "TXD",+        "type": "output",+        "description": "Serial data output with idle state high level for CH340C/N/E/X/B/T."+      },+      {+        "number": "3",+        "name": "RXD",+        "type": "input",+        "description": "Serial data input with built-in controllable pull-up and pull-down resistors."+      },+      {+        "number": "4",+        "name": "V3",+        "type": "power_in",+        "description": "3.3V power supply connection for external power input (3.3V mode) or 0.1µF power decoupling capacitor (5V mode)."+      },+      {+        "number": "5",+        "name": "UD+",+        "type": "bidirectional",+        "description": "Direct connection to USB bus D+ data line, do not add series resistor."+      },+      {+        "number": "6",+        "name": "UD-",+        "type": "bidirectional",+        "description": "Direct connection to USB bus D- data line, do not add series resistor."+      },+      {+        "number": "7",+        "name": "RST#",+        "type": "input",+        "description": "External reset input, active low with internal pull-up resistor (CH340B only)."+      },+      {+        "number": "8",+        "name": "NC",+        "type": "unconnected",+        "description": "No connection, empty pin must be left floating (CH340B only)."+      },+      {+        "number": "9",+        "name": "CTS#",+        "type": "input",+        "description": "MODEM contact input signal for clear to send, active low or high per software definition."+      },+      {+        "number": "10",+        "name": "DSR#",+        "type": "input",+        "description": "MODEM contact input signal for data set ready, active low or high per software definition."+      },+      {+        "number": "11",+        "name": "RI#",+        "type": "input",+        "description": "MODEM contact input signal for ring indicator, active low or high per software definition."+      },+      {+        "number": "12",+        "name": "DCD#",+        "type": "input",+        "description": "MODEM contact input signal for carrier detect, active low or high per software definition."+      },+      {+        "number": "13",+        "name": "DTR#",+        "type": "output",+        "description": "MODEM contact output signal for data terminal ready, active low or high per software definition."+      },+      {+        "number": "14",+        "name": "RTS#",+        "type": "output",+        "description": "MODEM contact output signal for request to send, active low or high per software definition."+      },+      {+        "number": "15",+        "name": "TNOW",+        "type": "output",+        "description": "Serial port transmission in progress status indicator, active high level (CH340T/E/X/B)."+      },+      {+        "number": "16",+        "name": "VCC",+        "type": "power_in",+        "description": "Positive power supply input, requires external 0.1µF power decoupling capacitor."+      }+    ],+    "provenance": {+      "extractor": "extract_pins 0.2",+      "factory_chain": {+        "factory": "2.0.0",+        "extractor": "extract_pins 0.2",+        "primary_model": "claude-haiku-4-5-20251001",+        "primary_mode": "text",+        "consensus_model": "claude-sonnet-4-6",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [],+        "pages_sent": 10,+        "cost_usd": 0.3155,+        "at": "2026-09-17T18:31:54"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8618867607621410816",+        "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"+    }+  },+  "visibility": "public",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file