ATMEGA1284P-PU

AVR microcontroller from Microchip in a PDIP-40 package, running up to 20MHz on a 1.8V~5.5V supply. It has 32 I/O pins, a 10bit ADC and 128KB of flash, and is used as the controller on a board.

AVR 8 Bit 20MHz PDIP-40 Microcontrollers RoHS

Maker
MICROCHIP
Package
PDIP-40
Category
ICs
Pins
40
Number of I/O
32
Operating Temperature
-40℃~+85℃
Voltage - Supply
1.8V~5.5V
CPU Maximum Speed
20MHz
Datasheet checked
Nov 28, 2026
Used in
1 open board
LCSC
C116839

Price at LCSC

QuantityEach
1+$11.9035
10+$10.2646
30+$9.2660
100+$8.4276

LCSC C116839, as of Nov 27, 2026, 15 in stock then. Prices change daily; see today's on LCSC.

ATMEGA1284P-PU symbol, 40 pins1(PCINT8/XC…2(PCINT9/CL…3(PCINT10/I…4(PCINT11/O…5(PCINT12/O…6(PCINT13/I…7(PCINT14/O…8(PCINT15/O…9!RESET10VCC11GND_112XTAL213XTAL114(PCINT24/R…15(PCINT25/T…16(PCINT26/R…17(PCINT27/T…18(PCINT28/X…19(PCINT29/O…20(PCINT30/O…40PA0_(ADC0/…39PA1_(ADC1/…38PA2_(ADC2/…37PA3_(ADC3/…36PA4_(ADC4/…35PA5_(ADC5/…34PA6_(ADC6/…33PA7_(ADC7/…32AREF31GND_230AVCC29PC7_(TOSC2…28PC6_(TOSC1…27PC5_(TDI/P…26PC4_(TDO/P…25PC3_(TMS/P…24PC2_(TCK/P…23PC1_(SDA/P…22PC0_(SCL/P…21PD7_(OC2A/…

Symbol

40 pins, drawn from its pin list

ATMEGA1284P-PU footprint, 40 pads, top view12345678910111213141516171819202122232425262728293031323334353637383940

Footprint

40 pads, top view, from Package_DIP:DIP-40_W15.24mm_Socket

ATMEGA1284P-PU, 3D model: KiCad library (Package_DIP/DIP-40_W15.24mm_Socket), CC BY-SA 4.0

3D model

3D model: KiCad library (Package_DIP/DIP-40_W15.24mm_Socket), CC BY-SA 4.0Download 3D model (STEP, 741 KB)

Download the ATMEGA1284P-PU for KiCad, Altium or EAGLE

Free, no account: the symbol and the footprint as a library of your tool, with a README of where each came from and its licence.

Symbol from the schematic of https://github.com/bitfixer/petdisk-max at 8b3cffb (GPL-3.0), footprint from KiCad's library (CC-BY-SA-4.0), each credited in the README. Check the pinout and the land pattern against the datasheet before you order boards.

Datasheet
Checked
Use it in a board

ATMEGA1284P-PU specifications

As LCSC lists them for C116839 (ATMEGA1284P-PU, MICROCHIP), read Nov 27, 2026.

ADC (Bit)
10bit
Number of I/O
32
Operating Temperature
-40℃~+85℃
Voltage - Supply
1.8V~5.5V
Program Memory Type
FLASH
Program Storage Size
128KB
EEPROM
4KB
CPU Core
AVR
Core Size
8 Bit
CPU Maximum Speed
20MHz
Oscillator Type
Built-in
Lifecycle
normal
RoHS
Compliant

ATMEGA1284P-PU pinout

40 pins, as the symbol and the footprint pair them.

PinNameType
1(PCINT8/XCK0/T0)_PB0Input/output
2(PCINT9/CLKO/T1)_PB1Input/output
3(PCINT10/INT2/AIN0)_PB2Input/output
4(PCINT11/OC0A/AIN1)_PB3Input/output
5(PCINT12/OC0B/!SS)_PB4Input/output
6(PCINT13/ICP3/MOSI)_PB5Input/output
7(PCINT14/OC3A/MISO)_PB6Input/output
8(PCINT15/OC3B/SCK)_PB7Input/output
9!RESETInput/output
10VCCInput/output
11GND_1Ground
12XTAL2Input/output
13XTAL1Input/output
14(PCINT24/RXD0/T3)_PD0Input/output
15(PCINT25/TXD0)_PD1Input/output
16(PCINT26/RXD1/INT0)_PD2Input/output
17(PCINT27/TXD1/INT1)_PD3Input/output
18(PCINT28/XCK1/OC1B)_PD4Input/output
19(PCINT29/OC1A)_PD5Input/output
20(PCINT30/OC2B/ICP)_PD6Input/output
21PD7_(OC2A/PCINT31)Input/output
22PC0_(SCL/PCINT16)Input/output
23PC1_(SDA/PCINT17)Input/output
24PC2_(TCK/PCINT18)Input/output
25PC3_(TMS/PCINT19)Input/output
26PC4_(TDO/PCINT20)Input/output
27PC5_(TDI/PCINT21)Input/output
28PC6_(TOSC1/PCINT22)Input/output
29PC7_(TOSC2/PCINT23)Input/output
30AVCCInput/output
31GND_2Ground
32AREFInput/output
33PA7_(ADC7/PCINT7)Input/output
34PA6_(ADC6/PCINT6)Input/output
35PA5_(ADC5/PCINT5)Input/output
36PA4_(ADC4/PCINT4)Input/output
37PA3_(ADC3/PCINT3)Input/output
38PA2_(ADC2/PCINT2)Input/output
39PA1_(ADC1/PCINT1)Input/output
40PA0_(ADC0/PCINT0)Input/output

Open-source boards that use the ATMEGA1284P-PU

1 so far, most stars first: see how others wired it.

Symbol, footprint and 3D model of the ATMEGA1284P-PU

Where each came from and under which licence

What the open-source boards that use it drew it with, where each came from and under which licence.

Footprint
From KiCad's library, Package_DIP:DIP-40_W15.24mm_Socket.
Licence: CC-BY-SA-4.0 · high confidence
3D model
From KiCad's library, Package_DIP:DIP-40_W15.24mm_Socket.
Licence: CC-BY-SA-4.0 · high confidence

Put the ATMEGA1284P-PU in a board.

Describe the board; Cherry Blossom picks the parts, wires the schematic, lays out the PCB and checks it.

By signing up, you agree to our Terms of Service and Privacy Policy.