ATMEGA328-MUR - AVR 8-Bit MCU 32KB 20MHz VQFN-32 | Microchip
MPN: ATMEGA328-MUR ✓ AktifATMEGA328-MUR Ringkasan
An 8-bit AVR microcontroller is a self-contained computing IC that executes programs from internal Flash memory while integrating SRAM, EEPROM, timers, ADC, and communication peripherals on a single die. Within the power-management and embedded-control hierarchy, the ATmega328 sits in the mid-range of Microchip's AVR ATmega family between the ATmega168 (16KB) and the ATmega328PB (enhanced peripheral set), and is the silicon family behind the classic Arduino UNO.
Key features include 131 powerful RISC instructions with mostly single-cycle execution delivering up to 20 MIPS at 20MHz, an 8-channel 10-bit ADC, 2 x 8-bit and 1 x 16-bit timers, and USART, SPI, and I2C (TWI) serial interfaces. The 4K byte self-programming Flash enables boot-loader firmware updates in the field.
Technically, the advanced RISC architecture combines a 32-register general-purpose file directly connected to the ALU, allowing two independent registers to be accessed in a single instruction.debugWIRE on-chip debug support and pin-selectable brown-out detection simplify development and improve system robustness. The device operates from 2.5V to 5.5V depending on speed grade, with sleep modes down to microamp-level standby.
Typical applications include industrial sensors and controllers, Arduino-compatible hobby and maker boards, HVAC and building automation nodes, and battery-powered portable instruments where a mature, well-documented 8-bit platform is preferred.
Design consideration: at 20MHz the device requires 4.5V to 5.5V supply; use the internal 8MHz RC oscillator or an external crystal with appropriate fuse settings, and verify brown-out threshold against supply tolerance.
This page synthesizes distributor pricing context, drop-in alternatives, pinout data, and practical design notes not found in the manufacturer datasheet.
Alternatif penggantian untuk ATMEGA328-MUR — paket yang sama, pin-pada-pin kompatibel. Bagian paket yang berbeda memerlukan kerja ulang PCB diabaikan.
Variasi di dalam seri ini
Model-series yang sama yang kompatibel dengan penggantian ATMEGA328-MUR (sama faktor bentuk dan footprint) — berbeda di dalam Package, Communication Interfaces, RoHS Status, Operating Temperature, Timers.
ATMEGA328P-MUR
✅ Drop-InKontak untuk harga
Lihat Datasheet →ATMEGA328PB-MU
✅ Drop-InKontak untuk harga
Lihat Datasheet →ATMEGA168PA-MU
✅ Drop-In ⚠️ Spesifikasi Tidak DisahkanKontak untuk harga
Lihat Datasheet →ATMEGA168PB-MU
✅ Drop-In ⚠️ Spesifikasi Tidak DisahkanKontak untuk harga
Lihat Datasheet →ATMEGA168A-MU
✅ Drop-In ⚠️ Spesifikasi Tidak DisahkanKontak untuk harga
Lihat Datasheet →ATMEGA328-MUR Rating Maksimal & Karakteristik Listrik
| Core Processor | AVR 8-bit RISC |
| Core Size | 8-Bit |
| Speed | 20 MHz |
| Flash Memory Size | 32 KB (16K x 16) |
| SRAM Size | 2 KB |
| EEPROM Size | 1 KB |
| Supply Voltage Range | 2.5 V to 5.5 V (speed dependent) |
| Number of I/O | 23 |
| ADC Resolution | 10 bit |
| ADC Channels | 8 (6 external + 2 extra on QFN) |
| Peripherals | Brown-out Detect/Reset, POR, PWM, WDT, debugWIRE |
| Communication Interfaces | USART, SPI, I2C (TWI) |
| Timers | 2 x 8-bit, 1 x 16-bit |
| Instructions | 131 instructions, mostly single-cycle |
| Throughput | Up to 20 MIPS at 20 MHz |
| Suhu Kerja | -40C to +85C (Industrial) |
| Paket | 32-VQFN (5x5 mm) Exposed Pad |
| Tipe Mounting | Surface Mount |
| Packaging | Tape & Reel (R suffix), Green |
| Lifecycle Stage | ACTIVE |
Konfigurasi Pin ATMEGA328-MUR
| Pin produk 1 | PD3 (PCINT19/OC2B/INT1) — Port D bit 3 / pin change interrupt / Timer2 output compare B / external interrupt 1 |
| Pin produk 2 | PD4 (PCINT20/XCK/T0) — Port D bit 4 / USART external clock / Timer0 clock input |
| Pin produk 3 | GND — Ground |
| Pin produk 4 | VCC — Digital supply voltage |
| Pin produk 5 | GND — Ground |
| Pin produk 6 | VCC — Digital supply voltage |
| Pin produk 7 | PB6 (PCINT6/XTAL1/TOSC1) — Port B bit 6 / crystal oscillator input or Timer oscillator input |
| Pin produk 8 | PB7 (PCINT7/XTAL2/TOSC2) — Port B bit 7 / crystal oscillator output |
| Pin produk 9 | PD5 (PCINT21/OC0B/T1) — Port D bit 5 / Timer0 output compare B / Timer1 clock input |
| Pin produk 10 | PD6 (PCINT22/OC0A/AIN0) — Port D bit 6 / Timer0 output compare A / analog comparator positive input |
| Pin produk 11 | PD7 (PCINT23/AIN1) — Port D bit 7 / analog comparator negative input |
| Pin produk 12 | PB0 (PCINT8/CLKO/ICP1) — Port B bit 0 / system clock output / Timer1 input capture |
| Pin produk 13 | PB1 (PCINT9/OC1A) — Port B bit 1 / Timer1 output compare A (PWM) |
| Pin produk 14 | PB2 (PCINT10/OC1B/SS) — Port B bit 2 / Timer1 output compare B / SPI slave select |
| Pin produk 15 | PB3 (PCINT11/OC2A/MOSI) — Port B bit 3 / Timer2 output compare A / SPI master data out |
| Pin produk 16 | PB4 (PCINT12/MISO) — Port B bit 4 / SPI master data in |
| Pin produk 17 | PB5 (PCINT13/SCK) — Port B bit 5 / SPI serial clock |
| Pin produk 18 | AVCC — ADC supply voltage |
| Pin produk 19 | ADC6 — ADC input channel 6 (QFN/TQFP packages only) |
| Pin produk 20 | AREF — ADC analog reference |
| Pin produk 21 | GND — Ground |
| Pin produk 22 | ADC7 — ADC input channel 7 (QFN/TQFP packages only) |
| Pin produk 23 | PC0 (PCINT16/ADC0) — Port C bit 0 / ADC channel 0 |
| Pin produk 24 | PC1 (PCINT17/ADC1) — Port C bit 1 / ADC channel 1 |
| Pin produk 25 | PC2 (PCINT18/ADC2) — Port C bit 2 / ADC channel 2 |
| Pin produk 26 | PC3 (PCINT19/ADC3) — Port C bit 3 / ADC channel 3 |
| Pin produk 27 | PC4 (PCINT20/ADC4/SDA) — Port C bit 4 / ADC channel 4 / I2C data |
| Pin produk 28 | PC5 (PCINT21/ADC5/SCL) — Port C bit 5 / ADC channel 5 / I2C clock |
| Pin produk 29 | PC6 (PCINT22/RESET) — Reset input / Port C bit 6 (fuse selectable) |
| Pin produk 30 | PD0 (PCINT24/RXD) — Port D bit 0 / USART receive data |
| Pin produk 31 | PD1 (PCINT25/TXD) — Port D bit 1 / USART transmit data |
| Pin produk 32 | PD2 (PCINT26/INT0) — Port D bit 2 / external interrupt 0 |
Aplikasi Umum
ATMEGA328-MUR cocok untuk 6 aplikasis: Arduino-Compatible Maker Boards, Industrial Sensor Nodes, Building Automation and HVAC Controls, Battery-Powered Portable Instruments, Embedded IoT Edge Devices, Motor Control and PWM Actuation.
Arduino-Compatible Maker Boards
The ATMEGA328-MUR is the silicon at the heart of the classic Arduino UNO ecosystem: the same AVR core, 32KB Flash, and 2KB SRAM run all standard Arduino bootloaders and sketches without modification. In commercialized SMD products derived from Arduino reference designs, the industrial-grade, VQFN-32 Tape & Reel packaging enables automated assembly, unlike the DIP parts used in hobby boards. Running a 16MHz crystal at 5V reproduces exact UNO timing, and the debugWIRE on-chip debug facility plus wide ISP tool support keep development friction minimal across prototype-to-production transitions.
Direkomendasikan
Industrial Sensor Nodes
With its 8-channel 10-bit ADC, brown-out detection, watchdog timer, and -40C to +85C industrial temperature rating, the ATMEGA328-MUR suits factory sensor and monitoring nodes. The 10-bit ADC samples up to 15kSPS for temperature, pressure, and voltage channels, while the 1KB EEPROM stores calibration coefficients through power cycles. The 5V-tolerant I/O simplifies interfacing with industrial 5V logic, and sleep modes support periodically-waking battery-assisted sensors. Its 20MHz throughput handles local filtering and Modbus-over-UART communication with SCADA masters, making it a robust, well-understood choice for brownfield 8-bit control retrofits.
Direkomendasikan
Building Automation and HVAC Controls
HVAC dampers, thermostats, and zone controllers benefit from the ATMEGA328-MUR's combination of I2C/TWI for sensor buses, SPI for external memory or displays, and a full-duplex USART for RS-485 field communication. The 1KB EEPROM retains setpoints and schedules without external NVM, and the pin-change interrupts on all 23 I/O lines allow button wake-up from deep sleep. Brown-out reset with selectable threshold protects configuration data during brownouts on mains-derived supplies, and the 4KB self-programming boot section permits field firmware updates over the existing UART, cutting service costs in installed-base equipment.
Direkomendasikan
Battery-Powered Portable Instruments
Although not the lowest-power MCU available, the ATMEGA328-MUR's sleep architecture - power-down at well under 10uA class currents on the picoPower sibling and active currents in the low-mA range at reduced clocks - supports handheld meters, loggers, and testers with duty-cycled operation. The internal 8MHz RC oscillator removes crystal cost for non-timing-critical applications, and operating down to 2.5V lets the MCU drain two AA cells or a single Li coin cell through an LDO efficiently. The 10-bit ADC reads battery voltage and sensor inputs, while the watchdog guarantees recovery from stalled firmware in unattended field use.
Direkomendasikan
Embedded IoT Edge Devices
For simple IoT endpoints bridging local sensors to a Wi-Fi or LoRa module, the ATMEGA328-MUR provides a deterministic 8-bit control plane with USART and SPI links to connectivity modules. Its 20 MIPS throughput comfortably handles AT-command protocols, CRC checks, and sensor fusion pre-processing, while mature open-source toolchains shorten firmware development. The exposed-pad VQFN-32 offers good thermal and ground behavior on small PCBs, and Tape & Reel packing suits contract manufacturing. Designers should offload TLS and heavy crypto to the radio module, as the 2KB SRAM cannot host a full TCP/IP stack locally.
Direkomendasikan
Motor Control and PWM Actuation
The three timers of the ATMEGA328-MUR generate up to six hardware PWM channels: the 16-bit Timer1 provides high-resolution servo and motor PWM, while the two 8-bit timers drive fans, LED dimming, and H-bridge direction logic through the Fast PWM and phase-correct modes. Input-capture and analog-comparator peripherals enable back-EMF sensing for sensorless fan speed regulation. Combined with an external gate driver, this makes the device a compact controller for small DC motors in appliances, pumps, and Robotics hobby platforms, with the ADC reading current shunts for basic stall detection and closed-loop speed regulation.
Direkomendasikan
Ringkasan Produk Direkomendasikan
Data referensi engineering untuk ATMEGA328-MUR — pembandingan, panduan desain, dan informasi konformitas.
Panduan Pemilihan
Pembandingan dengan Alternatif
| Parameter Umum | Produk Ini | ATMEGA328P-MUR | ATMEGA328PB-MU | ATMEGA168PA-MU |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 32-VQFN (5x5) EP | 32-VQFN (5x5) EP - same | 32-VQFN (5x5) EP - same | 32-VQFN (5x5) EP - same |
| Flash Memory | 32 KB | 32 KB | 32 KB | 16 KB |
| SRAM | 2 KB | 2 KB | 2 KB | 1 KB |
| EEPROM | 1 KB | 1 KB | 1 KB | 512 B |
| Max Clock Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| USART Count | 1 | 1 | 2 | 1 |
| Sleep-Mode Power (picoPower) | Standard die | picoPower - lowest | picoPower - lowest | picoPower - lowest |
| Pin Compatibility Notes | Reference | Full pin-to-pin drop-in | Drop-in except pins 3 and 6 | Full pin-to-pin drop-in |
Diferensiator Kunci
- Largest Flash in the base pin-compatible family (vsATMEGA168PA-MU)
- True pin-to-pin compatibility with legacy designs (vsATMEGA328PB-MU)
- Industrial temperature and Tape & Reel for automated assembly (vsATMEGA328P-PU (DIP version))
- Trade-off: higher sleep current than picoPower variants (vsATMEGA328P-MUR)
Catatan Desain
Clock-speed grade depends on VCC: full 20MHz operation requires 4.5V to 5.5V per the datasheet speed-vs-voltage curve; at 3.3V derate to about 13-14MHz maximum. Enable the brown-out detector with a threshold (e.g., 2.7V or 4.3V class) matched to your supply so EEPROM writes and flash self-programming abort safely during brownouts - programming operations below the minimum safe voltage can corrupt memory. Decouple each VCC pin (4 and 6) and AVCC (18) with 100nF ceramic capacitors placed within 5mm of the pins.
The exposed pad on the 32-VQFN must be soldered to a ground-plane tied array of vias - it is both the primary thermal relief and a mandatory ground return. Connect AVCC to VCC through an LC or RC filter (e.g., 10uH ferrite plus 100nF) when ADC accuracy matters, and route analog traces away from the SPI clock. Keep the AREF node with a 100nF capacitor to ground; never connect AREF directly to an external reference without removing the internal-reference fuse configuration.
Fuse settings are the most common source of field failures: a wrong clock-source fuse (e.g., external clock selected with a crystal installed) bricks the ISP interface and requires a high-voltage parallel programmer or clock-injection recovery. Always set the lock and fuse bits via ISP or debugWIRE with verified settings, and keep CKOUT (PB0) disabled unless needed. When migrating to ATMEGA328PB-MU, note pins 3 and 6 function differences per Microchip application guidance - verify those nets are unused before swapping.
Estimated: at 5V, 20MHz, and typical 10-15mA active current, power dissipation is roughly 50-75mW including I/O loads, producing only a few degrees C junction rise over ambient with the exposed pad grounded - no heatsinking is needed. Thermal attention is only required if many I/O pins source/sink the 20-40mA absolute-max currents continuously; keep per-pin DC currents at or below 20mA rated conditions to protect the port structures.
Informasi Konformitas
Distributor data lists the part as Green packaging with lifecycle stage ACTIVE. REACH and conflict-minerals declarations not stated in provided data.