main
Ray pin 1: carry the footprint's marker into the .lbr, the viewer and page.json (silk-marker, drawn, top-left) 865bdef 1mo ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647
{
 "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"
   }
  }
 ]
}