← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C168778). The published library carried no attributes at all, so a BOM had nothing to buy from. Distributor PNs matched on exact MPN AND corroborating manufacturer.

Ray ·be3cba4760 · ·parent 09748fb
2 files changed +26−6
hy2120-lb.lbr+20−2
@@ -60,6 +60,18 @@   <smd name="4" x="1.1375" y="-0.9500" dx="1.3250" dy="0.6000" layer="1"/>   <smd name="5" x="1.1375" y="-0.0000" dx="1.3250" dy="0.6000" layer="1"/>   <smd name="6" x="1.1375" y="0.9500" dx="1.3250" dy="0.6000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-1.4500" y="1.5100"/>+    <vertex x="-1.6900" y="1.8400"/>+    <vertex x="-1.2100" y="1.8400"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-0.4000" y="1.4500"/>+    <vertex x="0.8000" y="1.4500"/>+    <vertex x="0.8000" y="-1.4500"/>+    <vertex x="-0.8000" y="-1.4500"/>+    <vertex x="-0.8000" y="1.0500"/>+  </polygon>   <wire x1="-0.9100" y1="1.5600" x2="0.9100" y2="1.5600" width="0.1200" layer="21"/>   <wire x1="-0.9100" y1="1.5100" x2="-0.9100" y2="1.5600" width="0.1200" layer="21"/>   <wire x1="-0.9100" y1="-1.5600" x2="-0.9100" y2="-1.5100" width="0.1200" layer="21"/>@@ -68,7 +80,7 @@   <wire x1="0.9100" y1="-1.5600" x2="-0.9100" y2="-1.5600" width="0.1200" layer="21"/>   <text x="0" y="2.212" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-2.212" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-1.4500" y="1.5100"/><vertex x="-1.6900" y="1.8400"/><vertex x="-1.2100" y="1.8400"/></polygon></package>+</package> </packages> <symbols> <symbol name="HY2120-LB">@@ -102,7 +114,13 @@         <connect gate="G$1" pin="VDD" pad="5"/>         <connect gate="G$1" pin="VC" pad="4"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="HY2120-LB" constant="no"/>+          <attribute name="MANUFACTURER" value="HYCON Tech" constant="no"/>+          <attribute name="LCSC_PN" value="C168778" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+6−4
@@ -26,7 +26,9 @@       "model_3d_step": "hy2120-lb.step",       "lbr": "hy2120-lb.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C168778"+    },     "pins": [       {         "number": "1",@@ -44,19 +46,19 @@         "number": "3",         "name": "CS",         "type": "input",-        "description": "Input pin for current sense and charger detect. Senses the voltage across the external MOSFET stack for discharge-overcurrent, short-circuit, and charge-overcurrent detection; also detects charger insertion. High-withstanding-voltage pin, V_CS absolute max VDD-33 to VDD+0.3 V. Typically connected to PB- through a 2kΩ resistor."+        "description": "Input pin for current sense and charger detect. Senses the voltage across the external MOSFET stack for discharge-overcurrent, short-circuit, and charge-overcurrent detection; also detects charger insertion. High-withstanding-voltage pin, V_CS absolute max VDD-33 to VDD+0.3 V. Typically connected to PB- through a 2k\u03a9 resistor."       },       {         "number": "4",         "name": "VC",         "type": "input",-        "description": "Center-tap input for the two-cell battery stack. Connects to the node between Cell1 and Cell2 through a 330Ω resistor with a 0.1µF filter cap to VSS; enables per-cell overcharge/overdischarge monitoring."+        "description": "Center-tap input for the two-cell battery stack. Connects to the node between Cell1 and Cell2 through a 330\u03a9 resistor with a 0.1\u00b5F filter cap to VSS; enables per-cell overcharge/overdischarge monitoring."       },       {         "number": "5",         "name": "VDD",         "type": "power_in",-        "description": "Positive supply pin (connects to the top of the 2-cell stack, PB+). Operating range 1.5V to 10V; absolute max VSS-0.3 to VSS+10V. Typical supply current 5µA (9µA max) at VDD=7.8V; 0.1µA max power-down at VDD=4.0V. Bypass with 0.1µF cap to VSS, feed via 330Ω series resistor."+        "description": "Positive supply pin (connects to the top of the 2-cell stack, PB+). Operating range 1.5V to 10V; absolute max VSS-0.3 to VSS+10V. Typical supply current 5\u00b5A (9\u00b5A max) at VDD=7.8V; 0.1\u00b5A max power-down at VDD=4.0V. Bypass with 0.1\u00b5F cap to VSS, feed via 330\u03a9 series resistor."       },       {         "number": "6",