{"id":3819,"date":"2026-06-08T04:16:39","date_gmt":"2026-06-08T04:16:39","guid":{"rendered":"https:\/\/materialparts.com\/atmega328-pu\/"},"modified":"2026-06-08T04:16:39","modified_gmt":"2026-06-08T04:16:39","slug":"atmega328-pu","status":"publish","type":"post","link":"https:\/\/materialparts.com\/ar\/atmega328-pu\/","title":{"rendered":"ATMEGA328-PU"},"content":{"rendered":"<h2>\u0646\u0638\u0631\u0629 \u0639\u0627\u0645\u0629 \u0639\u0644\u0649 \u0627\u0644\u0645\u0646\u062a\u062c<\/h2>\n<p>The ATMEGA328-PU from Microchip is an 8-bit AVR RISC microcontroller with 32KB Flash, 2KB SRAM, 1KB EEPROM in a 28-pin PDIP through-hole package, operating at up to 20MHz. This is the non-picoPower version of the popular ATMEGA328P-PU used in Arduino Uno.<\/p>\n<h2>\u0627\u0644\u0645\u0648\u0627\u0635\u0641\u0627\u062a \u0627\u0644\u0631\u0626\u064a\u0633\u064a\u0629<\/h2>\n<table>\n<tr>\n<td>\u0627\u0644\u0623\u0633\u0627\u0633\u064a\u0627\u062a<\/td>\n<td>8-bit AVR RISC<\/td>\n<\/tr>\n<tr>\n<td>Max Frequency<\/td>\n<td>20 MHz<\/td>\n<\/tr>\n<tr>\n<td>Flash Memory<\/td>\n<td>32 KB (2KB for bootloader)<\/td>\n<\/tr>\n<tr>\n<td>SRAM<\/td>\n<td>2 KB<\/td>\n<\/tr>\n<tr>\n<td>EEPROM<\/td>\n<td>1 KB<\/td>\n<\/tr>\n<tr>\n<td>I\/O Pins<\/td>\n<td>23<\/td>\n<\/tr>\n<tr>\n<td>ADC<\/td>\n<td>10-bit, 6 channels (PDIP)<\/td>\n<\/tr>\n<tr>\n<td>\u0627\u0644\u062a\u0648\u0627\u0635\u0644<\/td>\n<td>1x USART, 2x SPI, 1x I2C (TWI)<\/td>\n<\/tr>\n<tr>\n<td>PWM Channels<\/td>\n<td>6<\/td>\n<\/tr>\n<tr>\n<td>\u0627\u0644\u0645\u0624\u0642\u062a\u0627\u062a<\/td>\n<td>2x 8-bit, 1x 16-bit<\/td>\n<\/tr>\n<tr>\n<td>\u062c\u0647\u062f \u0627\u0644\u0625\u0645\u062f\u0627\u062f<\/td>\n<td>1.8V to 5.5V<\/td>\n<\/tr>\n<tr>\n<td>\u0627\u0644\u062d\u0632\u0645\u0629<\/td>\n<td>28-PDIP (through-hole)<\/td>\n<\/tr>\n<tr>\n<td>\u062f\u0631\u062c\u0629 \u062d\u0631\u0627\u0631\u0629 \u0627\u0644\u062a\u0634\u063a\u064a\u0644<\/td>\n<td>-40 to +85 C<\/td>\n<\/tr>\n<tr>\n<td>Lifecycle<\/td>\n<td>NRND (Not Recommended for New Designs)<\/td>\n<\/tr>\n<\/table>\n<h2>\u0627\u0644\u0645\u064a\u0632\u0627\u062a<\/h2>\n<ul>\n<li>32KB Flash with 10,000 erase\/write cycle endurance<\/li>\n<li>23 programmable I\/O lines with individual pull-up resistors<\/li>\n<li>6-channel 10-bit ADC with 15 kSPS conversion rate<\/li>\n<li>5 software-selectable power saving modes<\/li>\n<li>In-system programmable via SPI<\/li>\n<li>On-chip debug via debugWIRE interface<\/li>\n<\/ul>\n<h2>\u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a<\/h2>\n<ul>\n<li>Arduino Uno compatible MCU<\/li>\n<li>Embedded prototyping and hobby projects<\/li>\n<li>Sensor interface and data acquisition<\/li>\n<li>Low-cost motor control<\/li>\n<li>IoT endpoint devices<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Product Overview The ATMEGA328-PU from Microchip is an 8-bit AVR RISC microcontroller with 32KB Flash, 2KB SRAM, 1KB EEPROM in a 28-pin PDIP through-hole package, operating at up to 20MHz. This is the non-picoPower version of the popular ATMEGA328P-PU used in Arduino Uno. Key Specifications Core 8-bit AVR RISC Max Frequency 20 MHz Flash Memory [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[13,25],"tags":[],"chip_brand":[134],"class_list":["post-3819","post","type-post","status-publish","format-standard","hentry","category-integrated-circuits-ics","category-microcontrollers-mcu","chip_brand-microchip"],"acf":{"brief_explanation":"8-bit AVR MCU, 32KB Flash, 2KB SRAM, 28-PDIP, 20MHz, non-picoPower version","date_code":"","package_case":"28-PDIP (34.54 x 7.62 mm, through-hole, 2.54mm pitch, PU package)","in_stock":2654,"datasheet":"https:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/Atmel-7810-Automotive-Microcontrollers-ATmega328P_Datasheet.pdf","price":"$2.89 @ 1 (Mouser)","product_introduction":"The ATMEGA328-PU from Microchip (formerly Atmel) is the non-picoPower variant of the ATMEGA328P-PU, the iconic 8-bit AVR microcontroller that serves as the heart of the Arduino Uno development board. The key difference from the ATMEGA328P-PU is the absence of the picoPower technology, which provides ultra-low power consumption in power-save modes on the P-version. For most applications operating at 5V with active power modes, the performance and functionality are identical. The 32KB Flash provides ample code space for moderate-complexity applications including RTOS-based systems, communication protocol stacks, and data logging. The 2KB SRAM supports data buffering for UART and sensor interfaces, while the 1KB EEPROM provides non-volatile storage for calibration data and configuration parameters. The 28-pin PDIP through-hole package makes it ideal for prototyping, breadboarding, and educational applications. The device supports in-system programming (ISP) via SPI, allowing firmware updates without removing the chip from the circuit. The 23 I\/O pins with individually selectable pull-up resistors provide flexible pin assignment for various application needs. The 10-bit ADC with 6 channels supports a wide range of analog sensor interfaces. The ATMEGA328-PU is designated NRND (Not Recommended for New Designs); Microchip recommends the ATMEGA328P-PU for new designs requiring lower power consumption.","working_principle":"The ATMEGA328-PU operates as an 8-bit AVR RISC microcontroller. Key subsystems include: (1) AVR Core - a modified Harvard architecture 8-bit RISC processor with 32 x 8-bit general-purpose registers; most instructions execute in a single clock cycle at 20MHz (up to 20 MIPS throughput); the 2-stage pipeline (fetch + execute) enables single-cycle execution for most instructions; the instruction set includes 131 instructions with 32x8 hardware multiply; (2) Memory - 32KB Flash organized as 16K x 16-bit words; 2KB SRAM accessed in 2 clock cycles; 1KB EEPROM with 100,000 erase\/write cycle endurance; (3) I\/O Ports - 23 I\/O pins organized into 3 ports (PORTB, PORTC, PORTD); each pin has a data register (PORTx), direction register (DDRx), and input register (PINx); individual pull-up resistors can be enabled per pin; (4) ADC - a 10-bit successive-approximation ADC with 6 channels in PDIP package; 13-260us conversion time; auto-trigger capability from timer compare match; free-running mode for continuous conversion; (5) Debug - debugWIRE interface provides on-chip debug capability using a single-wire bidirectional connection on the RESET pin; supports breakpoints, single-step, and register\/memory access without using any on-chip resources.","pin_description":"<table><tr><th>Pin<\/th><th>Name<\/th><th>Function<\/th><\/tr><tr><td>1<\/td><td>PC6 (RESET)<\/td><td>I\/O, Reset (active low)<\/td><\/tr><tr><td>2<\/td><td>PD0 (RXD)<\/td><td>I\/O, USART Receive<\/td><\/tr><tr><td>3<\/td><td>PD1 (TXD)<\/td><td>I\/O, USART Transmit<\/td><\/tr><tr><td>4<\/td><td>PD2 (INT0)<\/td><td>I\/O, External Interrupt 0<\/td><\/tr><tr><td>5<\/td><td>PD3 (INT1\/OC2B)<\/td><td>I\/O, External Interrupt 1, PWM<\/td><\/tr><tr><td>6<\/td><td>PD4<\/td><td>I\/O, T0 timer clock<\/td><\/tr><tr><td>7<\/td><td>VCC<\/td><td>Supply (1.8V to 5.5V)<\/td><\/tr><tr><td>8<\/td><td>GND<\/td><td>Ground<\/td><\/tr><tr><td>9<\/td><td>PB6 (XTAL1\/TOSC1)<\/td><td>I\/O, Crystal oscillator input<\/td><\/tr><tr><td>10<\/td><td>PB7 (XTAL2\/TOSC2)<\/td><td>I\/O, Crystal oscillator output<\/td><\/tr><tr><td>11-17<\/td><td>PD5-PD7, PB0-PB3<\/td><td>I\/O, Timer\/PWM\/SPI functions<\/td><\/tr><tr><td>18-28<\/td><td>PB4-PB5, PC0-PC6<\/td><td>I\/O, ADC\/I2C\/Reset functions<\/td><\/tr><\/table>","application_scenarios":"<ul><li>Arduino Uno: direct drop-in replacement for ATMEGA328P-PU in Arduino Uno boards, same pinout and electrical specs (without picoPower)<\/li><li>Sensor logger: 6-channel ADC reads multiple sensors, 2KB SRAM buffers data, SPI drives SD card, UART sends data to host<\/li><li>Motor controller: 6 PWM channels drive H-bridge, ADC reads current shunt, USART receives commands from host MCU<\/li><\/ul>","alternative_models":"<table><tr><th>Manufacturer<\/th><th>Part Number<\/th><th>Package<\/th><th>Notes<\/th><\/tr><tr><td>Microchip<\/td><td>ATMEGA328P-PU<\/td><td>28-PDIP<\/td><td>picoPower version, lower sleep current, recommended for new designs<\/td><\/tr><tr><td>Microchip<\/td><td>ATMEGA328PB-AU<\/td><td>TQFP-32<\/td><td>Enhanced version with 2x USART, SMD package<\/td><\/tr><tr><td>ST<\/td><td>STM32F103C8T6<\/td><td>LQFP-48<\/td><td>32-bit Cortex-M3 upgrade path, 72MHz<\/td><\/tr><\/table>"},"_links":{"self":[{"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/posts\/3819","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/comments?post=3819"}],"version-history":[{"count":0,"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/posts\/3819\/revisions"}],"wp:attachment":[{"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/media?parent=3819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/categories?post=3819"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/tags?post=3819"},{"taxonomy":"chip_brand","embeddable":true,"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/chip_brand?post=3819"}],"curies":[{"name":"\u062f\u0628\u0644\u064a\u0648 \u0628\u064a","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}