{"id":2485,"date":"2026-05-21T01:19:53","date_gmt":"2026-05-21T01:19:53","guid":{"rendered":"https:\/\/materialparts.com\/atmega328p-pu\/"},"modified":"2026-05-21T01:19:53","modified_gmt":"2026-05-21T01:19:53","slug":"atmega328p-pu","status":"publish","type":"post","link":"https:\/\/materialparts.com\/ar\/atmega328p-pu\/","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 is an 8-bit AVR RISC microcontroller with 32KB Flash, 2KB SRAM, 1KB EEPROM, 23 I\/O lines, 10-bit ADC, SPI, I2C, UART, and 6 PWM channels, operating at 20MHz and 1.8V-5.5V in a 28-pin PDIP through-hole package.<\/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\u0634\u0631\u0643\u0629 \u0627\u0644\u0645\u0635\u0646\u0639\u0629<\/td>\n<td>Microchip Technology<\/td>\n<\/tr>\n<tr>\n<td>\u0627\u0644\u0623\u0633\u0627\u0633\u064a\u0627\u062a<\/td>\n<td>AVR 8-bit RISC<\/td>\n<\/tr>\n<tr>\n<td>Max Clock Speed<\/td>\n<td>20MHz<\/td>\n<\/tr>\n<tr>\n<td>Flash Memory<\/td>\n<td>32KB<\/td>\n<\/tr>\n<tr>\n<td>SRAM<\/td>\n<td>2KB<\/td>\n<\/tr>\n<tr>\n<td>EEPROM<\/td>\n<td>1KB<\/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>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>Interfaces<\/td>\n<td>SPI, I2C (TWI), USART<\/td>\n<\/tr>\n<tr>\n<td>Operating Voltage<\/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>-40C to +85C<\/td>\n<\/tr>\n<\/table>\n<h2>\u0627\u0644\u0645\u064a\u0632\u0627\u062a<\/h2>\n<ul>\n<li>High-performance picoPower AVR RISC architecture<\/li>\n<li>131 instructions, most single-clock-cycle execution<\/li>\n<li>32 x 8 general-purpose working registers<\/li>\n<li>Up to 20 MIPS throughput at 20MHz<\/li>\n<li>32KB ISP Flash with read-while-write<\/li>\n<li>1KB EEPROM with 100,000 write\/erase cycles<\/li>\n<li>2KB internal SRAM<\/li>\n<li>Six software-selectable power-saving modes<\/li>\n<li>On-chip analog comparator and watchdog timer<\/li>\n<li>QTouch library support for capacitive sensing<\/li>\n<\/ul>\n<h2>\u0627\u0644\u062a\u0637\u0628\u064a\u0642\u0627\u062a<\/h2>\n<ul>\n<li>Arduino Uno, Nano, and Pro Mini platforms<\/li>\n<li>Embedded control systems<\/li>\n<li>Consumer electronics<\/li>\n<li>Motor control and automation<\/li>\n<li>Sensor interfacing and data logging<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Product Overview The ATMEGA328P-PU from Microchip Technology is an 8-bit AVR RISC microcontroller with 32KB Flash, 2KB SRAM, 1KB EEPROM, 23 I\/O lines, 10-bit ADC, SPI, I2C, UART, and 6 PWM channels, operating at 20MHz and 1.8V-5.5V in a 28-pin PDIP through-hole package. Key Specifications Manufacturer Microchip Technology Core AVR 8-bit RISC Max Clock Speed [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2770,"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-2485","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-integrated-circuits-ics","category-microcontrollers-mcu","chip_brand-microchip"],"acf":{"brief_explanation":"8-bit AVR MCU, 20MHz, 32KB Flash, 2KB SRAM, 1KB EEPROM, 28-PDIP","date_code":"","package_case":"28-PDIP (37.4 x 6.76 x 3.28mm)","in_stock":9409,"datasheet":"https:\/\/www.microchip.com\/en-us\/product\/ATmega328P","price":"$2.65 @ 1ku","product_introduction":"The Microchip ATMEGA328P-PU is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATmega328P achieves throughputs approaching 1 MIPS\/MHz, balancing power consumption and processing speed. The device features 32KB ISP Flash, 1KB EEPROM, 2KB SRAM, 23 general-purpose I\/O lines, three flexible timers with PWM, a USART, SPI, TWI (I2C), a 10-bit ADC, watch-dog timer, analog comparator, and six software-selectable power-saving modes. The picoPower technology reduces power consumption to 0.2mA at 1MHz\/1.8V active and 0.1uA in power-down mode. The 28-PDIP package makes it ideal for prototyping and hobbyist projects, most notably the Arduino Uno.","working_principle":"The ATMEGA328P-PU operates as a complete 8-bit microcontroller system: 1) AVR Core: The enhanced RISC CPU executes 131 instructions with a 2-stage pipeline, achieving nearly 1 instruction per clock cycle. All 32 general-purpose registers are directly connected to the ALU, allowing two independent registers to be accessed in one instruction. 2) Memory: 32KB Flash stores program code with ISP capability. 1KB EEPROM provides non-volatile data storage. 2KB SRAM handles runtime data and stack operations. 3) Peripherals: The 10-bit ADC converts analog inputs with +\/-2LSB accuracy. Three timers provide PWM, input capture, and waveform generation. SPI, TWI, and USART enable serial communication. 4) Power Management: Six sleep modes (idle, ADC noise reduction, power-save, power-down, standby, extended standby) allow optimization for minimal power consumption.","pin_description":"<table><tr><th>Pin<\/th><th>Name<\/th><th>Type<\/th><th>Function<\/th><\/tr><tr><td>1<\/td><td>PC6\/RESET<\/td><td>I\/O<\/td><td>Port C6 \/ Reset (active low)<\/td><\/tr><tr><td>2-3<\/td><td>PD0-PD1\/RXD\/TXD<\/td><td>I\/O<\/td><td>Port D0-D1 \/ USART RX\/TX<\/td><\/tr><tr><td>4-5<\/td><td>PD2-PD3\/INT0\/INT1<\/td><td>I\/O<\/td><td>Port D2-D3 \/ External interrupts<\/td><\/tr><tr><td>6-11<\/td><td>PD4-PD9\/T1\/AIN1<\/td><td>I\/O<\/td><td>Port D4-D9 with alternate functions<\/td><\/tr><tr><td>12-13<\/td><td>PB6-PB7\/XTAL<\/td><td>I\/O<\/td><td>Port B6-B7 \/ Crystal oscillator<\/td><\/tr><tr><td>14-19<\/td><td>PB0-PB5\/SS\/MOSI\/MISO\/SCK<\/td><td>I\/O<\/td><td>Port B0-B5 \/ SPI and timer functions<\/td><\/tr><tr><td>20<\/td><td>AVCC<\/td><td>Power<\/td><td>Analog supply voltage<\/td><\/tr><tr><td>21<\/td><td>AREF<\/td><td>Reference<\/td><td>Analog reference<\/td><\/tr><tr><td>22<\/td><td>GND<\/td><td>Ground<\/td><td>Ground<\/td><\/tr><tr><td>23-28<\/td><td>PC0-PC5\/ADC0-ADC5\/SDA\/SCL<\/td><td>I\/O<\/td><td>Port C0-C5 \/ ADC and I2C<\/td><\/tr><\/table>","application_scenarios":"<ul><li>Arduino Uno and compatible board core MCU<\/li><li>Embedded control with UART\/SPI\/I2C peripheral integration<\/li><li>Low-power sensor node with sleep mode operation<\/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>ATMEGA328PB-PU<\/td><td>28-PDIP<\/td><td>Enhanced version with more peripherals<\/td><\/tr><tr><td>Microchip<\/td><td>ATMEGA328P-AU<\/td><td>32-TQFP<\/td><td>SMD version, 8 ADC channels<\/td><\/tr><tr><td>Microchip<\/td><td>ATMEGA168P-PU<\/td><td>28-PDIP<\/td><td>16KB Flash, lower cost<\/td><\/tr><tr><td>ST<\/td><td>STM8S005K6T6C<\/td><td>32-LQFP<\/td><td>8-bit alternative, STM8 core<\/td><\/tr><\/table>"},"_links":{"self":[{"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/posts\/2485","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=2485"}],"version-history":[{"count":0,"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/posts\/2485\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/media\/2770"}],"wp:attachment":[{"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/media?parent=2485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/categories?post=2485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/tags?post=2485"},{"taxonomy":"chip_brand","embeddable":true,"href":"https:\/\/materialparts.com\/ar\/wp-json\/wp\/v2\/chip_brand?post=2485"}],"curies":[{"name":"\u062f\u0628\u0644\u064a\u0648 \u0628\u064a","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}