component
STC8G1K08-38I-TSSOP20
Public Made by Adomby adom
STC Micro Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.
← Commit history
pin 1: carry the footprint's marker into the .lbr, the viewer and page.json (silk-marker, drawn, top-left)
5 files changed
+662−3
package.json+2−1@@ -24,6 +24,7 @@ "docs/hero.png", "docs/stc8g1k08-38i-tssop20-datasheet.pdf", "viewers/symbol.html",- "viewers/footprint.html"+ "viewers/footprint.html",+ "pads.json" ] }
pads.jsonadded+647@@ -0,0 +1,647 @@+{+ "schema": "adom.pads/1",+ "slug": "stc8g1k08-38i-tssop20",+ "footprint": "TSSOP-20_4.4x6.5mm_P0.65mm",+ "generated_from": {+ "footprint": "TSSOP-20_4.4x6.5mm_P0.65mm@sha256:b7ca3a31dd45c122",+ "pins": "page.json:component.pins",+ "overrides": null+ },+ "pin1": {+ "pad": "1",+ "at": [+ -2.8625,+ -2.925+ ],+ "corner": "top-left",+ "source": "silk-marker",+ "derived_from": "TSSOP-20_4.4x6.5mm_P0.65mm@sha256:b7ca3a31dd45c122"+ },+ "pad_count": 20,+ "symbol_pins": [+ "1",+ "10",+ "11",+ "12",+ "13",+ "14",+ "15",+ "16",+ "17",+ "18",+ "19",+ "2",+ "20",+ "3",+ "4",+ "5",+ "6",+ "7",+ "8",+ "9"+ ],+ "paste_apertures": 0,+ "issues": [],+ "pads": [+ {+ "pad": "1",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ -2.925+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "1",+ "name": "P1.2/ADC2/SS/T2/ECI",+ "type": "bidirectional",+ "description": "General-purpose I/O P1.2. Muxed alt-functions: ADC channel 2 (analog input), SPI slave-select SS (I/O), Timer 2 external clock input (T2), and PCA external pulse input (ECI). Post-reset state: high-impedance input.",+ "is_pin1": true,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "2",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ -2.275+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "2",+ "name": "P1.3/ADC3/T2CLKO/MOSI",+ "type": "bidirectional",+ "description": "General-purpose I/O P1.3. Muxed alt-functions: ADC channel 3, Timer 2 clock-divider output (T2CLKO), and SPI master-out/slave-in (MOSI, I/O).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "3",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ -1.625+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "3",+ "name": "P1.4/ADC4/MISO/SDA",+ "type": "bidirectional",+ "description": "General-purpose I/O P1.4. Muxed alt-functions: ADC channel 4, SPI master-in/slave-out (MISO, I/O), and I2C data line (SDA, I/O, open-drain when used as I2C).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "4",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ -0.975+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "4",+ "name": "P1.5/ADC5/SCLK/SCL",+ "type": "bidirectional",+ "description": "General-purpose I/O P1.5. Muxed alt-functions: ADC channel 5, SPI clock (SCLK, I/O), and I2C clock line (SCL, I/O).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "5",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ -0.325+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "5",+ "name": "P1.6/ADC6/RxD_3/MCLKO_2/XTALO",+ "type": "bidirectional",+ "description": "General-purpose I/O P1.6. Muxed alt-functions: ADC channel 6, UART1 RxD alternate mapping 3, master-clock divider output (MCLKO_2), and external crystal output (XTALO) when using an external HSE crystal.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "6",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ 0.325+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "6",+ "name": "P1.7/ADC7/TxD_3/XTALI",+ "type": "bidirectional",+ "description": "General-purpose I/O P1.7. Muxed alt-functions: ADC channel 7, UART1 TxD alternate mapping 3, and external crystal input (XTALI) when using an external HSE crystal.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "7",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ 0.975+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "7",+ "name": "P5.4/NRST/MCLKO",+ "type": "bidirectional",+ "description": "General-purpose I/O P5.4. Alt-functions: active-low external reset input (NRST, low-level reset) when configured as reset pin, or master-clock divider output (MCLKO). When used as reset, the internal ~4 kΩ pull-up stays on; when used as I/O, that pull-up still enables for ~6.5 ms on power-up before auto-disable.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "8",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ 1.625+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "8",+ "name": "Vcc/AVcc/ADC_VRef+",+ "type": "power_in",+ "description": "Combined chip power supply (Vcc), analog ADC supply (AVcc) and ADC positive reference (ADC_VRef+). Operating supply 2.7-5.5 V typical for the STC8G family; this -38I variant is characterised over the 3.8-5.5 V industrial range. ADC_VRef+ must be tied to an external reference between 2.4 V and Vcc (floating causes leakage). Decouple with 10 µF bulk + 0.1 µF close to the pin.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "9",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ 2.275+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "9",+ "name": "P5.5",+ "type": "bidirectional",+ "description": "General-purpose I/O P5.5, no alt-functions on this package. Post-reset state: high-impedance input.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "10",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ 2.925+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "10",+ "name": "Gnd/AGnd",+ "type": "power_in",+ "description": "Combined digital and analog ground return. Digital Gnd and analog AGnd are bonded to a single package pin on TSSOP20.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "11",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ 2.925+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "11",+ "name": "P3.0/RxD/ADC8/INT4",+ "type": "bidirectional",+ "description": "General-purpose I/O P3.0. Muxed alt-functions: UART1 receive (RxD), ADC channel 8, and external interrupt 4 (INT4). After power-on P3.0 comes up in weak-pull-up / quasi-bidirectional mode (unlike other pins).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "12",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ 2.275+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "12",+ "name": "P3.1/TxD/ADC9",+ "type": "bidirectional",+ "description": "General-purpose I/O P3.1. Muxed alt-functions: UART1 transmit (TxD, output) and ADC channel 9. After power-on P3.1 comes up in weak-pull-up / quasi-bidirectional mode.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "13",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ 1.625+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "13",+ "name": "P3.2/INT0/ADC10/SCL_4/SCLK_4",+ "type": "bidirectional",+ "description": "General-purpose I/O P3.2. Muxed alt-functions: external interrupt 0 (INT0), ADC channel 10, I2C clock alternate mapping 4 (SCL_4), and SPI clock alternate mapping 4 (SCLK_4).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "14",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ 0.975+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "14",+ "name": "P3.3/INT1/ADC11/SDA_4/MISO_4",+ "type": "bidirectional",+ "description": "General-purpose I/O P3.3. Muxed alt-functions: external interrupt 1 (INT1), ADC channel 11, I2C data alternate mapping 4 (SDA_4), and SPI MISO alternate mapping 4 (MISO_4).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "15",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ 0.325+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "15",+ "name": "P3.4/T0/T1CLKO/ADC12/ECI_2/CMPO/MOSI_4",+ "type": "bidirectional",+ "description": "General-purpose I/O P3.4. Muxed alt-functions: Timer 0 external clock input (T0), Timer 1 clock-divider output (T1CLKO), ADC channel 12, PCA external pulse input alternate 2 (ECI_2), comparator output (CMPO), and SPI MOSI alternate mapping 4 (MOSI_4).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "16",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ -0.325+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "16",+ "name": "P3.5/T1/T0CLKO/ADC13/CCP0_2/SS_4",+ "type": "bidirectional",+ "description": "General-purpose I/O P3.5. Muxed alt-functions: Timer 1 external clock input (T1), Timer 0 clock-divider output (T0CLKO), ADC channel 13, PCA CCP0 capture/compare/PWM alternate mapping 2 (CCP0_2), and SPI slave-select alternate mapping 4 (SS_4).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "17",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ -0.975+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "17",+ "name": "P3.6/INT2/RxD_2/ADC14/CCP1_2/CMP-",+ "type": "bidirectional",+ "description": "General-purpose I/O P3.6. Muxed alt-functions: external interrupt 2 (INT2), UART1 RxD alternate mapping 2, ADC channel 14, PCA CCP1 alternate mapping 2 (CCP1_2), and comparator negative input (CMP-).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "18",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ -1.625+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "18",+ "name": "P3.7/INT3/TxD_2/CCP2/CCP2_2/CMP+",+ "type": "bidirectional",+ "description": "General-purpose I/O P3.7. Muxed alt-functions: external interrupt 3 (INT3), UART1 TxD alternate mapping 2, PCA CCP2 capture/compare/PWM (default and alternate 2 mappings), and comparator positive input (CMP+). Also serves as internal ADC15 reference tap (1.19 V bandgap) when configured for internal-reference measurements.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "19",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ -2.275+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "19",+ "name": "P1.0/RxD2/ADC0/CCP1",+ "type": "bidirectional",+ "description": "General-purpose I/O P1.0. Muxed alt-functions: UART2 receive (RxD2), ADC channel 0, and PCA CCP1 capture/compare/PWM (default mapping).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "20",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ -2.925+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "20",+ "name": "P1.1/TxD2/ADC1/CCP0",+ "type": "bidirectional",+ "description": "General-purpose I/O P1.1. Muxed alt-functions: UART2 transmit (TxD2), ADC channel 1, and PCA CCP0 capture/compare/PWM (default mapping).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ }+ ]+}
page.json+11@@ -168,6 +168,17 @@ "viewers": { "symbol": "viewers/symbol.html", "footprint": "viewers/footprint.html"+ },+ "pin1": {+ "pad": "1",+ "at": [+ -2.8625,+ -2.925+ ],+ "corner": "top-left",+ "source": "silk-marker",+ "derived_from": "TSSOP-20_4.4x6.5mm_P0.65mm@sha256:b7ca3a31dd45c122",+ "mark": "drawn" } }, "metadata": {
stc8g1k08-38i-tssop20.lbr+1−1@@ -78,7 +78,7 @@ <wire x1="2.3100" y1="-3.3850" x2="-2.3100" y2="-3.3850" width="0.1200" layer="21"/> <text x="0" y="4.262" size="1.27" layer="25" align="bottom-center">>NAME</text> <text x="0" y="-4.262" size="1.27" layer="27" align="top-center">>VALUE</text>-</package>+<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-3.8600" y="2.9300"/><vertex x="-4.1900" y="2.6900"/><vertex x="-4.1900" y="3.1700"/></polygon></package> </packages> <symbols> <symbol name="STC8G1K08-38I-TSSOP20">
viewers/footprint.html+1−1@@ -23,7 +23,7 @@ rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke} #tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4} </style></head><body> <div class=bar><span class=h>PCB footprint</span><span class=sp></span><button class="lyrtog on" data-lyr="copper"><span class="d" style="background:#e35d5d"></span>Copper</button><button class="lyrtog on" data-lyr="silk"><span class="d" style="background:#e6edf3"></span>Silkscreen</button><button class="lyrtog" data-lyr="fab"><span class="d" style="background:#8b949e"></span>Fab</button><button class="lyrtog" data-lyr="courtyard"><span class="d" style="background:#bc8cff"></span>Courtyard</button></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-4.250 -3.900 8.500 7.800' style='width:100%;height:100%'><line class='ly-silk' x1='-2.310' y1='-3.385' x2='2.310' y2='-3.385' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.310' y1='3.385' x2='-2.310' y2='3.385' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-3.850' y1='-3.380' x2='-2.450' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.850' y1='3.380' x2='-3.850' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-3.500' x2='2.450' y2='-3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-3.380' x2='-2.450' y2='-3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='3.380' x2='-3.850' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='3.500' x2='-2.450' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-3.500' x2='2.450' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-3.380' x2='3.850' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='3.380' x2='2.450' y2='3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='3.500' x2='-2.450' y2='3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='-3.380' x2='3.850' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='3.380' x2='2.450' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='P1.2/ADC2/SS/T2/ECI' x='-3.600' y='-3.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-2.925' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='P1.3/ADC3/T2CLKO/MOSI' x='-3.600' y='-2.475' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='P1.4/ADC4/MISO/SDA' x='-3.600' y='-1.825' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='P1.5/ADC5/SCLK/SCL' x='-3.600' y='-1.175' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='P1.6/ADC6/RxD_3/MCLKO_2/XTALO' x='-3.600' y='-0.525' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='P1.7/ADC7/TxD_3/XTALI' x='-3.600' y='0.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='P5.4/NRST/MCLKO' x='-3.600' y='0.775' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='Vcc/AVcc/ADC_VRef+' x='-3.600' y='1.425' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text><rect class='ly-copper pad' data-num='9' data-name='P5.5' x='-3.600' y='2.075' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>9</text><rect class='ly-copper pad' data-num='10' data-name='Gnd/AGnd' x='-3.600' y='2.725' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='2.925' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>10</text><rect class='ly-copper pad' data-num='11' data-name='P3.0/RxD/ADC8/INT4' x='2.125' y='2.725' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='2.925' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>11</text><rect class='ly-copper pad' data-num='12' data-name='P3.1/TxD/ADC9' x='2.125' y='2.075' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>12</text><rect class='ly-copper pad' data-num='13' data-name='P3.2/INT0/ADC10/SCL_4/SCLK_4' x='2.125' y='1.425' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>13</text><rect class='ly-copper pad' data-num='14' data-name='P3.3/INT1/ADC11/SDA_4/MISO_4' x='2.125' y='0.775' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>14</text><rect class='ly-copper pad' data-num='15' data-name='P3.4/T0/T1CLKO/ADC12/ECI_2/CMPO/MOSI_4' x='2.125' y='0.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>15</text><rect class='ly-copper pad' data-num='16' data-name='P3.5/T1/T0CLKO/ADC13/CCP0_2/SS_4' x='2.125' y='-0.525' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>16</text><rect class='ly-copper pad' data-num='17' data-name='P3.6/INT2/RxD_2/ADC14/CCP1_2/CMP-' x='2.125' y='-1.175' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>17</text><rect class='ly-copper pad' data-num='18' data-name='P3.7/INT3/TxD_2/CCP2/CCP2_2/CMP+' x='2.125' y='-1.825' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>18</text><rect class='ly-copper pad' data-num='19' data-name='P1.0/RxD2/ADC0/CCP1' x='2.125' y='-2.475' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>19</text><rect class='ly-copper pad' data-num='20' data-name='P1.1/TxD2/ADC1/CCP0' x='2.125' y='-3.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-2.925' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>20</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-4.250 -3.900 8.500 7.800' style='width:100%;height:100%'><line class='ly-silk' x1='-2.310' y1='-3.385' x2='2.310' y2='-3.385' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.310' y1='3.385' x2='-2.310' y2='3.385' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-3.850' y1='-3.380' x2='-2.450' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.850' y1='3.380' x2='-3.850' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-3.500' x2='2.450' y2='-3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-3.380' x2='-2.450' y2='-3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='3.380' x2='-3.850' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='3.500' x2='-2.450' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-3.500' x2='2.450' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-3.380' x2='3.850' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='3.380' x2='2.450' y2='3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='3.500' x2='-2.450' y2='3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='-3.380' x2='3.850' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='3.380' x2='2.450' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='P1.2/ADC2/SS/T2/ECI' x='-3.600' y='-3.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-2.925' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='P1.3/ADC3/T2CLKO/MOSI' x='-3.600' y='-2.475' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='P1.4/ADC4/MISO/SDA' x='-3.600' y='-1.825' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='P1.5/ADC5/SCLK/SCL' x='-3.600' y='-1.175' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='P1.6/ADC6/RxD_3/MCLKO_2/XTALO' x='-3.600' y='-0.525' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='P1.7/ADC7/TxD_3/XTALI' x='-3.600' y='0.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='P5.4/NRST/MCLKO' x='-3.600' y='0.775' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='Vcc/AVcc/ADC_VRef+' x='-3.600' y='1.425' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text><rect class='ly-copper pad' data-num='9' data-name='P5.5' x='-3.600' y='2.075' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>9</text><rect class='ly-copper pad' data-num='10' data-name='Gnd/AGnd' x='-3.600' y='2.725' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='2.925' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>10</text><rect class='ly-copper pad' data-num='11' data-name='P3.0/RxD/ADC8/INT4' x='2.125' y='2.725' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='2.925' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>11</text><rect class='ly-copper pad' data-num='12' data-name='P3.1/TxD/ADC9' x='2.125' y='2.075' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>12</text><rect class='ly-copper pad' data-num='13' data-name='P3.2/INT0/ADC10/SCL_4/SCLK_4' x='2.125' y='1.425' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>13</text><rect class='ly-copper pad' data-num='14' data-name='P3.3/INT1/ADC11/SDA_4/MISO_4' x='2.125' y='0.775' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>14</text><rect class='ly-copper pad' data-num='15' data-name='P3.4/T0/T1CLKO/ADC12/ECI_2/CMPO/MOSI_4' x='2.125' y='0.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>15</text><rect class='ly-copper pad' data-num='16' data-name='P3.5/T1/T0CLKO/ADC13/CCP0_2/SS_4' x='2.125' y='-0.525' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>16</text><rect class='ly-copper pad' data-num='17' data-name='P3.6/INT2/RxD_2/ADC14/CCP1_2/CMP-' x='2.125' y='-1.175' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>17</text><rect class='ly-copper pad' data-num='18' data-name='P3.7/INT3/TxD_2/CCP2/CCP2_2/CMP+' x='2.125' y='-1.825' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>18</text><rect class='ly-copper pad' data-num='19' data-name='P1.0/RxD2/ADC0/CCP1' x='2.125' y='-2.475' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>19</text><rect class='ly-copper pad' data-num='20' data-name='P1.1/TxD2/ADC1/CCP0' x='2.125' y='-3.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-2.925' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>20</text><polygon class='ly-silk adom-pin1' points='-3.860,-2.930 -4.190,-2.690 -4.190,-3.170' fill='#d8b4fe' stroke='none'><title>pin 1</title></polygon></svg></div> <div id=tip></div> <script> var KIND="footprint", MPN="RAY/STC8G1K08-38I-TSSOP20", PINS=[{"desc":"","name":"P1.2/ADC2/SS/T2/ECI","number":"1","type":""},{"desc":"","name":"P1.3/ADC3/T2CLKO/MOSI","number":"2","type":""},{"desc":"","name":"P1.4/ADC4/MISO/SDA","number":"3","type":""},{"desc":"","name":"P1.5/ADC5/SCLK/SCL","number":"4","type":""},{"desc":"","name":"P1.6/ADC6/RxD_3/MCLKO_2/XTALO","number":"5","type":""},{"desc":"","name":"P1.7/ADC7/TxD_3/XTALI","number":"6","type":""},{"desc":"","name":"P5.4/NRST/MCLKO","number":"7","type":""},{"desc":"","name":"Vcc/AVcc/ADC_VRef+","number":"8","type":""},{"desc":"","name":"P5.5","number":"9","type":""},{"desc":"","name":"Gnd/AGnd","number":"10","type":""},{"desc":"","name":"P1.1/TxD2/ADC1/CCP0","number":"20","type":""},{"desc":"","name":"P1.0/RxD2/ADC0/CCP1","number":"19","type":""},{"desc":"","name":"P3.7/INT3/TxD_2/CCP2/CCP2_2/CMP+","number":"18","type":""},{"desc":"","name":"P3.6/INT2/RxD_2/ADC14/CCP1_2/CMP-","number":"17","type":""},{"desc":"","name":"P3.5/T1/T0CLKO/ADC13/CCP0_2/SS_4","number":"16","type":""},{"desc":"","name":"P3.4/T0/T1CLKO/ADC12/ECI_2/CMPO/MOSI_4","number":"15","type":""},{"desc":"","name":"P3.3/INT1/ADC11/SDA_4/MISO_4","number":"14","type":""},{"desc":"","name":"P3.2/INT0/ADC10/SCL_4/SCLK_4","number":"13","type":""},{"desc":"","name":"P3.1/TxD/ADC9","number":"12","type":""},{"desc":"","name":"P3.0/RxD/ADC8/INT4","number":"11","type":""}];