← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C192734). 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 ·75f7cc88e9 · ·parent 17d5b0b
2 files changed +44−24
lm239adt.lbr+36−18
@@ -68,6 +68,18 @@   <smd name="12" x="2.4750" y="1.2700" dx="1.9500" dy="0.6000" layer="1"/>   <smd name="13" x="2.4750" y="2.5400" dx="1.9500" dy="0.6000" layer="1"/>   <smd name="14" x="2.4750" y="3.8100" dx="1.9500" dy="0.6000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-2.6000" y="4.3700"/>+    <vertex x="-2.8400" y="4.7000"/>+    <vertex x="-2.3600" y="4.7000"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-0.9750" y="4.3250"/>+    <vertex x="1.9500" y="4.3250"/>+    <vertex x="1.9500" y="-4.3250"/>+    <vertex x="-1.9500" y="-4.3250"/>+    <vertex x="-1.9500" y="3.3500"/>+  </polygon>   <wire x1="-2.0600" y1="4.4350" x2="2.0600" y2="4.4350" width="0.1200" layer="21"/>   <wire x1="-2.0600" y1="4.3700" x2="-2.0600" y2="4.4350" width="0.1200" layer="21"/>   <wire x1="-2.0600" y1="-4.4350" x2="-2.0600" y2="-4.3700" width="0.1200" layer="21"/>@@ -76,7 +88,7 @@   <wire x1="2.0600" y1="-4.4350" x2="-2.0600" y2="-4.4350" width="0.1200" layer="21"/>   <text x="0" y="5.385" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-5.385" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-2.6000" y="4.3700"/><vertex x="-2.8400" y="4.7000"/><vertex x="-2.3600" y="4.7000"/></polygon></package>+</package> </packages> <symbols> <symbol name="LM239ADT">@@ -89,17 +101,17 @@   <pin name="Output2" x="-17.78" y="7.62" length="middle" direction="out"/>   <pin name="Output1" x="-17.78" y="5.08" length="middle" direction="out"/>   <pin name="VCC+" x="-17.78" y="2.54" length="middle" direction="pwr"/>-  <pin name="Inverting input 1" x="-17.78" y="0" length="middle" direction="in"/>-  <pin name="Non-inverting input 1" x="-17.78" y="-2.54" length="middle" direction="in"/>-  <pin name="Inverting input 2" x="-17.78" y="-5.08" length="middle" direction="in"/>-  <pin name="Non-inverting input 2" x="-17.78" y="-7.62" length="middle" direction="in"/>+  <pin name="Inverting_input_1" x="-17.78" y="0" length="middle" direction="in"/>+  <pin name="Non-inverting_input_1" x="-17.78" y="-2.54" length="middle" direction="in"/>+  <pin name="Inverting_input_2" x="-17.78" y="-5.08" length="middle" direction="in"/>+  <pin name="Non-inverting_input_2" x="-17.78" y="-7.62" length="middle" direction="in"/>   <pin name="Output3" x="17.78" y="7.62" length="middle" direction="out" rot="R180"/>   <pin name="Output4" x="17.78" y="5.08" length="middle" direction="out" rot="R180"/>   <pin name="VCC-" x="17.78" y="2.54" length="middle" direction="pwr" rot="R180"/>-  <pin name="Non-inverting input 4" x="17.78" y="0" length="middle" direction="in" rot="R180"/>-  <pin name="Inverting input 4" x="17.78" y="-2.54" length="middle" direction="in" rot="R180"/>-  <pin name="Non-inverting input 3" x="17.78" y="-5.08" length="middle" direction="in" rot="R180"/>-  <pin name="Inverting input 3" x="17.78" y="-7.62" length="middle" direction="in" rot="R180"/>+  <pin name="Non-inverting_input_4" x="17.78" y="0" length="middle" direction="in" rot="R180"/>+  <pin name="Inverting_input_4" x="17.78" y="-2.54" length="middle" direction="in" rot="R180"/>+  <pin name="Non-inverting_input_3" x="17.78" y="-5.08" length="middle" direction="in" rot="R180"/>+  <pin name="Inverting_input_3" x="17.78" y="-7.62" length="middle" direction="in" rot="R180"/> </symbol> </symbols> <devicesets>@@ -114,19 +126,25 @@         <connect gate="G$1" pin="Output2" pad="1"/>         <connect gate="G$1" pin="Output1" pad="2"/>         <connect gate="G$1" pin="VCC+" pad="3"/>-        <connect gate="G$1" pin="Inverting input 1" pad="4"/>-        <connect gate="G$1" pin="Non-inverting input 1" pad="5"/>-        <connect gate="G$1" pin="Inverting input 2" pad="6"/>-        <connect gate="G$1" pin="Non-inverting input 2" pad="7"/>+        <connect gate="G$1" pin="Inverting_input_1" pad="4"/>+        <connect gate="G$1" pin="Non-inverting_input_1" pad="5"/>+        <connect gate="G$1" pin="Inverting_input_2" pad="6"/>+        <connect gate="G$1" pin="Non-inverting_input_2" pad="7"/>         <connect gate="G$1" pin="Output3" pad="14"/>         <connect gate="G$1" pin="Output4" pad="13"/>         <connect gate="G$1" pin="VCC-" pad="12"/>-        <connect gate="G$1" pin="Non-inverting input 4" pad="11"/>-        <connect gate="G$1" pin="Inverting input 4" pad="10"/>-        <connect gate="G$1" pin="Non-inverting input 3" pad="9"/>-        <connect gate="G$1" pin="Inverting input 3" pad="8"/>+        <connect gate="G$1" pin="Non-inverting_input_4" pad="11"/>+        <connect gate="G$1" pin="Inverting_input_4" pad="10"/>+        <connect gate="G$1" pin="Non-inverting_input_3" pad="9"/>+        <connect gate="G$1" pin="Inverting_input_3" pad="8"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="LM239ADT" constant="no"/>+          <attribute name="MANUFACTURER" value="STMicroelectronics" constant="no"/>+          <attribute name="LCSC_PN" value="C192734" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+8−6
@@ -26,13 +26,15 @@       "model_3d_step": "lm239adt.step",       "lbr": "lm239adt.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C192734"+    },     "pins": [       {         "number": "1",         "name": "Output2",         "type": "output",-        "description": "Open-collector output of comparator 2. Requires an external pull-up resistor to a positive rail (typ. ≤ Vcc+). Low output saturation voltage 250 mV typ at Isink = 4 mA; sink up to ~20 mA short-circuit to Vcc+."+        "description": "Open-collector output of comparator 2. Requires an external pull-up resistor to a positive rail (typ. \u2264 Vcc+). Low output saturation voltage 250 mV typ at Isink = 4 mA; sink up to ~20 mA short-circuit to Vcc+."       },       {         "number": "2",@@ -44,19 +46,19 @@         "number": "3",         "name": "VCC+",         "type": "power_in",-        "description": "Positive supply rail. Single-supply operation 2 to 36 V, or +Vcc in a split ±1 to ±18 V supply. Typ quiescent current 1.1 mA independent of Vcc."+        "description": "Positive supply rail. Single-supply operation 2 to 36 V, or +Vcc in a split \u00b11 to \u00b118 V supply. Typ quiescent current 1.1 mA independent of Vcc."       },       {         "number": "4",         "name": "Inverting input 1",         "type": "input",-        "description": "Inverting (-) input of comparator 1. Common-mode range includes ground: 0 to (Vcc+ − 1.5) V. Input bias current 25 nA typ; input offset ±1 mV typ (±2 mV max for A grade)."+        "description": "Inverting (-) input of comparator 1. Common-mode range includes ground: 0 to (Vcc+ \u2212 1.5) V. Input bias current 25 nA typ; input offset \u00b11 mV typ (\u00b12 mV max for A grade)."       },       {         "number": "5",         "name": "Non-inverting input 1",         "type": "input",-        "description": "Non-inverting (+) input of comparator 1. Common-mode range 0 to (Vcc+ − 1.5) V; differential input voltage rating ±36 V."+        "description": "Non-inverting (+) input of comparator 1. Common-mode range 0 to (Vcc+ \u2212 1.5) V; differential input voltage rating \u00b136 V."       },       {         "number": "6",@@ -98,7 +100,7 @@         "number": "12",         "name": "VCC-",         "type": "power_in",-        "description": "Negative supply / ground rail. Tie to GND in single-supply operation, or to −Vcc in a split ±1 to ±18 V supply."+        "description": "Negative supply / ground rail. Tie to GND in single-supply operation, or to \u2212Vcc in a split \u00b11 to \u00b118 V supply."       },       {         "number": "13",