{"id":6408,"date":"2026-06-16T03:05:19","date_gmt":"2026-06-16T03:05:19","guid":{"rendered":"https:\/\/materialparts.com\/atmega328p-au-2\/"},"modified":"2026-06-16T03:05:19","modified_gmt":"2026-06-16T03:05:19","slug":"atmega328p-au-2","status":"publish","type":"post","link":"https:\/\/materialparts.com\/zh\/atmega328p-au-2\/","title":{"rendered":"ATmega328P-AU"},"content":{"rendered":"<h2>\u4ea7\u54c1\u6982\u89c8<\/h2>\n<p>The ATmega328P-AU from Microchip (formerly Atmel) is a high-performance 8-bit AVR RISC microcontroller with 32KB Flash, 2KB SRAM, and 1KB EEPROM in a TQFP-32 package. Running at up to 20MHz with single-cycle instruction execution, it is the heart of the Arduino Uno and Nano boards.<\/p>\n<h2>\u4e3b\u8981\u89c4\u683c<\/h2>\n<table>\n<tr>\n<td>Architecture<\/td>\n<td>8-bit AVR RISC<\/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>Max Clock<\/td>\n<td>20MHz<\/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, 8 channels<\/td>\n<\/tr>\n<tr>\n<td>\u7535\u6e90\u7535\u538b<\/td>\n<td>1.8V to 5.5V<\/td>\n<\/tr>\n<tr>\n<td>Active Current<\/td>\n<td>0.9mA @ 4MHz, 3V<\/td>\n<\/tr>\n<tr>\n<td>Power-Down Current<\/td>\n<td>0.1uA<\/td>\n<\/tr>\n<tr>\n<td>\u5305\u88c5<\/td>\n<td>TQFP-32 (7mm x 7mm)<\/td>\n<\/tr>\n<\/table>\n<h2>\u7279\u70b9<\/h2>\n<ul>\n<li>131 instructions, most single-cycle<\/li>\n<li>32 x 8 general purpose registers<\/li>\n<li>10-bit ADC with 8 channels<\/li>\n<li>6 PWM channels<\/li>\n<li>USART, SPI, TWI (I2C)<\/li>\n<li>5 sleep modes<\/li>\n<li>Programmable Watchdog Timer<\/li>\n<li>On-chip analog comparator<\/li>\n<\/ul>\n<h2>\u5e94\u7528<\/h2>\n<ul>\n<li>Arduino Uno \/ Nano<\/li>\n<li>Embedded control systems<\/li>\n<li>Sensor data acquisition<\/li>\n<li>Motor control<\/li>\n<li>Home automation<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Product Overview The ATmega328P-AU from Microchip (formerly Atmel) is a high-performance 8-bit AVR RISC microcontroller with 32KB Flash, 2KB SRAM, and 1KB EEPROM in a TQFP-32 package. Running at up to 20MHz with single-cycle instruction execution, it is the heart of the Arduino Uno and Nano boards. Key Specifications Architecture 8-bit AVR RISC Flash Memory [&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],"tags":[],"chip_brand":[134],"class_list":["post-6408","post","type-post","status-publish","format-standard","hentry","category-integrated-circuits-ics","chip_brand-microchip"],"acf":{"brief_explanation":"8-bit AVR MCU, 32KB Flash, 2KB SRAM, 20MHz, TQFP-32, Arduino Uno core","date_code":"","package_case":"TQFP-32 (7.00 x 7.00 x 1.20 mm)","in_stock":25000,"datasheet":"https:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/Atmel-7810-Automotive-Microcontrollers-ATmega328P_Datasheet.pdf","price":"$2.10 @ 1ku","product_introduction":"The ATmega328P-AU from Microchip is a high-performance, low-power 8-bit AVR RISC microcontroller in a TQFP-32 package. It combines 32KB Flash, 2KB SRAM, and 1KB EEPROM with a rich peripheral set including 10-bit ADC, USART, SPI, TWI, and flexible timer\/counters with PWM. The picoPower technology enables ultra-low power consumption with 0.1uA in power-down mode and 0.9mA active at 4MHz\/3V. Running at up to 20MHz with most instructions executing in a single clock cycle, it delivers up to 20 MIPS. The ATmega328P is the core of the Arduino Uno and Nano platforms.","working_principle":"The ATmega328P-AU uses the AVR enhanced RISC architecture with a Harvard memory model (separate program and data buses). The CPU fetches instructions from Flash via the 16-bit program bus and executes most in one clock cycle thanks to pipelining. The 32 general-purpose registers connect directly to the ALU. The 10-bit ADC uses successive approximation at up to 76.9ksps. Timer0 and Timer2 are 8-bit with PWM; Timer1 is 16-bit with input capture and PWM. picoPower technology uses clock gating to disable unused peripherals, and sleep modes selectively shut down CPU, Flash, ADC, and oscillators for minimum power.","pin_description":"<table border='1'><tr><th>Pin<\/th><th>Name<\/th><th>Alt Func<\/th><th>Description<\/th><\/tr><tr><td>1<\/td><td>PD3<\/td><td>INT1\/OC2B<\/td><td>Port D3, ext int 1, Timer2 PWM B<\/td><\/tr><tr><td>2<\/td><td>PD4<\/td><td>XCK<\/td><td>Port D4, USART ext clock<\/td><\/tr><tr><td>3<\/td><td>GND<\/td><td>-<\/td><td>Ground<\/td><\/tr><tr><td>4<\/td><td>VCC<\/td><td>-<\/td><td>Digital supply<\/td><\/tr><tr><td>7<\/td><td>PB6<\/td><td>XTAL1<\/td><td>Crystal osc input<\/td><\/tr><tr><td>8<\/td><td>PB7<\/td><td>XTAL2<\/td><td>Crystal osc output<\/td><\/tr><tr><td>13<\/td><td>PB1<\/td><td>OC1A<\/td><td>Port B1, Timer1 PWM A<\/td><\/tr><tr><td>14<\/td><td>PB2<\/td><td>OC1B\/SS<\/td><td>Port B2, Timer1 PWM B, SPI SS<\/td><\/tr><tr><td>15<\/td><td>PB3<\/td><td>MOSI\/OC2A<\/td><td>SPI MOSI, Timer2 PWM A<\/td><\/tr><tr><td>16<\/td><td>PB4<\/td><td>MISO<\/td><td>SPI MISO<\/td><\/tr><tr><td>17<\/td><td>PB5<\/td><td>SCK<\/td><td>SPI clock<\/td><\/tr><tr><td>18<\/td><td>AVCC<\/td><td>-<\/td><td>ADC supply<\/td><\/tr><tr><td>20<\/td><td>AREF<\/td><td>-<\/td><td>ADC reference<\/td><\/tr><tr><td>23<\/td><td>PC0<\/td><td>SDA\/ADC0<\/td><td>TWI data, ADC ch0<\/td><\/tr><tr><td>24<\/td><td>PC1<\/td><td>SCL\/ADC1<\/td><td>TWI clock, ADC ch1<\/td><\/tr><tr><td>29<\/td><td>RESET<\/td><td>PC6<\/td><td>Reset; active LOW<\/td><\/tr><tr><td>30<\/td><td>PD0<\/td><td>RXD<\/td><td>USART receive<\/td><\/tr><tr><td>31<\/td><td>PD1<\/td><td>TXD<\/td><td>USART transmit<\/td><\/tr><tr><td>32<\/td><td>PD2<\/td><td>INT0<\/td><td>External interrupt 0<\/td><\/tr><\/table>","application_scenarios":"<ul><li><b>Arduino Uno\/Nano:<\/b> Core MCU running Arduino bootloader with 32KB Flash and rich GPIO\/ADC\/UART\/SPI\/I2C peripherals<\/li><li><b>Sensor Data Logger:<\/b> Reads sensors via ADC and I2C\/SPI, stores in EEPROM, transmits via UART with picoPower sleep extending battery life<\/li><li><b>Motor Speed Controller:<\/b> Generates 16-bit PWM from Timer1 for precise motor control with ADC feedback<\/li><\/ul>","alternative_models":"<table border='1'><tr><th>Model<\/th><th>Manufacturer<\/th><th>Flash<\/th><th>Arch<\/th><th>Key Difference<\/th><\/tr><tr><td>ATmega328P-PU<\/td><td>Microchip<\/td><td>32KB<\/td><td>AVR<\/td><td>DIP-28, same die<\/td><\/tr><tr><td>ATmega328PB-AU<\/td><td>Microchip<\/td><td>32KB<\/td><td>AVR<\/td><td>2nd USART\/SPI<\/td><\/tr><tr><td>ATmega2560<\/td><td>Microchip<\/td><td>256KB<\/td><td>AVR<\/td><td>More Flash\/RAM, 100-pin<\/td><\/tr><tr><td>STM32F103C8T6<\/td><td>ST<\/td><td>64KB<\/td><td>Cortex-M3<\/td><td>32-bit, 72MHz<\/td><\/tr><\/table>"},"_links":{"self":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/6408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/comments?post=6408"}],"version-history":[{"count":0,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/6408\/revisions"}],"wp:attachment":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/media?parent=6408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/categories?post=6408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/tags?post=6408"},{"taxonomy":"chip_brand","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/chip_brand?post=6408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}