← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C18164399). 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 ·0c118a3f7c · ·parent 5a0c906
2 files changed +29−9
4056d.lbr+22−4
@@ -63,6 +63,18 @@   <smd name="7" x="2.4750" y="0.6350" dx="1.9500" dy="0.6000" layer="1"/>   <smd name="8" x="2.4750" y="1.9050" dx="1.9500" dy="0.6000" layer="1"/>   <smd name="9" x="0.0000" y="-0.0000" dx="2.4100" dy="3.3000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-2.6000" y="2.4700"/>+    <vertex x="-2.8400" y="2.8000"/>+    <vertex x="-2.3600" y="2.8000"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-0.9750" y="2.4500"/>+    <vertex x="1.9500" y="2.4500"/>+    <vertex x="1.9500" y="-2.4500"/>+    <vertex x="-1.9500" y="-2.4500"/>+    <vertex x="-1.9500" y="1.4750"/>+  </polygon>   <wire x1="-2.0600" y1="2.5600" x2="2.0600" y2="2.5600" width="0.1200" layer="21"/>   <wire x1="-2.0600" y1="2.4650" x2="-2.0600" y2="2.5600" width="0.1200" layer="21"/>   <wire x1="-2.0600" y1="-2.5600" x2="-2.0600" y2="-2.4650" width="0.1200" layer="21"/>@@ -71,7 +83,7 @@   <wire x1="2.0600" y1="-2.5600" x2="-2.0600" y2="-2.5600" width="0.1200" layer="21"/>   <text x="0" y="3.480" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-3.480" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-2.6000" y="2.4700"/><vertex x="-2.8400" y="2.8000"/><vertex x="-2.3600" y="2.8000"/></polygon></package>+</package> </packages> <symbols> <symbol name="4056D">@@ -89,7 +101,7 @@   <pin name="CHRG" x="17.78" y="0" length="middle" direction="out" rot="R180"/>   <pin name="STDBY" x="17.78" y="-2.54" length="middle" direction="out" rot="R180"/>   <pin name="BAT" x="17.78" y="-5.08" length="middle" direction="out" rot="R180"/>-  <pin name="EXPOSED PAD" x="-17.78" y="-7.62" length="middle" direction="pwr"/>+  <pin name="EXPOSED_PAD" x="-17.78" y="-7.62" length="middle" direction="pwr"/> </symbol> </symbols> <devicesets>@@ -109,9 +121,15 @@         <connect gate="G$1" pin="CHRG" pad="7"/>         <connect gate="G$1" pin="STDBY" pad="6"/>         <connect gate="G$1" pin="BAT" pad="5"/>-        <connect gate="G$1" pin="EXPOSED PAD" pad="9"/>+        <connect gate="G$1" pin="EXPOSED_PAD" pad="9"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="4056D" constant="no"/>+          <attribute name="MANUFACTURER" value="HL" constant="no"/>+          <attribute name="LCSC_PN" value="C18164399" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+7−5
@@ -26,7 +26,9 @@       "model_3d_step": "4056d.step",       "lbr": "4056d.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C18164399"+    },     "pins": [       {         "number": "1",@@ -38,7 +40,7 @@         "number": "2",         "name": "PROG",         "type": "bidirectional",-        "description": "Constant-current program pin and charge-current monitor. A resistor R_PROG to GND sets I_BAT = 1100 / R_PROG (A) (e.g. 1kΩ → 1000mA). Pin regulates to ~1.0V in current mode; leaving it floating puts the device into shutdown."+        "description": "Constant-current program pin and charge-current monitor. A resistor R_PROG to GND sets I_BAT = 1100 / R_PROG (A) (e.g. 1k\u03a9 \u2192 1000mA). Pin regulates to ~1.0V in current mode; leaving it floating puts the device into shutdown."       },       {         "number": "3",@@ -50,13 +52,13 @@         "number": "4",         "name": "VCC",         "type": "power_in",-        "description": "Positive input supply, 4.2V to 9.0V (typ. 5V, absolute max 9V). Bypass with 10µF to GND. UVLO threshold ~3.6V; VCC-adaptive circuit engages at ~4.3V to reduce charge current if the source droops."+        "description": "Positive input supply, 4.2V to 9.0V (typ. 5V, absolute max 9V). Bypass with 10\u00b5F to GND. UVLO threshold ~3.6V; VCC-adaptive circuit engages at ~4.3V to reduce charge current if the source droops."       },       {         "number": "5",         "name": "BAT",         "type": "power_out",-        "description": "Charge current output to the Li-ion battery positive terminal. Regulates to 4.2V float (±1%); delivers programmed CC current up to 1A, trickle current ~230mA below V_TRIKL (2.9V). Bypass with 10µF; reverse-battery protected (leakage <5mA)."+        "description": "Charge current output to the Li-ion battery positive terminal. Regulates to 4.2V float (\u00b11%); delivers programmed CC current up to 1A, trickle current ~230mA below V_TRIKL (2.9V). Bypass with 10\u00b5F; reverse-battery protected (leakage <5mA)."       },       {         "number": "6",@@ -74,7 +76,7 @@         "number": "8",         "name": "CE",         "type": "input",-        "description": "Chip enable input. Drive high to enable charging; drive low to place the device in shutdown (battery leakage <1µA, supply current <70µA). Absolute max range -0.3V to 10V."+        "description": "Chip enable input. Drive high to enable charging; drive low to place the device in shutdown (battery leakage <1\u00b5A, supply current <70\u00b5A). Absolute max range -0.3V to 10V."       },       {         "number": "9",