← Commit history

orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (LCSC_PN C559033). 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 ·77203df4f4 · ·parent 4e02b27
2 files changed +26−6
cn3130.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="CN3130">@@ -102,7 +114,13 @@         <connect gate="G$1" pin="GND" pad="5"/>         <connect gate="G$1" pin="VIN" pad="4"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="CN3130" constant="no"/>+          <attribute name="MANUFACTURER" value="ShangHai Consonance Elec" constant="no"/>+          <attribute name="LCSC_PN" value="C559033" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+6−4
@@ -26,7 +26,9 @@       "model_3d_step": "cn3130.step",       "lbr": "cn3130.lbr"     },-    "distributor_links": {},+    "distributor_links": {+      "lcsc": "C559033"+    },     "pins": [       {         "number": "1",@@ -38,7 +40,7 @@         "number": "2",         "name": "FB",         "type": "input",-        "description": "Battery voltage sense (feedback) input. Senses the positive terminal of the battery to precisely regulate the constant-voltage charge voltage, compensating for wire/contact resistance between the BAT pin and the cell. An optional resistor between FB and BAT can raise V_REG above 3.3V per V_REG = 3.3 + 3.707e-6 × Rx."+        "description": "Battery voltage sense (feedback) input. Senses the positive terminal of the battery to precisely regulate the constant-voltage charge voltage, compensating for wire/contact resistance between the BAT pin and the cell. An optional resistor between FB and BAT can raise V_REG above 3.3V per V_REG = 3.3 + 3.707e-6 \u00d7 Rx."       },       {         "number": "3",@@ -50,7 +52,7 @@         "number": "4",         "name": "VIN",         "type": "power_in",-        "description": "Positive supply input, 3.9 V to 6 V operating range (absolute max 6.5 V). Powers the internal circuitry and provides charge current to the battery. When V_IN − V_BAT < 15 mV the part enters low-power sleep mode (I_BAT < 3 uA)."+        "description": "Positive supply input, 3.9 V to 6 V operating range (absolute max 6.5 V). Powers the internal circuitry and provides charge current to the battery. When V_IN \u2212 V_BAT < 15 mV the part enters low-power sleep mode (I_BAT < 3 uA)."       },       {         "number": "5",@@ -62,7 +64,7 @@         "number": "6",         "name": "ISET",         "type": "bidirectional",-        "description": "Charge-current program and monitor pin. An external resistor R_ISET from ISET to GND sets the constant charge current: I_CH = (V_ISET × 986) / R_ISET. V_ISET is regulated to 0.36 V in trickle/pre-charge and to 1.205 V in constant-current mode, so the pin voltage can also be read to monitor instantaneous charge current."+        "description": "Charge-current program and monitor pin. An external resistor R_ISET from ISET to GND sets the constant charge current: I_CH = (V_ISET \u00d7 986) / R_ISET. V_ISET is regulated to 0.36 V in trickle/pre-charge and to 1.205 V in constant-current mode, so the pin voltage can also be read to monitor instantaneous charge current."       }     ],     "provenance": {