component
ATMEGA168PA-AN
Public Made by Adomby adom
Microchip Tech Pre-ordered MCUs, TQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
ATMEGA168PA-AN
Microchip Tech · Pre-ordered MCUs · TQFP-32(7x7)
ATMEGA168PA-AN from Microchip Tech, in a TQFP-32(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | PD3 | bidirectional | Port D bit 3 with internal pull-up; alternate functions INT1, OC2B and PCINT19. |
| 2 | PD4 | bidirectional | Port D bit 4 with internal pull-up; alternate functions XCK, T0 and PCINT20. |
| 3 | GND | power_in | Ground. |
| 4 | VCC | power_in | Digital supply voltage. |
| 5 | GND | power_in | Ground. |
| 6 | VCC | power_in | Digital supply voltage. |
| 7 | PB6 | bidirectional | Port B bit 6; per clock fuse settings it is the input to the inverting oscillator amplifier (XTAL1) or TOSC1, with PCINT6. |
| 8 | PB7 | bidirectional | Port B bit 7; per clock fuse settings it is the output of the inverting oscillator amplifier (XTAL2) or TOSC2, with PCINT7. |
| 9 | PD5 | bidirectional | Port D bit 5 with internal pull-up; alternate functions T1, OC0B and PCINT21. |
| 10 | PD6 | bidirectional | Port D bit 6 with internal pull-up; alternate functions AIN0 (comparator positive input), OC0A and PCINT22. |
| 11 | PD7 | bidirectional | Port D bit 7 with internal pull-up; alternate functions AIN1 (comparator negative input) and PCINT23. |
| 12 | PB0 | bidirectional | Port B bit 0 with internal pull-up; alternate functions ICP1, CLKO (divided system clock output) and PCINT0. |
| 13 | PB1 | bidirectional | Port B bit 1 with internal pull-up; alternate functions OC1A and PCINT1. |
| 14 | PB2 | bidirectional | Port B bit 2 with internal pull-up; alternate functions SS (SPI slave select), OC1B and PCINT2. |
| 15 | PB3 | bidirectional | Port B bit 3 with internal pull-up; alternate functions MOSI, OC2A and PCINT3. |
| 16 | PB4 | bidirectional | Port B bit 4 with internal pull-up; alternate functions MISO and PCINT4. |
| 17 | PB5 | bidirectional | Port B bit 5 with internal pull-up; alternate functions SCK (SPI clock) and PCINT5. |
| 18 | AVCC | power_in | Supply voltage for the A/D converter, PC3:0 and ADC7:6; must be connected to VCC even if the ADC is unused, through a low-pass filter if the ADC is used. |
| 19 | ADC6 | input | Analog input to the 10-bit A/D converter (TQFP and VQFN only), powered from the analog supply. |
| 20 | AREF | input | Analog reference pin for the A/D converter. |
| 21 | GND | power_in | Ground. |
| 22 | ADC7 | input | Analog input to the 10-bit A/D converter (TQFP and VQFN only), powered from the analog supply. |
| 23 | PC0 | bidirectional | Port C bit 0 with internal pull-up; ADC0 input (uses analog power) and PCINT8. |
| 24 | PC1 | bidirectional | Port C bit 1 with internal pull-up; ADC1 input (uses analog power) and PCINT9. |
| 25 | PC2 | bidirectional | Port C bit 2 with internal pull-up; ADC2 input (uses analog power) and PCINT10. |
| 26 | PC3 | bidirectional | Port C bit 3 with internal pull-up; ADC3 input (uses analog power) and PCINT11. |
| 27 | PC4 | bidirectional | Port C bit 4 with internal pull-up; ADC4, SDA (2-wire data) and PCINT12; uses digital supply VCC. |
| 28 | PC5 | bidirectional | Port C bit 5 with internal pull-up; ADC5, SCL (2-wire clock) and PCINT13; uses digital supply VCC. |
| 29 | PC6/RESET | input | Reset input when RSTDISBL fuse is unprogrammed (a low level longer than the minimum pulse length generates a reset); I/O pin when the fuse is programmed; PCINT14. |
| 30 | PD0 | bidirectional | Port D bit 0 with internal pull-up; alternate functions RXD (USART input) and PCINT16. |
| 31 | PD1 | bidirectional | Port D bit 1 with internal pull-up; alternate functions TXD (USART output) and PCINT17. |
| 32 | PD2 | bidirectional | Port D bit 2 with internal pull-up; alternate functions INT0 and PCINT18. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | TQFP-32(7x7) |
| Category | Embedded Processors & Controllers |
| Pins | 32 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Power supply voltage | VCC | 1.8 | 5.5 | V | ATmega168PA-AN ordering table, 20 MHz | 633 | |
| Operating temperature (Industrial) | TA | -40 | 105 | °C | ATmega168PA-AN, Industrial | 633 | |
| Speed grade | 20 | MHz | 1.8 - 5.5 V | 633 | |||
| TWI bus capacitance limit | 400 | pF | 216 | ||||
| debugWIRE RESET pull-up resistor | 10 | kΩ | must not be smaller than 10k on dW/(RESET) line | 263 | |||
| Flash write/erase cycles | 10000 | cycles | Flash | 1 | |||
| EEPROM write/erase cycles | 100000 | cycles | EEPROM | 1 | |||
| Watchdog time-out, 512 cycles | tTOUT | 4.1 | ms | VCC = 5.0V | 38 |
CAD (KiCad official)
- Symbol:
ATMEGA168PA-AN - Footprint:
Package_QFP:TQFP-32_7x7mm_P0.8mm - 3D model: TQFP-32(7x7) (KiCad packages3D, STEP)
- 3D model files:
atmega168pa-an-etched.step/atmega168pa-an-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);atmega168pa-an.step/atmega168pa-an.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (653 pp, sha256
b9b9d83cda56a95d, retrieved 2026-10-31, tier: manufacturer) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-sonnet-5-5(text), consensusclaude-sonnet-5-5(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).
# ATMEGA168PA-AN
**Microchip Tech** · Pre-ordered MCUs · TQFP-32(7x7)
ATMEGA168PA-AN from Microchip Tech, in a TQFP-32(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.
## Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | PD3 | bidirectional | Port D bit 3 with internal pull-up; alternate functions INT1, OC2B and PCINT19. |
| 2 | PD4 | bidirectional | Port D bit 4 with internal pull-up; alternate functions XCK, T0 and PCINT20. |
| 3 | GND | power_in | Ground. |
| 4 | VCC | power_in | Digital supply voltage. |
| 5 | GND | power_in | Ground. |
| 6 | VCC | power_in | Digital supply voltage. |
| 7 | PB6 | bidirectional | Port B bit 6; per clock fuse settings it is the input to the inverting oscillator amplifier (XTAL1) or TOSC1, with PCINT6. |
| 8 | PB7 | bidirectional | Port B bit 7; per clock fuse settings it is the output of the inverting oscillator amplifier (XTAL2) or TOSC2, with PCINT7. |
| 9 | PD5 | bidirectional | Port D bit 5 with internal pull-up; alternate functions T1, OC0B and PCINT21. |
| 10 | PD6 | bidirectional | Port D bit 6 with internal pull-up; alternate functions AIN0 (comparator positive input), OC0A and PCINT22. |
| 11 | PD7 | bidirectional | Port D bit 7 with internal pull-up; alternate functions AIN1 (comparator negative input) and PCINT23. |
| 12 | PB0 | bidirectional | Port B bit 0 with internal pull-up; alternate functions ICP1, CLKO (divided system clock output) and PCINT0. |
| 13 | PB1 | bidirectional | Port B bit 1 with internal pull-up; alternate functions OC1A and PCINT1. |
| 14 | PB2 | bidirectional | Port B bit 2 with internal pull-up; alternate functions SS (SPI slave select), OC1B and PCINT2. |
| 15 | PB3 | bidirectional | Port B bit 3 with internal pull-up; alternate functions MOSI, OC2A and PCINT3. |
| 16 | PB4 | bidirectional | Port B bit 4 with internal pull-up; alternate functions MISO and PCINT4. |
| 17 | PB5 | bidirectional | Port B bit 5 with internal pull-up; alternate functions SCK (SPI clock) and PCINT5. |
| 18 | AVCC | power_in | Supply voltage for the A/D converter, PC3:0 and ADC7:6; must be connected to VCC even if the ADC is unused, through a low-pass filter if the ADC is used. |
| 19 | ADC6 | input | Analog input to the 10-bit A/D converter (TQFP and VQFN only), powered from the analog supply. |
| 20 | AREF | input | Analog reference pin for the A/D converter. |
| 21 | GND | power_in | Ground. |
| 22 | ADC7 | input | Analog input to the 10-bit A/D converter (TQFP and VQFN only), powered from the analog supply. |
| 23 | PC0 | bidirectional | Port C bit 0 with internal pull-up; ADC0 input (uses analog power) and PCINT8. |
| 24 | PC1 | bidirectional | Port C bit 1 with internal pull-up; ADC1 input (uses analog power) and PCINT9. |
| 25 | PC2 | bidirectional | Port C bit 2 with internal pull-up; ADC2 input (uses analog power) and PCINT10. |
| 26 | PC3 | bidirectional | Port C bit 3 with internal pull-up; ADC3 input (uses analog power) and PCINT11. |
| 27 | PC4 | bidirectional | Port C bit 4 with internal pull-up; ADC4, SDA (2-wire data) and PCINT12; uses digital supply VCC. |
| 28 | PC5 | bidirectional | Port C bit 5 with internal pull-up; ADC5, SCL (2-wire clock) and PCINT13; uses digital supply VCC. |
| 29 | PC6/RESET | input | Reset input when RSTDISBL fuse is unprogrammed (a low level longer than the minimum pulse length generates a reset); I/O pin when the fuse is programmed; PCINT14. |
| 30 | PD0 | bidirectional | Port D bit 0 with internal pull-up; alternate functions RXD (USART input) and PCINT16. |
| 31 | PD1 | bidirectional | Port D bit 1 with internal pull-up; alternate functions TXD (USART output) and PCINT17. |
| 32 | PD2 | bidirectional | Port D bit 2 with internal pull-up; alternate functions INT0 and PCINT18. |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | TQFP-32(7x7) |
| Category | Embedded Processors & Controllers |
| Pins | 32 |
## Electrical characteristics
Limits as printed in the datasheet (page.json `metadata.characteristics` carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Power supply voltage | VCC | 1.8 | | 5.5 | V | ATmega168PA-AN ordering table, 20 MHz | 633 |
| Operating temperature (Industrial) | TA | -40 | | 105 | °C | ATmega168PA-AN, Industrial | 633 |
| Speed grade | | | | 20 | MHz | 1.8 - 5.5 V | 633 |
| TWI bus capacitance limit | | | | 400 | pF | | 216 |
| debugWIRE RESET pull-up resistor | | 10 | | | kΩ | must not be smaller than 10k on dW/(RESET) line | 263 |
| Flash write/erase cycles | | | 10000 | | cycles | Flash | 1 |
| EEPROM write/erase cycles | | | 100000 | | cycles | EEPROM | 1 |
| Watchdog time-out, 512 cycles | tTOUT | | 4.1 | | ms | VCC = 5.0V | 38 |
## CAD (KiCad official)
- Symbol: `ATMEGA168PA-AN`
- Footprint: `Package_QFP:TQFP-32_7x7mm_P0.8mm`
- 3D model: TQFP-32(7x7) (KiCad packages3D, STEP)
- 3D model files: `atmega168pa-an-etched.step` / `atmega168pa-an-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `atmega168pa-an.step` / `atmega168pa-an.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [Microchip Tech datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061B.pdf) (653 pp, sha256 `b9b9d83cda56a95d`, retrieved 2026-10-31, tier: manufacturer)
- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-sonnet-5-5` (text), consensus `claude-sonnet-5-5` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
- **CAD:** KiCad official libraries (CC-BY-SA 4.0).
[Datasheet PDF](docs/atmega168pa-an-datasheet.pdf)