← Commit history

Initial commit: component/atmega168-15ad

Ray ·80fb11f73e ·1mo ago
2 files changed +108
README.mdadded+74
@@ -0,0 +1,74 @@+# ATMEGA168-15AD++**Microchip Tech** · Microcontroller Units (MCUs/MPUs/SOCs) · TQFP-32(7x7)++ATMEGA168-15AD from Microchip Tech, in a TQFP-32(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | PD3/PCINT19/OC2B/INT1 | bidirectional | Port D bit 3. Alternate functions: pin-change interrupt 19 (PCINT19), Timer/Counter2 output-compare match B (OC2B, PWM), external interrupt 1 (INT1). |+| 2 | PD4/PCINT20/XCK/T0 | bidirectional | Port D bit 4. Alt: PCINT20, USART external clock (XCK), Timer/Counter0 external counter input (T0). |+| 3 | GND | power_in | Digital ground reference (0 V). |+| 4 | VCC | power_in | Digital supply voltage, 2.7-5.5 V. Decouple to GND with 100 nF close to the pin. |+| 5 | GND | power_in | Digital ground reference (0 V). Second GND pin for the digital rail. |+| 6 | VCC | power_in | Digital supply voltage, 2.7-5.5 V. Second VCC pin; tie to same rail as pin 4. |+| 7 | PB6/PCINT6/XTAL1/TOSC1 | bidirectional | Port B bit 6. Alt: PCINT6; crystal oscillator input (XTAL1) when external crystal is fuse-selected; asynchronous Timer/Counter2 osc input (TOSC1) when internal RC is selected and AS2=1. |+| 8 | PB7/PCINT7/XTAL2/TOSC2 | bidirectional | Port B bit 7. Alt: PCINT7; crystal oscillator output (XTAL2); Timer/Counter2 async osc pin (TOSC2). |+| 9 | PD5/PCINT21/OC0B/T1 | bidirectional | Port D bit 5. Alt: PCINT21, Timer/Counter0 output-compare B (OC0B, PWM), Timer/Counter1 external counter input (T1). |+| 10 | PD6/PCINT22/OC0A/AIN0 | bidirectional | Port D bit 6. Alt: PCINT22, Timer/Counter0 output-compare A (OC0A, PWM), analog-comparator positive input (AIN0). |+| 11 | PD7/PCINT23/AIN1 | bidirectional | Port D bit 7. Alt: PCINT23, analog-comparator negative input (AIN1). |+| 12 | PB0/PCINT0/CLKO/ICP1 | bidirectional | Port B bit 0. Alt: PCINT0, divided system clock output (CLKO, CKOUT fuse), Timer/Counter1 input-capture (ICP1). |+| 13 | PB1/PCINT1/OC1A | bidirectional | Port B bit 1. Alt: PCINT1, Timer/Counter1 output-compare A (OC1A, PWM). |+| 14 | PB2/PCINT2/SS/OC1B | bidirectional | Port B bit 2. Alt: PCINT2, SPI slave-select (SS, active-low; also selects master mode when configured as output), Timer/Counter1 output-compare B (OC1B, PWM). |+| 15 | PB3/PCINT3/OC2A/MOSI | bidirectional | Port B bit 3. Alt: PCINT3, Timer/Counter2 output-compare A (OC2A, PWM), SPI master-out/slave-in (MOSI) - also serial-programming data in (PDI/MOSI). |+| 16 | PB4/PCINT4/MISO | bidirectional | Port B bit 4. Alt: PCINT4, SPI master-in/slave-out (MISO) - also serial-programming data out (PDO/MISO). |+| 17 | PB5/SCK/PCINT5 | bidirectional | Port B bit 5. Alt: SPI clock (SCK), PCINT5 - also serial-programming clock during ISP. |+| 18 | AVCC | power_in | Analog supply pin for the A/D converter and Port C. Must be tied to VCC even if ADC is unused; if the ADC is used, connect to VCC through an LC/RC low-pass filter (typ. 10 uH + 100 nF). |+| 19 | ADC6 | input | Dedicated analog input, ADC channel 6 (10-bit). Available on TQFP/QFN packages only. Powered from AVCC; no digital I/O function. |+| 20 | AREF | passive | Analog reference for the A/D converter. Bypass to GND with 100 nF when an internal reference is used. |+| 21 | GND | power_in | Analog ground return; tie to the same ground plane as pins 3 and 5. |+| 22 | ADC7 | input | Dedicated analog input, ADC channel 7 (10-bit). Available on TQFP/QFN packages only. Powered from AVCC; no digital I/O function. |+| 23 | PC0/ADC0/PCINT8 | bidirectional | Port C bit 0. Alt: ADC channel 0 (10-bit), PCINT8. Powered from AVCC. |+| 24 | PC1/ADC1/PCINT9 | bidirectional | Port C bit 1. Alt: ADC1, PCINT9. |+| 25 | PC2/ADC2/PCINT10 | bidirectional | Port C bit 2. Alt: ADC2, PCINT10. |+| 26 | PC3/ADC3/PCINT11 | bidirectional | Port C bit 3. Alt: ADC3, PCINT11. |+| 27 | PC4/ADC4/SDA/PCINT12 | bidirectional | Port C bit 4. Alt: ADC4, TWI (I2C) data line SDA, PCINT12. Requires external pull-up (typ. 4.7 kΩ) when used as SDA. |+| 28 | PC5/ADC5/SCL/PCINT13 | bidirectional | Port C bit 5. Alt: ADC5, TWI (I2C) clock SCL, PCINT13. Requires external pull-up (typ. 4.7 kΩ) when used as SCL. |+| 29 | PC6/RESET/PCINT14 | input | Active-low reset input by default. Low level longer than the minimum pulse (see Table 8-1) generates a reset even without a running clock. When the RSTDISBL fuse is programmed the pin becomes general-purpose I/O PC6 (with reduced drive versus other Port C pins). |+| 30 | PD0/RXD/PCINT16 | bidirectional | Port D bit 0. Alt: USART receive data (RXD), PCINT16. |+| 31 | PD1/TXD/PCINT17 | bidirectional | Port D bit 1. Alt: USART transmit data (TXD), PCINT17. |+| 32 | PD2/INT0/PCINT18 | bidirectional | Port D bit 2. Alt: external interrupt 0 (INT0), PCINT18. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | Microchip Tech |+| Package | TQFP-32(7x7) |+| Category | Single Chip Microcomputer/Microcontroller |+| Pins | 32 |++## Ordering variants++Same part, different packaging or reel option.++- `ATMEGA168-15AD`+- `ATMEGA168-15AD15MD`++## CAD (KiCad official)++- Symbol: `ATMEGA168-15AD`+- Footprint: `Package_QFP:TQFP-32_7x7mm_P0.8mm`+- 3D model: TQFP-32(7x7) (KiCad packages3D, STEP)++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [Microchip Tech datasheet](https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588950694577778688) (288 pp, sha256 `b135fcb7cfdd8e96`, retrieved 2026-08-17, tier: lcsc)+- **Extractor:** `ds2sf` (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/atmega168-15ad-datasheet.pdf)
page.jsonadded+34
@@ -0,0 +1,34 @@+{+  "slug": "atmega168-15ad",+  "version": "0.1.0",+  "type": "component",+  "description": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TQFP-32(7x7). Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "single chip microcomputer-microcontroller",+    "atmega168-15ad"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "atmega168-15ad.kicad_sym",+    "atmega168-15ad.kicad_mod",+    "atmega168-15ad.glb",+    "atmega168-15ad.step",+    "atmega168-15ad.lbr",+    "docs/hero.png",+    "docs/atmega168-15ad-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "visibility": "public",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file