ATMEGA328-MUR - AVR 8-Bit MCU 32KB 20MHz VQFN-32 | Microchip
Référence : ATMEGA328-MUR ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $2.85 | $2,85 |
| 10 | $2.56 | $25,60 |
| 100 | $2.28 | $228,00 |
| 500 | $2.05 | $1 025,00 |
| 1 000 | $1.84 | $1 840,00 |
ATMEGA328-MUR Présentation
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.
Alternatives de remplacement direct pour ATMEGA328-MUR — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec ATMEGA328-MUR (même facteur de forme et même empreinte) — différant par Package, Timers, Communication Interfaces, RoHS Status, Operating Temperature.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
ATMEGA328P-MUR
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
ATMEGA328PB-MU
✅ Remplacement direct✓ En stock
$1.19 / unité
Voir la fiche technique →ATMEGA168PA-MU
✅ Remplacement direct ⚠️ Spécifications non vérifiées✓ En stock
$1.72 / unité
Voir la fiche technique →ATMEGA168PB-MU
✅ Remplacement direct ⚠️ Spécifications non vérifiées✓ En stock
$1.31 / unité
Voir la fiche technique →ATMEGA168A-MU
✅ Remplacement direct ⚠️ Spécifications non vérifiées✓ En stock
$1.38 / unité
Voir la fiche technique →ATMEGA328-MUR Valeurs maximales et caractéristiques électriques
| 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 |
| Température de fonctionnement | -40C to +85C (Industrial) |
| Boîtier | 32-VQFN (5x5 mm) Exposed Pad |
| Type de montage | Surface Mount |
| Packaging | Tape & Reel (R suffix), Green |
| Lifecycle Stage | ACTIVE |
Configuration des broches de ATMEGA328-MUR
| Broche 1 | PD3 (PCINT19/OC2B/INT1) — Port D bit 3 / pin change interrupt / Timer2 output compare B / external interrupt 1 |
| Broche 2 | PD4 (PCINT20/XCK/T0) — Port D bit 4 / USART external clock / Timer0 clock input |
| Broche 3 | GND — Ground |
| Broche 4 | VCC — Digital supply voltage |
| Broche 5 | GND — Ground |
| Broche 6 | VCC — Digital supply voltage |
| Broche 7 | PB6 (PCINT6/XTAL1/TOSC1) — Port B bit 6 / crystal oscillator input or Timer oscillator input |
| Broche 8 | PB7 (PCINT7/XTAL2/TOSC2) — Port B bit 7 / crystal oscillator output |
| Broche 9 | PD5 (PCINT21/OC0B/T1) — Port D bit 5 / Timer0 output compare B / Timer1 clock input |
| Broche 10 | PD6 (PCINT22/OC0A/AIN0) — Port D bit 6 / Timer0 output compare A / analog comparator positive input |
| Broche 11 | PD7 (PCINT23/AIN1) — Port D bit 7 / analog comparator negative input |
| Broche 12 | PB0 (PCINT8/CLKO/ICP1) — Port B bit 0 / system clock output / Timer1 input capture |
| Broche 13 | PB1 (PCINT9/OC1A) — Port B bit 1 / Timer1 output compare A (PWM) |
| Broche 14 | PB2 (PCINT10/OC1B/SS) — Port B bit 2 / Timer1 output compare B / SPI slave select |
| Broche 15 | PB3 (PCINT11/OC2A/MOSI) — Port B bit 3 / Timer2 output compare A / SPI master data out |
| Broche 16 | PB4 (PCINT12/MISO) — Port B bit 4 / SPI master data in |
| Broche 17 | PB5 (PCINT13/SCK) — Port B bit 5 / SPI serial clock |
| Broche 18 | AVCC — ADC supply voltage |
| Broche 19 | ADC6 — ADC input channel 6 (QFN/TQFP packages only) |
| Broche 20 | AREF — ADC analog reference |
| Broche 21 | GND — Ground |
| Broche 22 | ADC7 — ADC input channel 7 (QFN/TQFP packages only) |
| Broche 23 | PC0 (PCINT16/ADC0) — Port C bit 0 / ADC channel 0 |
| Broche 24 | PC1 (PCINT17/ADC1) — Port C bit 1 / ADC channel 1 |
| Broche 25 | PC2 (PCINT18/ADC2) — Port C bit 2 / ADC channel 2 |
| Broche 26 | PC3 (PCINT19/ADC3) — Port C bit 3 / ADC channel 3 |
| Broche 27 | PC4 (PCINT20/ADC4/SDA) — Port C bit 4 / ADC channel 4 / I2C data |
| Broche 28 | PC5 (PCINT21/ADC5/SCL) — Port C bit 5 / ADC channel 5 / I2C clock |
| Broche 29 | PC6 (PCINT22/RESET) — Reset input / Port C bit 6 (fuse selectable) |
| Broche 30 | PD0 (PCINT24/RXD) — Port D bit 0 / USART receive data |
| Broche 31 | PD1 (PCINT25/TXD) — Port D bit 1 / USART transmit data |
| Broche 32 | PD2 (PCINT26/INT0) — Port D bit 2 / external interrupt 0 |
Applications typiques
ATMEGA328-MUR convient pour 6 applications: 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.
Recommandé
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.
Recommandé
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.
Recommandé
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.
Recommandé
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.
Recommandé
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.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour ATMEGA328-MUR — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | 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 |
Principaux différenciateurs
- Largest Flash in the base pin-compatible family (vs ATMEGA168PA-MU)
- True pin-to-pin compatibility with legacy designs (vs ATMEGA328PB-MU)
- Industrial temperature and Tape & Reel for automated assembly (vs ATMEGA328P-PU (DIP version))
- Trade-off: higher sleep current than picoPower variants (vs ATMEGA328P-MUR)
Notes de conception
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.
Informations de conformité
Distributor data lists the part as Green packaging with lifecycle stage ACTIVE. REACH and conflict-minerals declarations not stated in provided data.