← Commit history

Update 3 file(s)

Ray ·893ddaceb4 · ·parent 036f32b
3 files changed +222−77
MCP3008.adom-lbr.json+162−37
@@ -14,7 +14,8 @@         "x": -600,         "y": 350,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "input"       },       {         "number": "2",@@ -22,7 +23,8 @@         "x": -600,         "y": 250,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "input"       },       {         "number": "3",@@ -30,7 +32,8 @@         "x": -600,         "y": 150,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "input"       },       {         "number": "4",@@ -38,7 +41,8 @@         "x": -600,         "y": 50,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "input"       },       {         "number": "5",@@ -46,7 +50,8 @@         "x": -600,         "y": -50,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "input"       },       {         "number": "6",@@ -54,7 +59,8 @@         "x": -600,         "y": -150,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "input"       },       {         "number": "7",@@ -62,7 +68,8 @@         "x": -600,         "y": -250,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "input"       },       {         "number": "8",@@ -70,7 +77,8 @@         "x": -600,         "y": -350,         "length": 100,-        "rotation": 0+        "rotation": 0,+        "electrical_type": "input"       },       {         "number": "9",@@ -78,7 +86,8 @@         "x": 200,         "y": -550,         "length": 100,-        "rotation": 90+        "rotation": 90,+        "electrical_type": "power_in"       },       {         "number": "10",@@ -86,23 +95,26 @@         "x": 600,         "y": -150,         "length": 100,-        "rotation": 180+        "rotation": 180,+        "electrical_type": "input"       },       {         "number": "11",-        "name": "Din",+        "name": "DIN",         "x": 600,         "y": -50,         "length": 100,-        "rotation": 180+        "rotation": 180,+        "electrical_type": "input"       },       {         "number": "12",-        "name": "Dout",+        "name": "DOUT",         "x": 600,         "y": 50,         "length": 100,-        "rotation": 180+        "rotation": 180,+        "electrical_type": "output"       },       {         "number": "13",@@ -110,7 +122,8 @@         "x": 600,         "y": 150,         "length": 100,-        "rotation": 180+        "rotation": 180,+        "electrical_type": "input"       },       {         "number": "14",@@ -118,27 +131,50 @@         "x": -100,         "y": -550,         "length": 100,-        "rotation": 90+        "rotation": 90,+        "electrical_type": "power_in"       },       {         "number": "15",-        "name": "Vref",+        "name": "VREF",         "x": -100,         "y": 550,         "length": 100,-        "rotation": 270+        "rotation": 270,+        "electrical_type": "power_in"       },       {         "number": "16",-        "name": "Vdd",+        "name": "VDD",         "x": 200,         "y": 550,         "length": 100,-        "rotation": 270+        "rotation": 270,+        "electrical_type": "power_in"       }     ],     "body": null,     "graphics": [+      {+        "kind": "rect",+        "x1": 150.0,+        "y1": -100.0,+        "x2": 275.0,+        "y2": 200.0,+        "width": 0.0,+        "filled": false,+        "fill_style": "none"+      },+      {+        "kind": "rect",+        "x1": 500.0,+        "y1": -450.0,+        "x2": -500.0,+        "y2": 450.0,+        "width": 10.0,+        "filled": true,+        "fill_style": "background"+      },       {         "kind": "polyline",         "points": [@@ -248,29 +284,66 @@           ]         ],         "width": 0.0+      }+    ],+    "designator_prefix": "U",+    "footprint": "SOIC-16_3.9x9.9mm_P1.27mm",+    "parameters": [+      {+        "name": "Value",+        "value": "MCP3008",+        "visible": true       },       {-        "kind": "rect",-        "x1": 150.0,-        "y1": -100.0,-        "x2": 275.0,-        "y2": 200.0,-        "width": 0.0,-        "filled": false+        "name": "Datasheet",+        "value": "https://ww1.microchip.com/downloads/en/DeviceDoc/21295d.pdf",+        "visible": true       },       {-        "kind": "rect",-        "x1": 500.0,-        "y1": -450.0,-        "x2": -500.0,-        "y2": 450.0,-        "width": 10.0,-        "filled": true+        "name": "Description",+        "value": "A/D Converter, 12-Bit, 8-Channel, SPI Interface , 2.7V-5.5V",+        "visible": true+      },+      {+        "name": "ki_keywords",+        "value": "12bit ADC Reference Single Supply SPI 8ch",+        "visible": true+      },+      {+        "name": "ki_fp_filters",+        "value": "DIP*W7.62mm* SOIC*3.9x9.9mm*P1.27mm*",+        "visible": true+      }+    ],+    "labels": [+      {+        "text": "MUX",+        "x": -250.0,+        "y": 0.0,+        "angle": 90,+        "justify_right": false,+        "bold": false,+        "size_mil": 50.0+      },+      {+        "text": "ADC",+        "x": -25.0,+        "y": 100.0,+        "angle": 0,+        "justify_right": false,+        "bold": false,+        "size_mil": 50.0+      },+      {+        "text": "CNTRL",+        "x": 235.00000000000003,+        "y": -65.0,+        "angle": 90,+        "justify_right": false,+        "bold": false,+        "size_mil": 50.0       }     ],-    "designator_prefix": "U",-    "footprint": "SOIC-16_3.9x9.9mm_P1.27mm",-    "parameters": [],     "pin_numbers_hidden": false,     "pin_names_hidden": false   },@@ -637,6 +710,58 @@         "y2": 5.0,         "width": 0.05       }+    ],+    "polys": [+      {+        "layer": {+          "role": "silk"+        },+        "points": [+          [+            -2.6,+            -5.01+          ],+          [+            -2.84,+            -5.34+          ],+          [+            -2.36,+            -5.34+          ]+        ],+        "width": 0.12,+        "filled": true+      },+      {+        "layer": {+          "role": "fab"+        },+        "points": [+          [+            -0.975,+            -4.95+          ],+          [+            1.95,+            -4.95+          ],+          [+            1.95,+            4.95+          ],+          [+            -1.95,+            4.95+          ],+          [+            -1.95,+            -3.975+          ]+        ],+        "width": 0.1,+        "filled": false+      }     ]   },   "connect": [
MCP3008.lbr+56−35
@@ -52,24 +52,36 @@ <library> <description>A/D Converter, 12-Bit, 8-Channel, SPI Interface , 2.7V-5.5V</description> <packages>-<package name="MCP3008">-  <description>MCP3008</description>-  <smd name="1" x="-2.4750" y="4.4450" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="2" x="-2.4750" y="3.1750" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="3" x="-2.4750" y="1.9050" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="4" x="-2.4750" y="0.6350" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="5" x="-2.4750" y="-0.6350" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="6" x="-2.4750" y="-1.9050" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="7" x="-2.4750" y="-3.1750" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="8" x="-2.4750" y="-4.4450" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="9" x="2.4750" y="-4.4450" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="10" x="2.4750" y="-3.1750" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="11" x="2.4750" y="-1.9050" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="12" x="2.4750" y="-0.6350" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="13" x="2.4750" y="0.6350" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="14" x="2.4750" y="1.9050" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="15" x="2.4750" y="3.1750" dx="1.9500" dy="0.6000" layer="1"/>-  <smd name="16" x="2.4750" y="4.4450" dx="1.9500" dy="0.6000" layer="1"/>+<package name="SOIC-16_3.9x9.9mm_P1.27mm">+  <description>SOIC-16, 3.9 x 9.9 mm, 1.27 mm pitch</description>+  <smd name="1" x="-2.4750" y="4.4450" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="2" x="-2.4750" y="3.1750" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="3" x="-2.4750" y="1.9050" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="4" x="-2.4750" y="0.6350" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="5" x="-2.4750" y="-0.6350" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="6" x="-2.4750" y="-1.9050" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="7" x="-2.4750" y="-3.1750" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="8" x="-2.4750" y="-4.4450" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="9" x="2.4750" y="-4.4450" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="10" x="2.4750" y="-3.1750" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="11" x="2.4750" y="-1.9050" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="12" x="2.4750" y="-0.6350" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="13" x="2.4750" y="0.6350" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="14" x="2.4750" y="1.9050" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="15" x="2.4750" y="3.1750" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <smd name="16" x="2.4750" y="4.4450" dx="1.9500" dy="0.6000" layer="1" roundness="50"/>+  <polygon width="0.1200" layer="21">+    <vertex x="-2.6000" y="5.0100"/>+    <vertex x="-2.8400" y="5.3400"/>+    <vertex x="-2.3600" y="5.3400"/>+  </polygon>+  <polygon width="0.1000" layer="51">+    <vertex x="-0.9750" y="4.9500"/>+    <vertex x="1.9500" y="4.9500"/>+    <vertex x="1.9500" y="-4.9500"/>+    <vertex x="-1.9500" y="-4.9500"/>+    <vertex x="-1.9500" y="3.9750"/>+  </polygon>   <wire x1="-2.0600" y1="5.0600" x2="2.0600" y2="5.0600" width="0.1200" layer="21"/>   <wire x1="-2.0600" y1="5.0050" x2="-2.0600" y2="5.0600" width="0.1200" layer="21"/>   <wire x1="-2.0600" y1="-5.0600" x2="-2.0600" y2="-5.0050" width="0.1200" layer="21"/>@@ -82,10 +94,12 @@ </packages> <symbols> <symbol name="MCP3008">+  <description>A/D Converter, 12-Bit, 8-Channel, SPI Interface , 2.7V-5.5V</description>   <wire x1="3.81" y1="-3.81" x2="6.985" y2="-3.81" width="0.254" layer="94"/>   <wire x1="6.985" y1="-3.81" x2="6.985" y2="3.81" width="0.254" layer="94"/>   <wire x1="6.985" y1="3.81" x2="3.81" y2="3.81" width="0.254" layer="94"/>   <wire x1="3.81" y1="3.81" x2="3.81" y2="-3.81" width="0.254" layer="94"/>+  <rectangle x1="12.7000" y1="-12.7000" x2="-12.7000" y2="10.1600" layer="94"/>   <wire x1="-7.6200" y1="8.8900" x2="-7.6200" y2="-11.4300" width="0.1524" layer="94"/>   <wire x1="-7.6200" y1="-11.4300" x2="-5.0800" y2="-10.1600" width="0.1524" layer="94"/>   <wire x1="-5.0800" y1="-10.1600" x2="-5.0800" y2="7.6200" width="0.1524" layer="94"/>@@ -101,8 +115,8 @@   <wire x1="-3.8100" y1="-3.1750" x2="-3.8100" y2="-11.4300" width="0.1524" layer="94"/>   <wire x1="-3.8100" y1="-11.4300" x2="-6.3500" y2="-11.4300" width="0.1524" layer="94"/>   <wire x1="-6.3500" y1="-11.4300" x2="-6.3500" y2="-10.7950" width="0.1524" layer="94"/>-  <text x="0" y="-1.27" size="1.27" layer="95" align="bottom-center">&gt;NAME</text>-  <text x="0" y="1.27" size="1.27" layer="96" align="top-center">&gt;VALUE</text>+  <text x="19.0500" y="-3.8100" size="1.27" layer="95" align="bottom-left">&gt;NAME</text>+  <text x="19.0500" y="3.8100" size="1.27" layer="96" align="top-left">&gt;VALUE</text>   <pin name="CH0" x="-15.24" y="7.62" length="short" direction="in"/>   <pin name="CH1" x="-15.24" y="5.08" length="short" direction="in"/>   <pin name="CH2" x="-15.24" y="2.54" length="short" direction="in"/>@@ -112,16 +126,16 @@   <pin name="CH6" x="-15.24" y="-7.62" length="short" direction="in"/>   <pin name="CH7" x="-15.24" y="-10.16" length="short" direction="in"/>   <pin name="DGND" x="5.08" y="-15.24" length="short" direction="pwr" rot="R90"/>-  <pin name="~{CS}/SHDN" x="15.24" y="-5.08" length="short" direction="in" rot="R180"/>-  <pin name="Din" x="15.24" y="-2.54" length="short" direction="in" rot="R180"/>-  <pin name="Dout" x="15.24" y="0" length="short" direction="out" rot="R180"/>+  <pin name="!CS!/SHDN" x="15.24" y="-5.08" length="short" direction="in" rot="R180"/>+  <pin name="DIN" x="15.24" y="-2.54" length="short" direction="in" rot="R180"/>+  <pin name="DOUT" x="15.24" y="0" length="short" direction="out" rot="R180"/>   <pin name="CLK" x="15.24" y="2.54" length="short" direction="in" rot="R180"/>   <pin name="AGND" x="-2.54" y="-15.24" length="short" direction="pwr" rot="R90"/>-  <pin name="Vref" x="-2.54" y="12.7" length="short" direction="pwr" rot="R270"/>-  <pin name="Vdd" x="5.08" y="12.7" length="short" direction="pwr" rot="R270"/>-  <text x="4.8100000000000005" y="-1.27" size="0.762" layer="94" font="vector" ratio="15">MUX</text>-  <text x="4.8100000000000005" y="1.27" size="0.762" layer="94" font="vector" ratio="15">ADC</text>-  <text x="5.985" y="-2.921" size="0.762" layer="94" font="vector" ratio="15" align="right">CNTRL</text>+  <pin name="VREF" x="-2.54" y="12.7" length="short" direction="pwr" rot="R270"/>+  <pin name="VDD" x="5.08" y="12.7" length="short" direction="pwr" rot="R270"/>+  <text x="-6.3500" y="-1.2700" size="0.762" layer="94" font="vector" ratio="15" rot="R90" align="center-left">MUX</text>+  <text x="-0.6350" y="1.2700" size="0.762" layer="94" font="vector" ratio="15" align="center-left">ADC</text>+  <text x="5.9690" y="-2.9210" size="0.762" layer="94" font="vector" ratio="15" rot="R90" align="center-left">CNTRL</text> </symbol> </symbols> <devicesets>@@ -131,7 +145,7 @@     <gate name="G$1" symbol="MCP3008" x="0" y="0"/>   </gates>   <devices>-    <device name="" package="MCP3008">+    <device name="" package="SOIC-16_3.9x9.9mm_P1.27mm">       <connects>         <connect gate="G$1" pin="CH0" pad="1"/>         <connect gate="G$1" pin="CH1" pad="2"/>@@ -142,15 +156,22 @@         <connect gate="G$1" pin="CH6" pad="7"/>         <connect gate="G$1" pin="CH7" pad="8"/>         <connect gate="G$1" pin="DGND" pad="9"/>-        <connect gate="G$1" pin="~{CS}/SHDN" pad="10"/>-        <connect gate="G$1" pin="Din" pad="11"/>-        <connect gate="G$1" pin="Dout" pad="12"/>+        <connect gate="G$1" pin="!CS!/SHDN" pad="10"/>+        <connect gate="G$1" pin="DIN" pad="11"/>+        <connect gate="G$1" pin="DOUT" pad="12"/>         <connect gate="G$1" pin="CLK" pad="13"/>         <connect gate="G$1" pin="AGND" pad="14"/>-        <connect gate="G$1" pin="Vref" pad="15"/>-        <connect gate="G$1" pin="Vdd" pad="16"/>+        <connect gate="G$1" pin="VREF" pad="15"/>+        <connect gate="G$1" pin="VDD" pad="16"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="MCP3008" constant="no"/>+          <attribute name="MANUFACTURER" value="Microchip Technology" constant="no"/>+          <attribute name="DATASHEET" value="https://ww1.microchip.com/downloads/en/DeviceDoc/21295d.pdf" constant="no"/>+          <attribute name="ADOM_WIKI" value="https://wiki.adom.inc/adom/mcp3008" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
page.json+4−5
@@ -90,7 +90,7 @@       },       {         "number": "10",-        "name": "CS/SHDN",+        "name": "~{CS}/SHDN",         "type": "input",         "description": "Active-low SPI chip select / shutdown input. Falling edge initiates a conversion cycle; driving high ends the conversion and places the device in low-power standby (typ. 5 nA). Must be held high between conversions."       },@@ -149,7 +149,7 @@       "review_fix": {         "at": "2026-11-10",         "by": "part-reviewer (Ray review)",-        "what": "Datasheet choice (symbol and page cited different documents): both now cite Microchip 21295D (MCP3004/3008) as the page cites; the symbol cited 21298C, the MCP3204/3208 datasheet."+        "what": "pin names set to the maker spelling from Microchip 21295D Package Types, MCP3008 PDIP/SOIC: 1 on the page, 4 on the symbol (numbers unchanged)."       }     },     "viewers": {@@ -259,6 +259,5 @@     }   ],   "description": "Microchip 8-channel 10-bit SPI ADC, SOIC-16. 200 ksps, single-ended or differential. The Raspberry Pi ADC. Datasheet-verified.",-  "org": "adom",-  "visibility": "public"-}\ No newline at end of file+  "org": "adom"+}