← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C189961). 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 ·5c416caa65 ·1mo ago ·parent a14dcc0
2 files changed +28−8
ns4150b.lbr+20−2
@@ -62,6 +62,18 @@   <smd name="6" x="2.1125" y="-0.3250" dx="1.6250" dy="0.4000" layer="1"/>   <smd name="7" x="2.1125" y="0.3250" dx="1.6250" dy="0.4000" layer="1"/>   <smd name="8" x="2.1125" y="0.9750" dx="1.6250" dy="0.4000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-2.1600" y="1.4400"/>+    <vertex x="-2.4000" y="1.7700"/>+    <vertex x="-1.9200" y="1.7700"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-0.7500" y="1.5000"/>+    <vertex x="1.5000" y="1.5000"/>+    <vertex x="1.5000" y="-1.5000"/>+    <vertex x="-1.5000" y="-1.5000"/>+    <vertex x="-1.5000" y="0.7500"/>+  </polygon>   <wire x1="-1.6100" y1="1.6100" x2="1.6100" y2="1.6100" width="0.1200" layer="21"/>   <wire x1="-1.6100" y1="1.4350" x2="-1.6100" y2="1.6100" width="0.1200" layer="21"/>   <wire x1="-1.6100" y1="-1.6100" x2="-1.6100" y2="-1.4350" width="0.1200" layer="21"/>@@ -70,7 +82,7 @@   <wire x1="1.6100" y1="-1.6100" x2="-1.6100" y2="-1.6100" width="0.1200" layer="21"/>   <text x="0" y="2.388" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-2.388" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-2.1600" y="1.4400"/><vertex x="-2.4000" y="1.7700"/><vertex x="-1.9200" y="1.7700"/></polygon></package>+</package> </packages> <symbols> <symbol name="NS4150B">@@ -108,7 +120,13 @@         <connect gate="G$1" pin="VCC" pad="6"/>         <connect gate="G$1" pin="VON" pad="5"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="NS4150B" constant="no"/>+          <attribute name="MANUFACTURER" value="Shenzhen Nsiway Tech" constant="no"/>+          <attribute name="LCSC_PN" value="C189961" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+8−6
@@ -26,25 +26,27 @@       "model_3d_step": "ns4150b.step",       "lbr": "ns4150b.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C189961"+    },     "pins": [       {         "number": "1",         "name": "CTRL",         "type": "input",-        "description": "Operating mode control. Logic high (VIH ≥ 1.2V, up to VDD) enables the amplifier; logic low (VIL ≤ 0.2V) puts the device into shutdown. Typical shutdown leakage 0.1µA at VDD=3.6V."+        "description": "Operating mode control. Logic high (VIH \u2265 1.2V, up to VDD) enables the amplifier; logic low (VIL \u2264 0.2V) puts the device into shutdown. Typical shutdown leakage 0.1\u00b5A at VDD=3.6V."       },       {         "number": "2",         "name": "Bypass",         "type": "passive",-        "description": "Internal common-mode voltage bypass. Connect a 1µF ceramic capacitor from this pin to GND to filter the internal mid-supply reference."+        "description": "Internal common-mode voltage bypass. Connect a 1\u00b5F ceramic capacitor from this pin to GND to filter the internal mid-supply reference."       },       {         "number": "3",         "name": "INP",         "type": "input",-        "description": "Positive audio input. AC-coupled through a series capacitor and input resistor Rin; combined with the internal 240kΩ feedback resistor to set differential gain AVD = 240kΩ / Rin."+        "description": "Positive audio input. AC-coupled through a series capacitor and input resistor Rin; combined with the internal 240k\u03a9 feedback resistor to set differential gain AVD = 240k\u03a9 / Rin."       },       {         "number": "4",@@ -56,13 +58,13 @@         "number": "5",         "name": "VON",         "type": "output",-        "description": "Negative Class-D BTL audio output. Drives one side of the speaker load (4Ω or 8Ω); filterless PWM output, optional ferrite bead + 1nF cap for EMI suppression on long speaker leads."+        "description": "Negative Class-D BTL audio output. Drives one side of the speaker load (4\u03a9 or 8\u03a9); filterless PWM output, optional ferrite bead + 1nF cap for EMI suppression on long speaker leads."       },       {         "number": "6",         "name": "VCC",         "type": "power_in",-        "description": "Supply input and power stage supply. Recommended operating range 2.2V-5.0V (absolute max 5.25V). Decouple with a 1µF ceramic close to the pin, optionally add 10µF for low-frequency filtering."+        "description": "Supply input and power stage supply. Recommended operating range 2.2V-5.0V (absolute max 5.25V). Decouple with a 1\u00b5F ceramic close to the pin, optionally add 10\u00b5F for low-frequency filtering."       },       {         "number": "7",