← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C156449). 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 ·f650348379 ·1mo ago ·parent e4c660f
2 files changed +28−8
page.json+8−6
@@ -26,7 +26,9 @@       "model_3d_step": "xt2052y2asr-g.step",       "lbr": "xt2052y2asr-g.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C156449"+    },     "pins": [       {         "number": "1",@@ -38,7 +40,7 @@         "number": "2",         "name": "ISET",         "type": "input",-        "description": "Charge-current program, monitor and shutdown pin. Charge current is set by a 1% resistor to GND: IBAT = (VISET/RISET) × 1000. In constant-current mode VISET ≈ 1.0V. Pulling ISET above 1.21V (via a 3µA internal pull-up when RISET is disconnected) puts the charger into shutdown (Icc drops to ~25µA); clamp voltage ≈ 2.4V. Reconnecting RISET to GND resumes normal operation."+        "description": "Charge-current program, monitor and shutdown pin. Charge current is set by a 1% resistor to GND: IBAT = (VISET/RISET) \u00d7 1000. In constant-current mode VISET \u2248 1.0V. Pulling ISET above 1.21V (via a 3\u00b5A internal pull-up when RISET is disconnected) puts the charger into shutdown (Icc drops to ~25\u00b5A); clamp voltage \u2248 2.4V. Reconnecting RISET to GND resumes normal operation."       },       {         "number": "3",@@ -50,25 +52,25 @@         "number": "4",         "name": "VIN",         "type": "power_in",-        "description": "Positive supply input, 4.25V-6.5V operating (absolute max 7V; OVP trips above 6.8V). Requires at least a 1µF bypass capacitor. When VIN falls to within 30mV of VBAT the charger stops and BAT-pin drain drops below 0.1µA."+        "description": "Positive supply input, 4.25V-6.5V operating (absolute max 7V; OVP trips above 6.8V). Requires at least a 1\u00b5F bypass capacitor. When VIN falls to within 30mV of VBAT the charger stops and BAT-pin drain drops below 0.1\u00b5A."       },       {         "number": "5",         "name": "VBAT",         "type": "power_out",-        "description": "Battery connection to the single-cell Li-ion pack positive terminal. Regulated float voltage 4.2V (±1%). When charging is complete and VIN is present, BAT draws ~2µA; if VIN is removed BAT draws <0.1µA (reverse-blocked). A ≥4.7µF capacitor on this pin is required for stable operation and no-battery detection."+        "description": "Battery connection to the single-cell Li-ion pack positive terminal. Regulated float voltage 4.2V (\u00b11%). When charging is complete and VIN is present, BAT draws ~2\u00b5A; if VIN is removed BAT draws <0.1\u00b5A (reverse-blocked). A \u22654.7\u00b5F capacitor on this pin is required for stable operation and no-battery detection."       },       {         "number": "6",         "name": "DONE",         "type": "output",-        "description": "Open-drain charge-complete status output. Pulled low by an internal NMOS when the charge cycle finishes (VOL ≈ 0.35V at 5mA); high-impedance otherwise. Can directly drive an LED or a microcontroller input."+        "description": "Open-drain charge-complete status output. Pulled low by an internal NMOS when the charge cycle finishes (VOL \u2248 0.35V at 5mA); high-impedance otherwise. Can directly drive an LED or a microcontroller input."       },       {         "number": "7",         "name": "CHRG",         "type": "output",-        "description": "Open-drain charge-in-progress status output. Pulled low by an internal NMOS while the battery is being charged (VOL ≈ 0.35V at 5mA); high-impedance otherwise. Pulses at ~2Hz (with 4.7µF on BAT) to indicate the no-battery condition."+        "description": "Open-drain charge-in-progress status output. Pulled low by an internal NMOS while the battery is being charged (VOL \u2248 0.35V at 5mA); high-impedance otherwise. Pulses at ~2Hz (with 4.7\u00b5F on BAT) to indicate the no-battery condition."       },       {         "number": "8",
xt2052y2asr-g.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="XT2052Y2ASR-G">@@ -111,7 +123,13 @@         <connect gate="G$1" pin="VBAT" pad="5"/>         <connect gate="G$1" pin="EPAD" pad="9"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="XT2052Y2ASR-G" constant="no"/>+          <attribute name="MANUFACTURER" value="NATLINEAR" constant="no"/>+          <attribute name="LCSC_PN" value="C156449" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>