← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C59442). 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 ·e260b0bf87 ·2mo ago ·parent 888c011
2 files changed +19−5
bts4140n.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="BTS4140N">@@ -99,7 +105,13 @@         <connect gate="G$1" pin="Vbb@2" pad="4"/>         <connect gate="G$1" pin="OUT" pad="3"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="BTS4140N" constant="no"/>+          <attribute name="MANUFACTURER" value="Infineon" constant="no"/>+          <attribute name="LCSC_PN" value="C59442" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+5−3
@@ -26,13 +26,15 @@       "model_3d_step": "bts4140n.step",       "lbr": "bts4140n.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C59442"+    },     "pins": [       {         "number": "1",         "name": "IN",         "type": "input",-        "description": "Current-controlled input. Activates the power switch when connected to GND (pin1 grounded). On-state input current I_IN(on) ≈ 0.3 mA typ (1 mA max). Input resistance R_I ≈ 1 kΩ (0.5-2.5 kΩ). Max input current ±15 mA. ESD ±1 kV."+        "description": "Current-controlled input. Activates the power switch when connected to GND (pin1 grounded). On-state input current I_IN(on) \u2248 0.3 mA typ (1 mA max). Input resistance R_I \u2248 1 k\u03a9 (0.5-2.5 k\u03a9). Max input current \u00b115 mA. ESD \u00b11 kV."       },       {         "number": "2",@@ -44,7 +46,7 @@         "number": "3",         "name": "OUT",         "type": "output",-        "description": "High-side switched output to the load. On-state resistance R_ON ≈ 1 Ω typ (1.5 Ω max @ 25 °C). Supports resistive, inductive and capacitive loads with output clamp V_ON(CL) ≥ 60 V during inductive switch-off."+        "description": "High-side switched output to the load. On-state resistance R_ON \u2248 1 \u03a9 typ (1.5 \u03a9 max @ 25 \u00b0C). Supports resistive, inductive and capacitive loads with output clamp V_ON(CL) \u2265 60 V during inductive switch-off."       },       {         "number": "4",