← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C5240656). 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 ·26ba0d0016 ·1mo ago ·parent ce2c3d2
2 files changed +19−5
ams1117-2-5v.lbr+14−2
@@ -58,6 +58,12 @@   <smd name="2" x="-3.1500" y="-0.0000" dx="2.0000" dy="1.5000" layer="1"/>   <smd name="3" x="-3.1500" y="-2.3000" dx="2.0000" dy="1.5000" layer="1"/>   <smd name="4" x="3.1500" y="-0.0000" dx="2.0000" dy="3.8000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-3.1300" y="3.3100"/>+    <vertex x="-3.3700" y="3.6400"/>+    <vertex x="-2.8900" y="3.6400"/>+    <vertex x="-3.1300" y="3.3100"/>+  </polygon>   <wire x1="-1.8500" y1="3.4100" x2="1.9100" y2="3.4100" width="0.1200" layer="21"/>   <wire x1="-1.8500" y1="-3.4100" x2="1.9100" y2="-3.4100" width="0.1200" layer="21"/>   <wire x1="1.9100" y1="3.4100" x2="1.9100" y2="2.1500" width="0.1200" layer="21"/>@@ -69,7 +75,7 @@   <wire x1="1.8500" y1="3.3500" x2="1.8500" y2="-3.3500" width="0.1000" layer="51"/>   <text x="0" y="4.010" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-4.010" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-3.1300" y="3.3100"/><vertex x="-3.3700" y="3.6400"/><vertex x="-2.8900" y="3.6400"/><vertex x="-3.1300" y="3.3100"/></polygon></package>+</package> </packages> <symbols> <symbol name="AMS1117-2.5V">@@ -99,7 +105,13 @@         <connect gate="G$1" pin="VOUT@2" pad="4"/>         <connect gate="G$1" pin="VIN" pad="3"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="AMS1117-2.5V" constant="no"/>+          <attribute name="MANUFACTURER" value="MSKSEMI AMS1117 2 5V" constant="no"/>+          <attribute name="LCSC_PN" value="C5240656" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+5−3
@@ -26,7 +26,9 @@       "model_3d_step": "ams1117-2-5v.step",       "lbr": "ams1117-2-5v.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C5240656"+    },     "pins": [       {         "number": "1",@@ -38,13 +40,13 @@         "number": "2",         "name": "VOUT",         "type": "power_out",-        "description": "Regulated 2.5 V output (typ. 2.5 V, min 2.45 V, max 2.55 V at Vin=3.8 V, 0 ≤ Iout ≤ 1 A). Requires a ~10 uF tantalum output capacitor for stability."+        "description": "Regulated 2.5 V output (typ. 2.5 V, min 2.45 V, max 2.55 V at Vin=3.8 V, 0 \u2264 Iout \u2264 1 A). Requires a ~10 uF tantalum output capacitor for stability."       },       {         "number": "3",         "name": "VIN",         "type": "power_in",-        "description": "Unregulated input voltage. For the 2.5 V variant, Vin must be ≥ 3.8 V for full regulation (dropout ~1.3 V @ 1 A). Absolute maximum input voltage is 18 V; recommended maximum operating input is 15 V. Requires a ~10 uF tantalum bypass capacitor."+        "description": "Unregulated input voltage. For the 2.5 V variant, Vin must be \u2265 3.8 V for full regulation (dropout ~1.3 V @ 1 A). Absolute maximum input voltage is 18 V; recommended maximum operating input is 15 V. Requires a ~10 uF tantalum bypass capacitor."       },       {         "number": "4",