{"id":6534,"date":"2026-06-18T13:21:13","date_gmt":"2026-06-18T13:21:13","guid":{"rendered":"https:\/\/ic-vendor.com\/atmega328p-pu-2\/"},"modified":"2026-06-18T13:21:13","modified_gmt":"2026-06-18T13:21:13","slug":"atmega328p-pu-2","status":"publish","type":"post","link":"https:\/\/ic-vendor.com\/ar\/atmega328p-pu-2\/","title":{"rendered":"ATmega328P-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 ATmega328P-PU from Microchip Technology (formerly Atmel) is a high-performance, low-power 8-bit AVR RISC microcontroller with 32KB ISP Flash, 2KB SRAM, 1KB EEPROM, 23 I\/O lines, 10-bit ADC, and 6 PWM channels in a 28-pin PDIP through-hole package. It is the MCU at the heart of the Arduino Uno and Nano boards.<\/p>\n<h2>\u0627\u0644\u0645\u0648\u0627\u0635\u0641\u0627\u062a \u0627\u0644\u0631\u0626\u064a\u0633\u064a\u0629<\/h2>\n<ul>\n<li>Core: 8-bit AVR RISC, 131 instructions, most single-cycle<\/li>\n<li>Max Speed: 20MHz (at 4.5-5.5V)<\/li>\n<li>Flash: 32KB (in-system programmable, read-while-write)<\/li>\n<li>SRAM: 2KB<\/li>\n<li>EEPROM: 1KB (100,000 write\/erase cycles)<\/li>\n<li>Supply Voltage: 1.8V ~ 5.5V<\/li>\n<li>I\/O Pins: 23<\/li>\n<li>ADC: 6-channel 10-bit (PDIP) \/ 8-channel (TQFP\/QFN)<\/li>\n<li>PWM: 6 channels<\/li>\n<li>Timers: 2\u00d7 8-bit + 1\u00d7 16-bit with capture\/compare<\/li>\n<li>Communication: USART, SPI (master\/slave), I2C (TWI)<\/li>\n<li>Watchdog Timer: With independent on-chip oscillator<\/li>\n<li>Analog Comparator: 1<\/li>\n<li>Operating Temperature: -40\u00b0C ~ 85\u00b0C<\/li>\n<li>Package: 28-PDIP (0.300&#8243;, 7.62mm)<\/li>\n<li>Power (1MHz, 1.8V): Active 0.2mA, Power-down 0.1\u00b5A, Power-save 0.75\u00b5A<\/li>\n<li>Self-Programming: Boot loader support via USART or SPI<\/li>\n<\/ul>\n<h2>\u0627\u0644\u0645\u064a\u0632\u0627\u062a<\/h2>\n<ul>\n<li>picoPower technology for ultra-low power consumption<\/li>\n<li>6 software-selectable sleep modes<\/li>\n<li>32\u00d78 general-purpose working registers<\/li>\n<li>On-chip 2-cycle multiplier<\/li>\n<li>20-year data retention at 85\u00b0C<\/li>\n<li>QTouch library support for capacitive sensing<\/li>\n<li>Internal calibrated RC oscillator (8MHz)<\/li>\n<li>Programmable brown-out detection (BOD)<\/li>\n<li>Through-hole PDIP package ideal for prototyping<\/li>\n<\/ul>\n<h2>\u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a<\/h2>\n<ul>\n<li>Arduino Uno \/ Nano boards<\/li>\n<li>Sensor interface and data acquisition<\/li>\n<li>Battery-powered instruments<\/li>\n<li>Home automation controllers<\/li>\n<li>LED lighting and display control<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Product Overview The ATmega328P-PU from Microchip Technology (formerly Atmel) is a high-performance, low-power 8-bit AVR RISC microcontroller with 32KB ISP Flash, 2KB SRAM, 1KB EEPROM, 23 I\/O lines, 10-bit ADC, and 6 PWM channels in a 28-pin PDIP through-hole package. It is the MCU at the heart of the Arduino Uno and Nano boards. Key [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[13,25],"tags":[],"chip_brand":[134],"class_list":["post-6534","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, 20MHz, 28-PDIP, Arduino Uno core","date_code":"","package_case":"28-PDIP (0.300\", 7.62mm)","in_stock":8500,"datasheet":"https:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/Atmel-7810-Automotive-Microcontrollers-ATmega328P_Datasheet.pdf","price":"$2.80","product_introduction":"The ATmega328P-PU from Microchip Technology is the iconic 8-bit AVR microcontroller that powers the Arduino Uno, the world's most popular development board. Its 32KB Flash provides ample program space for Arduino sketches, while the 2KB SRAM and 1KB EEPROM handle runtime variables and persistent settings. The 28-pin PDIP package makes it ideal for breadboard prototyping and through-hole assembly. The AVR RISC architecture executes most instructions in a single clock cycle, achieving near 1 MIPS per MHz throughput. The ATmega328P-PU supports in-system programming via SPI and self-programming through a boot loader, enabling firmware updates without a dedicated programmer. The -PU suffix indicates PDIP-28 package with industrial temperature range and tube packaging.","working_principle":"The ATmega328P-PU uses the AVR enhanced RISC architecture with a 2-stage pipeline: while one instruction is being executed, the next is being fetched from Flash. The 32\u00d78 general-purpose working registers are directly connected to the ALU, allowing two registers to be accessed in a single clock cycle \u2014 a key factor in the 1 MIPS\/MHz throughput. The Harvard architecture separates 32KB Flash (program) from 2KB SRAM (data) address spaces, with the 1KB EEPROM accessed through dedicated I\/O registers. The I\/O memory-mapped peripheral registers control timers, USART, SPI, TWI, ADC, and pin functions. The 10-bit ADC uses a successive approximation register (SAR) with a conversion time of 13-260\u00b5s depending on clock prescaler. The 6 PWM channels are generated by the timer\/counter modules in Fast PWM or Phase-Correct PWM modes. Sleep modes (Idle, ADC Noise Reduction, Power-save, Power-down, Standby, Extended Standby) shut down unused clock domains and peripherals to reduce power consumption down to 0.1\u00b5A in Power-down mode.","pin_description":"<table><tr><th>Pin<\/th><th>Name<\/th><th>Key Alternate Functions<\/th><\/tr><tr><td>1<\/td><td>PC6 (RESET)<\/td><td>Reset input (active low); can be disabled by fuse<\/td><\/tr><tr><td>2<\/td><td>PD0 (RXD)<\/td><td>USART receive, PCINT18<\/td><\/tr><tr><td>3<\/td><td>PD1 (TXD)<\/td><td>USART transmit, PCINT19<\/td><\/tr><tr><td>4<\/td><td>PD2 (INT0)<\/td><td>External interrupt 0, PCINT18<\/td><\/tr><tr><td>5<\/td><td>PD3 (INT1\/OC2B)<\/td><td>External interrupt 1, PWM Timer2<\/td><\/tr><tr><td>6<\/td><td>PD4<\/td><td>T0, XCK, PCINT20<\/td><\/tr><tr><td>7<\/td><td>VCC<\/td><td>Power supply (1.8-5.5V)<\/td><\/tr><tr><td>8<\/td><td>GND<\/td><td>Ground<\/td><\/tr><tr><td>9<\/td><td>PB6 (XTAL1)<\/td><td>Crystal oscillator input \/ TOSC1<\/td><\/tr><tr><td>10<\/td><td>PB7 (XTAL2)<\/td><td>Crystal oscillator output \/ TOSC2<\/td><\/tr><tr><td>11<\/td><td>PD5 (OC0B\/T1)<\/td><td>PWM Timer0, Timer1 clock<\/td><\/tr><tr><td>12<\/td><td>PD6 (OC0A\/AIN0)<\/td><td>PWM Timer0, comparator +<\/td><\/tr><tr><td>13<\/td><td>PD7 (AIN1)<\/td><td>Comparator negative input<\/td><\/tr><tr><td>14<\/td><td>PB0 (ICP1\/CLKO)<\/td><td>Timer1 input capture, system clock output<\/td><\/tr><tr><td>15<\/td><td>PB1 (OC1A)<\/td><td>PWM Timer1<\/td><\/tr><tr><td>16<\/td><td>PB2 (OC1B\/SS)<\/td><td>PWM Timer1, SPI slave select<\/td><\/tr><tr><td>17<\/td><td>PB3 (MOSI\/OC2A)<\/td><td>SPI data out, PWM Timer2<\/td><\/tr><tr><td>18<\/td><td>PB4 (MISO)<\/td><td>SPI data in<\/td><\/tr><tr><td>19<\/td><td>PB5 (SCK)<\/td><td>SPI clock<\/td><\/tr><tr><td>20<\/td><td>AVCC<\/td><td>Analog power supply<\/td><\/tr><tr><td>21<\/td><td>AREF<\/td><td>ADC reference voltage<\/td><\/tr><tr><td>22<\/td><td>GND<\/td><td>Ground<\/td><\/tr><tr><td>23<\/td><td>PC0 (ADC0\/SDA)<\/td><td>ADC ch0, I2C data<\/td><\/tr><tr><td>24<\/td><td>PC1 (ADC1\/SCL)<\/td><td>ADC ch1, I2C clock<\/td><\/tr><tr><td>25<\/td><td>PC2 (ADC2)<\/td><td>ADC ch2<\/td><\/tr><tr><td>26<\/td><td>PC3 (ADC3)<\/td><td>ADC ch3<\/td><\/tr><tr><td>27<\/td><td>PC4 (ADC4\/SDA)<\/td><td>ADC ch4, I2C data (alt)<\/td><\/tr><tr><td>28<\/td><td>PC5 (ADC5\/SCL)<\/td><td>ADC ch5, I2C clock (alt)<\/td><\/tr><\/table>","application_scenarios":"The ATmega328P-PU is the heart of the Arduino Uno, where it runs the Arduino bootloader and user sketches with access to digital I\/O, analog inputs, PWM outputs, and serial communication through the board's headers. In custom sensor nodes, the low 0.2mA active current at 1MHz\/1.8V and 0.1\u00b5A power-down current enable coin-cell operation for years. For LED lighting control, the 6 PWM channels provide smooth dimming with 8-bit or 10-bit resolution. The I2C interface connects to EEPROM, RTC, and sensor peripherals with minimal wiring. The through-hole PDIP package is preferred for educational and hobbyist use, while the TQFP version (ATmega328P-AU) is used in production designs requiring surface-mount assembly.","alternative_models":"<table><tr><th>Model<\/th><th>Manufacturer<\/th><th>Key Difference<\/th><\/tr><tr><td>ATmega328PB-AU<\/td><th>Microchip<\/td><th>Enhanced version, 2\u00d7 USART, 2\u00d7 SPI, QTouch, TQFP-32<\/td><\/tr><tr><td>ATmega328P-AU<\/td><th>Microchip<\/td><th>Same die, TQFP-32 surface-mount package<\/td><\/tr><tr><td>ATtiny3217<\/td><th>Microchip<\/td><th>16KB Flash, smaller 20-pin, lower cost<\/td><\/tr><tr><td>PIC16F18877-I\/P<\/td><th>Microchip<\/td><th>14KB Flash, 28-PDIP, PIC alternative<\/td><\/tr><\/table>"},"_links":{"self":[{"href":"https:\/\/ic-vendor.com\/ar\/wp-json\/wp\/v2\/posts\/6534","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ic-vendor.com\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ic-vendor.com\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ic-vendor.com\/ar\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ic-vendor.com\/ar\/wp-json\/wp\/v2\/comments?post=6534"}],"version-history":[{"count":0,"href":"https:\/\/ic-vendor.com\/ar\/wp-json\/wp\/v2\/posts\/6534\/revisions"}],"wp:attachment":[{"href":"https:\/\/ic-vendor.com\/ar\/wp-json\/wp\/v2\/media?parent=6534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ic-vendor.com\/ar\/wp-json\/wp\/v2\/categories?post=6534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ic-vendor.com\/ar\/wp-json\/wp\/v2\/tags?post=6534"},{"taxonomy":"chip_brand","embeddable":true,"href":"https:\/\/ic-vendor.com\/ar\/wp-json\/wp\/v2\/chip_brand?post=6534"}],"curies":[{"name":"\u062f\u0628\u0644\u064a\u0648 \u0628\u064a","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}