0% found this document useful (0 votes)
659 views1 page

ATmega328 Pin Diagram Cheat Sheet

This document provides a pin configuration cheat sheet for the Atmel ATmega328 microcontroller. It lists the functions of each pin including digital I/O, analog inputs for the ADC, serial communication pins for UART, SPI and I2C, external interrupts, timer functions and power pins. The pin names and numbers are displayed on a diagram of the microcontroller package with 28 pins.

Uploaded by

erxeto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
659 views1 page

ATmega328 Pin Diagram Cheat Sheet

This document provides a pin configuration cheat sheet for the Atmel ATmega328 microcontroller. It lists the functions of each pin including digital I/O, analog inputs for the ADC, serial communication pins for UART, SPI and I2C, external interrupts, timer functions and power pins. The pin names and numbers are displayed on a diagram of the microcontroller package with 28 pins.

Uploaded by

erxeto
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

AtmelwATmega328w

Pin Configuration Cheat Sheet

RESET.....Reset
XTAL1/2...External)Oscillator
INT0/1......External)Interrupt
PCINT0-23...Pin)Change)Interrupt

PCINT14

RESET

PC6

28

PC5

SCL

ADC5

PCINT13

PCINT16

RXD

PD0

27

PC4

SDA

ADC4

PCINT12

PCINT17

TXD

PD1

26

PC3

ADC3

PCINT11

PCINT18

INT0

PD2

25

PC2

ADC2

PCINT10

INT1

PD3

24

PC1

ADC1

PCINT9

PD4

23

PC0

ADC0

PCINT8

VCC

22

GND

GND

21

AREF

PCINT19

OCxA/OCxB...Timer)Compare)Output)))))))))))
PCINT20
ICP1........Timer1)Input)Capture

OC2B

XTAL1

PB6

20

AVCC

PCINT7

XTAL2

PB7

10

19

PB5

SCK

PCINT5
PCINT4

PCINT21

OC0B

PD5

11

18

PB4

MISO

PCINT22

OC0A

PD6

12

17

PB3

MOSI

OC2A

PCINT3

PD7

13

16

PB2

SS

OC1B

PCINT2

PB0

14

15

PB1

OC1A

PCINT1

PCINT0

ICP1

DigitalwI/O
Analogw(ADC)
Serial:wUART/SPI/I2C

RXD......UART)receive
TXD......UART)transmit
SS.......SPI)Slave)Select
MOSI.....SPI)Master)Out/Slave)In
MISO.....SPI)Master)In/Slave)Out
SCK......SPI)Clock
SDA......TWI)(I2C))Data
SCL......TWI)(I2C))Clock

PCINT6

PCINT23

ADC0-5...ADC)Input
AREF.....ADC)Voltage)Ref

ExternalwInterrupts
Timer
Power

www.crash-bang.com

You might also like