← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C2943977). 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 ·3f05bc6a7f ·2mo ago ·parent f451200
2 files changed +26−6
ai01c.lbr+20−2
@@ -60,6 +60,18 @@   <smd name="4" x="1.1375" y="-0.9500" dx="1.3250" dy="0.6000" layer="1"/>   <smd name="5" x="1.1375" y="-0.0000" dx="1.3250" dy="0.6000" layer="1"/>   <smd name="6" x="1.1375" y="0.9500" dx="1.3250" dy="0.6000" layer="1"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-1.4500" y="1.5100"/>+    <vertex x="-1.6900" y="1.8400"/>+    <vertex x="-1.2100" y="1.8400"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-0.4000" y="1.4500"/>+    <vertex x="0.8000" y="1.4500"/>+    <vertex x="0.8000" y="-1.4500"/>+    <vertex x="-0.8000" y="-1.4500"/>+    <vertex x="-0.8000" y="1.0500"/>+  </polygon>   <wire x1="-0.9100" y1="1.5600" x2="0.9100" y2="1.5600" width="0.1200" layer="21"/>   <wire x1="-0.9100" y1="1.5100" x2="-0.9100" y2="1.5600" width="0.1200" layer="21"/>   <wire x1="-0.9100" y1="-1.5600" x2="-0.9100" y2="-1.5100" width="0.1200" layer="21"/>@@ -68,7 +80,7 @@   <wire x1="0.9100" y1="-1.5600" x2="-0.9100" y2="-1.5600" width="0.1200" layer="21"/>   <text x="0" y="2.212" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>   <text x="0" y="-2.212" size="1.27" layer="27" align="top-center">&gt;VALUE</text>-<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-1.4500" y="1.5100"/><vertex x="-1.6900" y="1.8400"/><vertex x="-1.2100" y="1.8400"/></polygon></package>+</package> </packages> <symbols> <symbol name="AI01C">@@ -102,7 +114,13 @@         <connect gate="G$1" pin="VDD" pad="5"/>         <connect gate="G$1" pin="MD" pad="4"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="AI01C" constant="no"/>+          <attribute name="MANUFACTURER" value="Sam wing" constant="no"/>+          <attribute name="LCSC_PN" value="C2943977" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+6−4
@@ -26,13 +26,15 @@       "model_3d_step": "ai01c.step",       "lbr": "ai01c.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C2943977"+    },     "pins": [       {         "number": "1",         "name": "OUT",         "type": "output",-        "description": "Key-detect output. Behavior is selected by MD: MD=floating gives an open-drain active-low output (requires external pull-up, e.g. 10 kΩ); MD=VDD gives push-pull active-high direct output; MD=GND gives a toggle/latch output (each press flips the state). Output sink current up to 10 mA at VCC=5 V; low-level output impedance ~50 Ω, high-Z ~100 MΩ."+        "description": "Key-detect output. Behavior is selected by MD: MD=floating gives an open-drain active-low output (requires external pull-up, e.g. 10 k\u03a9); MD=VDD gives push-pull active-high direct output; MD=GND gives a toggle/latch output (each press flips the state). Output sink current up to 10 mA at VCC=5 V; low-level output impedance ~50 \u03a9, high-Z ~100 M\u03a9."       },       {         "number": "2",@@ -44,7 +46,7 @@         "number": "3",         "name": "KEY",         "type": "input",-        "description": "Capacitive touch sense input. Connect to the touch pad/electrode through a series resistor RX (recommended 2 kΩ, range 0-5 kΩ). An optional CSEL capacitor (0-10 pF) from this pin to GND trims sensitivity; smaller CSEL = higher sensitivity, floating = maximum sensitivity."+        "description": "Capacitive touch sense input. Connect to the touch pad/electrode through a series resistor RX (recommended 2 k\u03a9, range 0-5 k\u03a9). An optional CSEL capacitor (0-10 pF) from this pin to GND trims sensitivity; smaller CSEL = higher sensitivity, floating = maximum sensitivity."       },       {         "number": "4",@@ -56,7 +58,7 @@         "number": "5",         "name": "VDD",         "type": "power_in",-        "description": "Positive supply input, 2.5 V to 6.5 V. Typical Idd ≈ 666 µA at 5 V, 394 µA at 3 V (active); ~11 µA (5 V) / ~7 µA (3 V) in sleep. A 20 Ω series resistor between the board VDD rail and this pin is recommended (do not omit), and a 100 nF decoupling cap should be placed as close as possible to the pin."+        "description": "Positive supply input, 2.5 V to 6.5 V. Typical Idd \u2248 666 \u00b5A at 5 V, 394 \u00b5A at 3 V (active); ~11 \u00b5A (5 V) / ~7 \u00b5A (3 V) in sleep. A 20 \u03a9 series resistor between the board VDD rail and this pin is recommended (do not omit), and a 100 nF decoupling cap should be placed as close as possible to the pin."       },       {         "number": "6",