← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C668215). 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 ·68ebb9afd8 ·1mo ago ·parent 47d9839
2 files changed +26−6
page.json+6−4
@@ -26,7 +26,9 @@       "model_3d_step": "tp4054.step",       "lbr": "tp4054.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C668215"+    },     "pins": [       {         "number": "1",@@ -44,19 +46,19 @@         "number": "3",         "name": "BAT",         "type": "power_out",-        "description": "Charging current output to the Li-ion cell. Regulates the battery float voltage to 4.2V (±1%) and sources the programmed charge current (up to 600mA absolute max). Under battery-reverse (V_BAT = -4V) an internal ~0.7mA current flows to GND to protect the ESD diode. Absolute max V_BAT = 7V."+        "description": "Charging current output to the Li-ion cell. Regulates the battery float voltage to 4.2V (\u00b11%) and sources the programmed charge current (up to 600mA absolute max). Under battery-reverse (V_BAT = -4V) an internal ~0.7mA current flows to GND to protect the ESD diode. Absolute max V_BAT = 7V."       },       {         "number": "4",         "name": "VCC",         "type": "power_in",-        "description": "Positive supply input, 4.25V-6.5V (absolute max V_SS + 7V). Requires at least a 1µF bypass capacitor to GND. When V(BAT) - V(VCC) drops below ~30mV the part enters shutdown and I(BAT) falls below ~2µA."+        "description": "Positive supply input, 4.25V-6.5V (absolute max V_SS + 7V). Requires at least a 1\u00b5F bypass capacitor to GND. When V(BAT) - V(VCC) drops below ~30mV the part enters shutdown and I(BAT) falls below ~2\u00b5A."       },       {         "number": "5",         "name": "PROG",         "type": "bidirectional",-        "description": "Charge-current programming, charge-current monitoring, and shutdown pin. A resistor R_PROG from PROG to GND sets I_BAT: I_BAT = (V_PROG / R_PROG) × 1000, with V_PROG ≈ 1V in constant-current mode (e.g. R_PROG = 2kΩ → ~500mA, 10kΩ → ~100mA). A 2µA pull-up allows the pin to be pulled high (>1.21V) to shut the charger down (I_CC drops to ~25µA). Absolute max V_PROG = V_SS ± 0.3V nominal / max current 800µA."+        "description": "Charge-current programming, charge-current monitoring, and shutdown pin. A resistor R_PROG from PROG to GND sets I_BAT: I_BAT = (V_PROG / R_PROG) \u00d7 1000, with V_PROG \u2248 1V in constant-current mode (e.g. R_PROG = 2k\u03a9 \u2192 ~500mA, 10k\u03a9 \u2192 ~100mA). A 2\u00b5A pull-up allows the pin to be pulled high (>1.21V) to shut the charger down (I_CC drops to ~25\u00b5A). Absolute max V_PROG = V_SS \u00b1 0.3V nominal / max current 800\u00b5A."       }     ],     "provenance": {
tp4054.lbr+20−2
@@ -59,6 +59,18 @@   <smd name="3" x="-1.1375" y="-0.9500" dx="1.3250" dy="0.6000" layer="1"/>   <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.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="TP4054">@@ -100,7 +112,13 @@         <connect gate="G$1" pin="PROG" pad="5"/>         <connect gate="G$1" pin="VCC" pad="4"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="TP4054" constant="no"/>+          <attribute name="MANUFACTURER" value="UMW" constant="no"/>+          <attribute name="LCSC_PN" value="C668215" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>