← Commit history

pin 1: carry the footprint's marker into the .lbr, the viewer and page.json (silk-marker, drawn, top-left)

Ray ·563c088c5f ·1mo ago ·parent 3f88bc7
5 files changed +705−188
ch340c.lbr+1−1
@@ -78,7 +78,7 @@   <wire x1="2.0600" y1="-5.0600" x2="-2.0600" y2="-5.0600" width="0.1200" layer="21"/>   <text x="0" y="6.020" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-6.020" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-</package>+<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-2.6000" y="5.0100"/><vertex x="-2.8400" y="5.3400"/><vertex x="-2.3600" y="5.3400"/></polygon></package> </packages> <symbols> <symbol name="CH340C">
package.json+2−1
@@ -24,6 +24,7 @@     "docs/hero.png",     "docs/ch340c-datasheet.pdf",     "viewers/symbol.html",-    "viewers/footprint.html"+    "viewers/footprint.html",+    "pads.json"   ] }\ No newline at end of file
pads.jsonadded+505
@@ -0,0 +1,505 @@+{+ "schema": "adom.pads/1",+ "slug": "ch340c",+ "footprint": "SOIC-16_3.9x9.9mm_P1.27mm",+ "generated_from": {+  "footprint": "SOIC-16_3.9x9.9mm_P1.27mm@sha256:f9b5075740f7816c",+  "pins": "page.json:component.pins",+  "overrides": null+ },+ "pin1": {+  "pad": "1",+  "at": [+   -2.475,+   -4.445+  ],+  "corner": "top-left",+  "source": "silk-marker",+  "derived_from": "SOIC-16_3.9x9.9mm_P1.27mm@sha256:f9b5075740f7816c"+ },+ "pad_count": 16,+ "paste_apertures": 0,+ "issues": [],+ "pads": [+  {+   "pad": "1",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.475,+    -4.445+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "1",+   "name": "GND",+   "type": "power_in",+   "description": "Common ground reference. Connect directly to the USB bus ground.",+   "is_pin1": true,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "2",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.475,+    -3.175+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "2",+   "name": "TXD",+   "type": "output",+   "description": "Serial data output (UART TX). Idles high on CH340C.",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "3",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.475,+    -1.905+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "3",+   "name": "RXD",+   "type": "input",+   "description": "Serial data input (UART RX) with internal software-controllable pull-up and pull-down.",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "4",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.475,+    -0.635+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "4",+   "name": "V3",+   "type": "power_in",+   "description": "Internal 3.3 V regulator node. In 5 V operation, connect a 0.1 uF decoupling capacitor to GND. In 3.3 V operation, tie V3 to VCC and to the external 3.3 V supply.",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "5",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.475,+    0.635+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "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 and transceiver are integrated).",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "6",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.475,+    1.905+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "6",+   "name": "UD-",+   "type": "bidirectional",+   "description": "USB D- data line. Connect directly to the USB bus D-; do not add a series resistor.",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "7",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.475,+    3.175+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "7",+   "name": "NC",+   "type": "unconnected",+   "description": "No connect on CH340C. Must be left floating.",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "8",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    -2.475,+    4.445+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "8",+   "name": "OUT#/DTR#",+   "type": "output",+   "description": "MODEM general-purpose output signal (software defined, active low). On CH340C batches whose lot code starts with 4 and whose last three digits are greater than B40, adding a 4.7 kΩ pull-down converts this pin to a second DTR#.",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "9",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.475,+    4.445+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "9",+   "name": "CTS#",+   "type": "input",+   "description": "MODEM Clear-To-Send handshake input, active low (or high when auxiliary RS-232 mode is enabled).",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "10",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.475,+    3.175+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "10",+   "name": "DSR#",+   "type": "input",+   "description": "MODEM Data Set Ready handshake input, active low (or high in auxiliary RS-232 mode).",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "11",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.475,+    1.905+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "11",+   "name": "RI#",+   "type": "input",+   "description": "MODEM Ring Indicator input, active low (or high in auxiliary RS-232 mode).",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "12",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.475,+    0.635+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "12",+   "name": "DCD#",+   "type": "input",+   "description": "MODEM Data Carrier Detect input, active low (or high in auxiliary RS-232 mode).",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "13",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.475,+    -0.635+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "13",+   "name": "DTR#",+   "type": "output",+   "description": "MODEM Data Terminal Ready output, active low (or high in auxiliary RS-232 mode). Used for MCU DTR#-default-high one-key download flows.",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "14",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.475,+    -1.905+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "14",+   "name": "RTS#",+   "type": "output",+   "description": "MODEM Request To Send output, active low (or high in auxiliary RS-232 mode).",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "15",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.475,+    -3.175+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "15",+   "name": "R232",+   "type": "input",+   "description": "Auxiliary RS-232 enable input, active high, with internal pull-down. When high, an inverter is inserted on RXD and the MODEM signal polarities invert. Sampled only once at power-on reset.",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  },+  {+   "pad": "16",+   "kind": "smd",+   "shape": "roundrect",+   "at": [+    2.475,+    -4.445+   ],+   "rot": 0.0,+   "size": [+    1.95,+    0.6+   ],+   "layers": [+    "F.Cu",+    "F.Mask",+    "F.Paste"+   ],+   "thermal": false,+   "pin": "16",+   "name": "VCC",+   "type": "power_in",+   "description": "Positive supply input. Requires a 0.1 uF decoupling capacitor to GND. Accepts 5 V (4.0-5.3 V) or 3.3 V (3.1-3.6 V, with V3 tied to VCC).",+   "is_pin1": false,+   "source": {+    "geometry": "SOIC-16_3.9x9.9mm_P1.27mm.kicad_mod",+    "meaning": "page.json:component.pins",+    "correspondence": "kicad: symbol pin number == pad name"+   }+  }+ ]+}\ No newline at end of file
page.json+196−185
@@ -1,190 +1,201 @@ {- "schema_version": 1,- "type": "component",- "slug": "ch340c",- "title": "CH340C",- "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",-  "ch340c"- ],- "component": {-  "mpn": "CH340C",-  "manufacturer": "WCH Jiangsu Qin Heng",-  "package": "SOP-16",-  "pin_count": 16,-  "category": "Interface",-  "subcategory": "USB Converters",-  "datasheet": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2403131141_WCH-Jiangsu-Qin-Heng-CH340C_C7464026.pdf",-  "parts": {-   "symbol": "ch340c.kicad_sym",-   "footprint": "ch340c.kicad_mod",-   "model_3d": "ch340c.glb",-   "model_3d_step": "ch340c.step",-   "lbr": "ch340c.lbr"+  "schema_version": 1,+  "type": "component",+  "slug": "ch340c",+  "title": "CH340C",+  "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",+    "ch340c"+  ],+  "component": {+    "mpn": "CH340C",+    "manufacturer": "WCH Jiangsu Qin Heng",+    "package": "SOP-16",+    "pin_count": 16,+    "category": "Interface",+    "subcategory": "USB Converters",+    "datasheet": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2403131141_WCH-Jiangsu-Qin-Heng-CH340C_C7464026.pdf",+    "parts": {+      "symbol": "ch340c.kicad_sym",+      "footprint": "ch340c.kicad_mod",+      "model_3d": "ch340c.glb",+      "model_3d_step": "ch340c.step",+      "lbr": "ch340c.lbr"+    },+    "distributor_links": {},+    "pins": [+      {+        "number": "1",+        "name": "GND",+        "type": "power_in",+        "description": "Common ground reference. Connect directly to the USB bus ground."+      },+      {+        "number": "2",+        "name": "TXD",+        "type": "output",+        "description": "Serial data output (UART TX). Idles high on CH340C."+      },+      {+        "number": "3",+        "name": "RXD",+        "type": "input",+        "description": "Serial data input (UART RX) with internal software-controllable pull-up and pull-down."+      },+      {+        "number": "4",+        "name": "V3",+        "type": "power_in",+        "description": "Internal 3.3 V regulator node. In 5 V operation, connect a 0.1 uF decoupling capacitor to GND. In 3.3 V operation, tie V3 to VCC and to the external 3.3 V supply."+      },+      {+        "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 and transceiver are integrated)."+      },+      {+        "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": "NC",+        "type": "unconnected",+        "description": "No connect on CH340C. Must be left floating."+      },+      {+        "number": "8",+        "name": "OUT#/DTR#",+        "type": "output",+        "description": "MODEM general-purpose output signal (software defined, active low). On CH340C batches whose lot code starts with 4 and whose last three digits are greater than B40, adding a 4.7 kΩ pull-down converts this pin to a second DTR#."+      },+      {+        "number": "9",+        "name": "CTS#",+        "type": "input",+        "description": "MODEM Clear-To-Send handshake input, active low (or high when auxiliary RS-232 mode is enabled)."+      },+      {+        "number": "10",+        "name": "DSR#",+        "type": "input",+        "description": "MODEM Data Set Ready handshake input, active low (or high in auxiliary RS-232 mode)."+      },+      {+        "number": "11",+        "name": "RI#",+        "type": "input",+        "description": "MODEM Ring Indicator input, active low (or high in auxiliary RS-232 mode)."+      },+      {+        "number": "12",+        "name": "DCD#",+        "type": "input",+        "description": "MODEM Data Carrier Detect input, active low (or high in auxiliary RS-232 mode)."+      },+      {+        "number": "13",+        "name": "DTR#",+        "type": "output",+        "description": "MODEM Data Terminal Ready output, active low (or high in auxiliary RS-232 mode). Used for MCU DTR#-default-high one-key download flows."+      },+      {+        "number": "14",+        "name": "RTS#",+        "type": "output",+        "description": "MODEM Request To Send output, active low (or high in auxiliary RS-232 mode)."+      },+      {+        "number": "15",+        "name": "R232",+        "type": "input",+        "description": "Auxiliary RS-232 enable input, active high, with internal pull-down. When high, an inverter is inserted on RXD and the MODEM signal polarities invert. Sampled only once at power-on reset."+      },+      {+        "number": "16",+        "name": "VCC",+        "type": "power_in",+        "description": "Positive supply input. Requires a 0.1 uF decoupling capacitor to GND. Accepts 5 V (4.0-5.3 V) or 3.3 V (3.1-3.6 V, with V3 tied to VCC)."+      }+    ],+    "provenance": {+      "extractor": "ds2sf",+      "datasheet": {+        "url": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2403131141_WCH-Jiangsu-Qin-Heng-CH340C_C7464026.pdf",+        "pages": 10,+        "sha256": "ea6cde8472044256",+        "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"+    },+    "pin1": {+      "pad": "1",+      "at": [+        -2.475,+        -4.445+      ],+      "corner": "top-left",+      "source": "silk-marker",+      "derived_from": "SOIC-16_3.9x9.9mm_P1.27mm@sha256:f9b5075740f7816c",+      "mark": "drawn"+    }+  },+  "metadata": {+    "specs": {+      "Manufacturer": "Unknown",+      "Package": "SOP-16",+      "Category": "Interface",+      "Pins": "16"+    }   },-  "distributor_links": {},-  "pins": [-   {-    "number": "1",-    "name": "GND",-    "type": "power_in",-    "description": "Common ground reference. Connect directly to the USB bus ground."-   },-   {-    "number": "2",-    "name": "TXD",-    "type": "output",-    "description": "Serial data output (UART TX). Idles high on CH340C."-   },-   {-    "number": "3",-    "name": "RXD",-    "type": "input",-    "description": "Serial data input (UART RX) with internal software-controllable pull-up and pull-down."-   },-   {-    "number": "4",-    "name": "V3",-    "type": "power_in",-    "description": "Internal 3.3 V regulator node. In 5 V operation, connect a 0.1 uF decoupling capacitor to GND. In 3.3 V operation, tie V3 to VCC and to the external 3.3 V supply."-   },-   {-    "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 and transceiver are integrated)."-   },-   {-    "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": "NC",-    "type": "unconnected",-    "description": "No connect on CH340C. Must be left floating."-   },-   {-    "number": "8",-    "name": "OUT#/DTR#",-    "type": "output",-    "description": "MODEM general-purpose output signal (software defined, active low). On CH340C batches whose lot code starts with 4 and whose last three digits are greater than B40, adding a 4.7 k\u03a9 pull-down converts this pin to a second DTR#."-   },-   {-    "number": "9",-    "name": "CTS#",-    "type": "input",-    "description": "MODEM Clear-To-Send handshake input, active low (or high when auxiliary RS-232 mode is enabled)."-   },-   {-    "number": "10",-    "name": "DSR#",-    "type": "input",-    "description": "MODEM Data Set Ready handshake input, active low (or high in auxiliary RS-232 mode)."-   },-   {-    "number": "11",-    "name": "RI#",-    "type": "input",-    "description": "MODEM Ring Indicator input, active low (or high in auxiliary RS-232 mode)."-   },-   {-    "number": "12",-    "name": "DCD#",-    "type": "input",-    "description": "MODEM Data Carrier Detect input, active low (or high in auxiliary RS-232 mode)."-   },-   {-    "number": "13",-    "name": "DTR#",-    "type": "output",-    "description": "MODEM Data Terminal Ready output, active low (or high in auxiliary RS-232 mode). Used for MCU DTR#-default-high one-key download flows."-   },-   {-    "number": "14",-    "name": "RTS#",-    "type": "output",-    "description": "MODEM Request To Send output, active low (or high in auxiliary RS-232 mode)."-   },-   {-    "number": "15",-    "name": "R232",-    "type": "input",-    "description": "Auxiliary RS-232 enable input, active high, with internal pull-down. When high, an inverter is inserted on RXD and the MODEM signal polarities invert. Sampled only once at power-on reset."-   },-   {-    "number": "16",-    "name": "VCC",-    "type": "power_in",-    "description": "Positive supply input. Requires a 0.1 uF decoupling capacitor to GND. Accepts 5 V (4.0-5.3 V) or 3.3 V (3.1-3.6 V, with V3 tied to VCC)."-   }+  "sections": [+    "hero",+    "viewers",+    "readme",+    "breadcrumbs",+    "info"   ],-  "provenance": {-   "extractor": "ds2sf",-   "datasheet": {-    "url": "https://wmsc.lcsc.com/wmsc/upload/file/pdf/v2/lcsc/2403131141_WCH-Jiangsu-Qin-Heng-CH340C_C7464026.pdf",-    "pages": 10,-    "sha256": "ea6cde8472044256",-    "source_tier": "lcsc"-   },-   "cad": "KiCad official (CC-BY-SA 4.0)",-   "pins": {-    "total": 16,-    "described": 16,-    "cites_pages": true,-    "refuses_to_fabricate": true-   }+  "discovery_triggers": [+    "ch340c"+  ],+  "discovery_pitch": "CH340C (Unknown) component page with datasheet-verified CAD.",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  },+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"   },-  "viewers": {-   "symbol": "viewers/symbol.html",-   "footprint": "viewers/footprint.html"-  }- },- "metadata": {-  "specs": {-   "Manufacturer": "Unknown",-   "Package": "SOP-16",-   "Category": "Interface",-   "Pins": "16"-  }- },- "sections": [-  "hero",-  "viewers",-  "readme",-  "breadcrumbs",-  "info"- ],- "discovery_triggers": [-  "ch340c"- ],- "discovery_pitch": "CH340C (Unknown) component page with datasheet-verified CAD.",- "author": {-  "name": "Ray",-  "email": "[email protected]"- },- "dependencies": {},- "hero": {-  "type": "image",-  "path": "docs/hero.png"- },- "files": [-  "page.json",-  "README.md",-  "ch340c.kicad_sym",-  "ch340c.kicad_mod",-  "ch340c.glb",-  "ch340c.step",-  "ch340c.lbr",-  "docs/hero.png",-  "docs/ch340c-datasheet.pdf",-  "viewers/symbol.html",-  "viewers/footprint.html"- ]+  "files": [+    "page.json",+    "README.md",+    "ch340c.kicad_sym",+    "ch340c.kicad_mod",+    "ch340c.glb",+    "ch340c.step",+    "ch340c.lbr",+    "docs/hero.png",+    "docs/ch340c-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ] }\ No newline at end of file
viewers/footprint.html+1−1
@@ -23,7 +23,7 @@ rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke} #tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4} </style></head><body> <div class=bar><span class=h>PCB footprint</span><span class=sp></span><button class="lyrtog on" data-lyr="copper"><span class="d" style="background:#e35d5d"></span>Copper</button><button class="lyrtog on" data-lyr="silk"><span class="d" style="background:#e6edf3"></span>Silkscreen</button><button class="lyrtog" data-lyr="fab"><span class="d" style="background:#8b949e"></span>Fab</button><button class="lyrtog" data-lyr="courtyard"><span class="d" style="background:#bc8cff"></span>Courtyard</button></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-4.100 -5.600 8.200 11.200' style='width:100%;height:100%'><line class='ly-silk' x1='-2.060' y1='-5.060' x2='2.060' y2='-5.060' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-2.060' y1='-5.005' x2='-2.060' y2='-5.060' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-2.060' y1='5.060' x2='-2.060' y2='5.005' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.060' y1='-5.060' x2='2.060' y2='-5.005' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.060' y1='5.005' x2='2.060' y2='5.060' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.060' y1='5.060' x2='-2.060' y2='5.060' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-3.700' y1='-5.000' x2='-2.200' y2='-5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.700' y1='5.000' x2='-3.700' y2='-5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.200' y1='-5.200' x2='2.200' y2='-5.200' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.200' y1='-5.000' x2='-2.200' y2='-5.200' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.200' y1='5.000' x2='-3.700' y2='5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.200' y1='5.200' x2='-2.200' y2='5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.200' y1='-5.200' x2='2.200' y2='-5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.200' y1='-5.000' x2='3.700' y2='-5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.200' y1='5.000' x2='2.200' y2='5.200' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.200' y1='5.200' x2='-2.200' y2='5.200' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.700' y1='-5.000' x2='3.700' y2='5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.700' y1='5.000' x2='2.200' y2='5.000' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='GND' x='-3.450' y='-4.745' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='-4.445' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='TXD' x='-3.450' y='-3.475' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='-3.175' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='RXD' x='-3.450' y='-2.205' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='-1.905' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='V3' x='-3.450' y='-0.935' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='-0.635' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='UD+' x='-3.450' y='0.335' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='0.635' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='UD-' x='-3.450' y='1.605' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='1.905' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='NC' x='-3.450' y='2.875' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='3.175' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='NC' x='-3.450' y='4.145' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='4.445' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text><rect class='ly-copper pad' data-num='9' data-name='~{CTS}' x='1.500' y='4.145' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='4.445' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>9</text><rect class='ly-copper pad' data-num='10' data-name='~{DSR}' x='1.500' y='2.875' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='3.175' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>10</text><rect class='ly-copper pad' data-num='11' data-name='~{RI}' x='1.500' y='1.605' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='1.905' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>11</text><rect class='ly-copper pad' data-num='12' data-name='~{DCD}' x='1.500' y='0.335' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='0.635' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>12</text><rect class='ly-copper pad' data-num='13' data-name='~{DTR}' x='1.500' y='-0.935' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='-0.635' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>13</text><rect class='ly-copper pad' data-num='14' data-name='~{RTS}' x='1.500' y='-2.205' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='-1.905' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>14</text><rect class='ly-copper pad' data-num='15' data-name='R232' x='1.500' y='-3.475' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='-3.175' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>15</text><rect class='ly-copper pad' data-num='16' data-name='VCC' x='1.500' y='-4.745' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='-4.445' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>16</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-4.100 -5.600 8.200 11.200' style='width:100%;height:100%'><line class='ly-silk' x1='-2.060' y1='-5.060' x2='2.060' y2='-5.060' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-2.060' y1='-5.005' x2='-2.060' y2='-5.060' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='-2.060' y1='5.060' x2='-2.060' y2='5.005' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.060' y1='-5.060' x2='2.060' y2='-5.005' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.060' y1='5.005' x2='2.060' y2='5.060' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.060' y1='5.060' x2='-2.060' y2='5.060' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-3.700' y1='-5.000' x2='-2.200' y2='-5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.700' y1='5.000' x2='-3.700' y2='-5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.200' y1='-5.200' x2='2.200' y2='-5.200' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.200' y1='-5.000' x2='-2.200' y2='-5.200' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.200' y1='5.000' x2='-3.700' y2='5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.200' y1='5.200' x2='-2.200' y2='5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.200' y1='-5.200' x2='2.200' y2='-5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.200' y1='-5.000' x2='3.700' y2='-5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.200' y1='5.000' x2='2.200' y2='5.200' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.200' y1='5.200' x2='-2.200' y2='5.200' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.700' y1='-5.000' x2='3.700' y2='5.000' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.700' y1='5.000' x2='2.200' y2='5.000' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='GND' x='-3.450' y='-4.745' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='-4.445' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='TXD' x='-3.450' y='-3.475' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='-3.175' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='RXD' x='-3.450' y='-2.205' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='-1.905' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='V3' x='-3.450' y='-0.935' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='-0.635' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='UD+' x='-3.450' y='0.335' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='0.635' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='UD-' x='-3.450' y='1.605' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='1.905' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='NC' x='-3.450' y='2.875' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='3.175' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='NC' x='-3.450' y='4.145' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.475' y='4.445' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text><rect class='ly-copper pad' data-num='9' data-name='~{CTS}' x='1.500' y='4.145' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='4.445' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>9</text><rect class='ly-copper pad' data-num='10' data-name='~{DSR}' x='1.500' y='2.875' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='3.175' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>10</text><rect class='ly-copper pad' data-num='11' data-name='~{RI}' x='1.500' y='1.605' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='1.905' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>11</text><rect class='ly-copper pad' data-num='12' data-name='~{DCD}' x='1.500' y='0.335' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='0.635' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>12</text><rect class='ly-copper pad' data-num='13' data-name='~{DTR}' x='1.500' y='-0.935' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='-0.635' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>13</text><rect class='ly-copper pad' data-num='14' data-name='~{RTS}' x='1.500' y='-2.205' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='-1.905' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>14</text><rect class='ly-copper pad' data-num='15' data-name='R232' x='1.500' y='-3.475' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='-3.175' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>15</text><rect class='ly-copper pad' data-num='16' data-name='VCC' x='1.500' y='-4.745' width='1.950' height='0.600' rx='0.150' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.475' y='-4.445' font-size='0.360' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>16</text><polygon class='ly-silk adom-pin1' points='-2.600,-5.010 -2.840,-5.340 -2.360,-5.340' fill='#d8b4fe' stroke='none'><title>pin 1</title></polygon></svg></div> <div id=tip></div> <script> var KIND="footprint", MPN="RAY/CH340C", PINS=[{"desc":"","name":"GND","number":"1","type":""},{"desc":"","name":"TXD","number":"2","type":""},{"desc":"","name":"RXD","number":"3","type":""},{"desc":"","name":"V3","number":"4","type":""},{"desc":"","name":"UD+","number":"5","type":""},{"desc":"","name":"UD-","number":"6","type":""},{"desc":"","name":"NC","number":"7","type":""},{"desc":"","name":"NC","number":"8","type":""},{"desc":"","name":"~{CTS}","number":"9","type":""},{"desc":"","name":"~{DSR}","number":"10","type":""},{"desc":"","name":"~{RI}","number":"11","type":""},{"desc":"","name":"~{DCD}","number":"12","type":""},{"desc":"","name":"~{DTR}","number":"13","type":""},{"desc":"","name":"~{RTS}","number":"14","type":""},{"desc":"","name":"R232","number":"15","type":""},{"desc":"","name":"VCC","number":"16","type":""}];