ATMega328P Pinout Diagram with Arduino Functions
ATMega328P is an 8-bit microcontroller. It is a low-power controller based on AVR RISC Architecture and designed by CMOS Technology. It provides very high performance. It comes with multiple programming methods and has an internal protection circuit(i.e. internal temperature sensor).
ATMega328P Pinout Diagram
Here, you can see the pin diagram of ATMega328P Microcontroller
You can see, the ATMega328P has a total of 28 pins.
Pin Configuration
Pin No. 1 - It is named as 'RESET'. It is an active low pin. When this pin goes low the microcontroller and its program get reset.
Pin No. 2 - It is an input pin for serial communication(RX).
Pin No.3 - It is an output pon for serial communication(TX).
Pin No.4 - External Interrupt 0
Pin No.5 - External Interrupt 1
Pin No.6 - External Counter Source(Timer 0)
Pin No.7 - Positive input power pin
Pin No.8 - Negative or Ground Pin
Pin No.9 - (XTAL1)It is connected to one pin of the external crystal oscillator.
Pin No.10 - (XTAL12It is connected to another pin of the external crystal oscillator.
Pin No.11 - External Counter Source(Timer1)
Pin No.12 - Positive Analog Comparator i/ps
Pin No.13 - Negative Analog Comparator i/ps
Pin No.14 - Timer or counter input source
Pin No.15 - Counter or Timer compare match A.
Pin No.16 - Slave Choice i/p.
Pin No.17 - Master data output/slave data input for SPI
Pin No.18 - Master clock input/slave clock output
Pin No.19 - Master Clock Output/Slave Clock input for SPI
Pin No.20 - Positive voltage for Analog to Digital Converter(ADC) Power.
Pin No.21 - Reference voltage pin for ADC
Pin No.22 - Ground Pin
Pin No.23 - Analog Input Digital Value Channel 0
Pin No.24 - Analog Input Digital Value Channel 1
Pin No.25 - Analog Input Digital Value Channel 2
Pin No.26 - Analog Input Digital Value Channel 3
Pin No.27 - Analog Input Digital Value Channel 4/Serial Interface Connection for data
Pin No.28 - Analog Input Digital Value Channel 5/Serial Interface Clock Line
Specification/Features
- CPU - 8-bit AVR
- Operating Voltage +1.8V to +5.5V
- 23 number programmable I/O Lines
- Communication Interfaces - Master/Slave SPI Serial Interface, Programmable Serial USART, Two-Wire Serial Interface
- ADC Module - 6Channels, 10-bit resolution
- Timer Module - Two 8-bit Counter, One 16-bit counter
- PWM Channels - 6
- Program Memory Type - Flash(32Kbytes)
- Internal Oscillator - 8MHz calibrated internal oscillator
- External Oscillator Support - 0-4MHz @ 1.8V-5.5V, 0-10MHz @ 2.7V-5.5V, 0-20MHz @ 4.5V-5.5V
- CPU Speed - 1MIPS for 1MHz
- RAM - 2Kbytes internal SRAM and 1Kbyte EEPROM
- Operating Temperature - -40 degree centigrade to +105 degree centigrade
Read Also:
ATMega328P Pinout Diagram with Arduino Functions
Reviewed by Author
on
December 08, 2021
Rating: