← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C25503847). 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 ·96019a58b0 · ·parent 0473c12
2 files changed +28−8
htp4056.lbr+20−2
@@ -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="HTP4056">@@ -111,7 +123,13 @@         <connect gate="G$1" pin="BAT" pad="5"/>         <connect gate="G$1" pin="GND@2" pad="9"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="HTP4056" constant="no"/>+          <attribute name="MANUFACTURER" value="HXY MOSFET" constant="no"/>+          <attribute name="LCSC_PN" value="C25503847" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+8−6
@@ -26,7 +26,9 @@       "model_3d_step": "htp4056.step",       "lbr": "htp4056.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C25503847"+    },     "pins": [       {         "number": "1",@@ -38,7 +40,7 @@         "number": "2",         "name": "PROG",         "type": "passive",-        "description": "Charge current program pin. An external resistor from PROG to GND sets the constant-current charge level (VPROG ≈ 1.0 V; IBAT = 1000 mA with RPROG = 1.4 kΩ). Can also be used to monitor charge current."+        "description": "Charge current program pin. An external resistor from PROG to GND sets the constant-current charge level (VPROG \u2248 1.0 V; IBAT = 1000 mA with RPROG = 1.4 k\u03a9). Can also be used to monitor charge current."       },       {         "number": "3",@@ -56,19 +58,19 @@         "number": "5",         "name": "BAT",         "type": "power_out",-        "description": "Battery charge output. Connects to the positive terminal of the single-cell Li-ion battery. Regulated float voltage 4.200 V; delivers up to ~1.0 A (ESOP-8) programmable charge current with ≤2 µA leakage when VCC is removed."+        "description": "Battery charge output. Connects to the positive terminal of the single-cell Li-ion battery. Regulated float voltage 4.200 V; delivers up to ~1.0 A (ESOP-8) programmable charge current with \u22642 \u00b5A leakage when VCC is removed."       },       {         "number": "6",         "name": "STDBY",         "type": "output",-        "description": "Open-drain charge-complete (standby) status indicator. Pulls low when the charge cycle terminates and the part enters standby; high-impedance otherwise. VOL ≤ 0.3 V at 5 mA sink; typically drives an LED to GND through a pull-up."+        "description": "Open-drain charge-complete (standby) status indicator. Pulls low when the charge cycle terminates and the part enters standby; high-impedance otherwise. VOL \u2264 0.3 V at 5 mA sink; typically drives an LED to GND through a pull-up."       },       {         "number": "7",         "name": "CHRG",         "type": "output",-        "description": "Open-drain charging status indicator. Pulls low while charging is in progress; high-impedance when charging is complete, in shutdown, or in fault. VOL ≤ 0.3 V at 5 mA sink; typically drives an LED to GND through a pull-up."+        "description": "Open-drain charging status indicator. Pulls low while charging is in progress; high-impedance when charging is complete, in shutdown, or in fault. VOL \u2264 0.3 V at 5 mA sink; typically drives an LED to GND through a pull-up."       },       {         "number": "8",@@ -80,7 +82,7 @@         "number": "9",         "name": "GND",         "type": "power_in",-        "description": "Exposed thermal pad on the underside of the ESOP-8 package. Must be soldered to the PCB ground plane for both electrical ground and heat sinking (θJA = 50 °C/W).",+        "description": "Exposed thermal pad on the underside of the ESOP-8 package. Must be soldered to the PCB ground plane for both electrical ground and heat sinking (\u03b8JA = 50 \u00b0C/W).",         "source": "renumbered-to-footprint-pad"       }     ],