ATmega328 Microcontroller IC

Sold By: HatchnHackSKU: 2G21

Sale price₹ 229.00

Tax included Shipping calculated at checkout

Min Qty: 1


ATmega328 Microcontroller IC is the high-performance Atmel Pico Power 8-bit AVR RISC-based microcontroller. It has a DIP package that has 32K of program space, 23 I/O lines, and 6 of which are channels for the 10-bit ADC. 

It runs up to 20MHz with an external crystal. Its package can be programmed in a circuit and 1.8V to 5V operating voltage. This is the same microcontroller that is used in Arduino UNO. So, we can use this micro-controller and load an Arduino bootloader into it and run any Arduino code. The device operates between 1.8-5.5 volts.

By executing powerful instructions in a single clock cycle this module achieves throughputs approaching 1MIPS per MHz allowing the system designer to optimize power consumption versus processing speed.


  • It’s the part of ATMEGA328-AU
  • It has RTC with a separate oscillator
  • It has serial USART
  • It has a Master/Slave SPI interface
  • It has a 2-wire interface
  • It has a watchdog timer
  • It has an Analog comparator
  • It has 23 IO lines
  • It has a data retention of 20 years at 85 °C/ 100 years at 25 °C
  • Advanced RISC ArchitectureHigh Endurance Non-volatile Memory Segments
  • Peripheral FeaturesSpecial Microcontroller Features
  • Endurance Non-volatile Memory segments


Operating Voltage 1.8 - 5.5 V
Speed Grade 0 - 20 MHz @ 1.8 - 5.5 V
Active Mode 0.2 mA
Power-down Mode 0.1 µA
Power-save mode 0.75 µA
32 KB
Program Memory Type Flash
Digital Communication Peripherals 1-UART, 2-SPI, 1-I2C
Capture/Compare/PWM Peripherals 1 Input Capture, 1 CCP, 6 PWM
Timers 2 x 8-bit, 4 x 16-bit
Pin Count 28


Pin Configuration
 1. PC6 (RESET) RESET pin
2. PD0 (RXD) Data Input Pin for USART
3. PD1 (TXD) Data Output Pin for USART
4. PD2 (INT0) External Interrupt source 0
5. PD3 (INT1/OC2B) External Interrupt source1
6. PD4 (XCK/T0) T0: Timer0 External Counter Input
XCK: USART External Clock I/O

7. VCC Connected to a positive voltage
8. GND Connected to ground
9. PB6 (XTAL1/TOSC1) XTAL1: Chip Clock Oscillator pin 1 or External clock input
TOSC1: Timer Oscillator pin 1

10. PB7 (XTAL2/TOSC2) XTAL2: Chip Clock Oscillator pin 2
TOSC2: Timer Oscillator pin 2

11. PD5 (T1/OC0B) T1: Timer1 External Counter Input
OC0B: PWM - Timer/Counter0 Output Compare Match B Output

12. PD6 (AIN0/OC0A) AIN0: Analog Comparator Positive I/P
OC0A: PWM - Timer/Counter0 Output Compare Match A Output

13. PD7 (AIN1) AIN1: Analog Comparator Negative I/P
14. PB0 (ICP1/CLKO) ICP1: Timer/Counter1 Input Capture Pin
CLKO: Divided System Clock. The divided system clock can be output on the PB0 pin
15. PB1 (OC1A) OC1A: Timer/Counter1 Output Compare Match an Output
16. PB2 (SS/OC1B) SS: SPI Slave Select Input
OC1B: Timer/Counter1 Output Compare Match B Output
17. PB3 (MOSI/OC2A) MOSI: Master Output Slave Input
OC2: Timer/Counter2 Output Compare Match Output

18. PB4 (MISO) MISO: Master Input Slave Output
19. PB5 (SCK) SCK: SPI Bus Serial Clock
20. AVCC Power for Internal ADC Converter
21. AREF Analog Reference Pin for ADC
23. PC0 (ADC0) ADC Input Channel 0
24. PC1 (ADC1) ADC Input Channel 1
25. PC2 (ADC2) ADC Input Channel 2
26. PC3 (ADC3)  ADC Input Channel 3
27. PC4 (ADC4/SDA) ADC Input Channel 4
Two-wire Serial Bus Data Input/output Line

28. PC5 (ADC5/SCL) ADC Input Channel 5
Two-wire Serial Bus Clock Line


Further Info

The ATmega328 is a single-chip microcontroller created by Atmel in the megaAVR family. It has a modified Harvard architecture 8-bit RISC processor core. The Atmel microcontroller combines 32 KB ISP flash memory with read-while-write capabilities. ATmega328 MCUs execute powerful instructions in a single clock cycle, allowing the device to achieve throughputs approaching 1 MIPS per MHz while balancing power consumption and processing speed. These Microchip MCUs are designed for use in industrial automation and home and building automation. Read more



You may also like

Recently viewed