ATMEGA328PB-MU - 8-Bit AVR MCU 20MHz 32KB Flash | Microchip
부품 번호: ATMEGA328PB-MU ✓ 활성| 수량 | 단가 | 합계 |
|---|---|---|
| 1 | $1.77 | $1.77 |
| 10 | $1.62 | $16.20 |
| 100 | $1.45 | $145.00 |
| 500 | $1.32 | $660.00 |
| 1,000 | $1.19 | $1,190.00 |
ATMEGA328PB-MU 개요
An 8-bit AVR microcontroller is a self-contained computing IC that integrates a RISC CPU core, program Flash, SRAM, EEPROM, and peripherals such as timers, USART, SPI, and I2C on a single die. Within the power-management hierarchy of embedded systems, it functions as the system controller, executing application firmware while managing sensors, actuators, and communication links.
Key features include two 8-bit timer/counters with PWM, one 16-bit timer/counter, and enhanced peripheral sets relative to the ATmega328P: two independent I2C interfaces, two SPI interfaces, additional GPIO on PORTE, and a 10-bit ADC with 7 multiplexed channels. The picoPower technology supports multiple sleep modes for battery-operated designs, and the device executes powerful instructions in a single clock cycle.
The AVR enhanced RISC architecture pairs 32 general-purpose working registers directly with the ALU, allowing most instructions to complete in one cycle and delivering deterministic, interrupt-friendly real-time behavior. Flash read-while-write capability enables in-system self-programming via a boot loader, and ISP plus debugWIRING support simplifies field updates and development.
Typical applications include Arduino-compatible boards and maker platforms, industrial sensor nodes and HMI controllers, and consumer appliances requiring low-cost, low-power control with robust community tooling.
When designing with this device, verify that your firmware and fuse settings are written for the 328PB signature, because the added Port E pins (19 and 22 in the QFN) change connectivity relative to the ATmega328P footprint.
This page synthesizes distributor pricing, verified drop-in alternatives, and practical design notes not consolidated in the manufacturer datasheet.
드롭인 대체품: ATMEGA328PB-MU — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.
이 시리즈의 변형
다음과 드롭인 호환되는 동일 시리즈 모델: ATMEGA328PB-MU (동일 폼 팩터 및 풋프린트) — 차이점: Package, Communication Interfaces, Timers, EEPROM, Operating Temperature.
빠른 비교 도구 — 나란히 비교할 대체 부품을 선택하십시오:
ATMEGA328P-MU
✅ 드롭인✓ 재고 있음
$2.85 / 개
데이터시트 보기 →ATMEGA328-MUR
✅ 드롭인✓ 재고 있음
$1.84 / 개
데이터시트 보기 →ATMEGA168PB-MU
✅ 드롭인✓ 재고 있음
$1.31 / 개
데이터시트 보기 →ATMEGA168PA-MU
✅ 드롭인 ⚠️ 사양 미검증✓ 재고 있음
$1.72 / 개
데이터시트 보기 →ATMEGA328PB-MU 최대 정격 & 전기적 특성
| Core Architecture | AVR 8-bit RISC |
| Core Size | 8-Bit |
| 최대 클록 주파수 | 20 MHz |
| Program Memory Size | 32 KB (16K x 16) FLASH |
| SRAM Size | 2 KB |
| EEPROM Size | 1 KB |
| Performance | Approx. 1 MIPS per MHz |
| I/O Count | 27 GPIO (incl. PORTE [3:0] on QFN) |
| 패키지 | 32-VFQFN (5x5 mm) |
| 실장 유형 | Surface Mount |
| 동작 온도 | -40C to +85C (Industrial) |
| ADC Resolution | 10-bit |
| Timers | 2 x 8-bit, 1 x 16-bit |
| Communication Interfaces | USART, 2 x SPI, 2 x I2C (TWI) |
| Low Power Technology | picoPower, multiple sleep modes |
| Programming | ISP, debugWIRING, self-programming boot loader |
| Safety Qualification | Functional Safety (FuSa) supported per DigiKey |
| RoHS 상태 | Compliant (GREEN package per FindIC) |
ATMEGA328PB-MU 핀 구성
| 핀 1 | PD3 — Port D bit 3 / PCINT19 |
| 핀 2 | PD4 — Port D bit 4 / PCINT20 / XCK |
| 핀 3 | GND — Ground |
| 핀 4 | PD5 — Port D bit 5 / PCINT21 / OC0B / T1 |
| 핀 6 | VCC — Digital supply voltage |
| 핀 7 | PB6 — Port B bit 6 / XTAL1 (clock input) |
| 핀 8 | PB7 — Port B bit 7 / XTAL2 (clock output) |
| 핀 9 | PD7 — Port D bit 7 / PCINT23 / AIN1 |
| 핀 10 | PB0 — Port B bit 0 / PCINT0 / SS |
| 핀 11 | PB1 — Port B bit 1 / PCINT1 / OC1A |
| 핀 12 | PB2 — Port B bit 2 / PCINT2 / OC1B / SS |
| 핀 13 | PB3 — Port B bit 3 / MOSI / OC2A |
| 핀 14 | PB4 — Port B bit 4 / MISO / PCINT4 |
| 핀 15 | PB5 — Port B bit 5 / SCK / PCINT5 |
| 핀 16 | AVCC — ADC supply voltage |
| 핀 19 | PE2 — Port E bit 2 / ADC6 (extra GPIO on 328PB QFN) |
| 핀 20 | AREF — Analog reference for ADC |
| 핀 22 | PE3 — Port E bit 3 / ADC7 (extra GPIO on 328PB QFN) |
| 핀 23 | PC0 — Port C bit 0 / ADC0 |
| 핀 24 | PC1 — Port C bit 1 / ADC1 |
| 핀 25 | PC2 — Port C bit 2 / ADC2 |
| 핀 26 | PC3 — Port C bit 3 / ADC3 |
| 핀 27 | PC4 — Port C bit 4 / ADC4 / SDA |
| 핀 28 | PC5 — Port C bit 5 / ADC5 / SCL |
| 핀 29 | PC6 — Port C bit 6 / RESET (active low) |
| 핀 30 | PD0 — Port D bit 0 / RXD (USART receive) |
| 핀 31 | PD1 — Port D bit 1 / TXD (USART transmit) |
| 핀 32 | PD2 — Port D bit 2 / INT0 |
일반적인 애플리케이션
ATMEGA328PB-MU 적합 용도: 6 애플리케이션s: Arduino-Compatible Development Boards, Industrial Sensor Nodes, Consumer Appliance Control, Battery-Powered Portable Instruments, Embedded IoT Edge Controllers, Motor Control and Actuation.
Arduino-Compatible Development Boards
The ATMEGA328PB-MU is the natural successor for Arduino Uno-class designs, retaining the AVR instruction set, 32 KB Flash, and 20 MHz headroom while adding the dual I2C and dual SPI buses that the original 328P lacked. Board designers can host two independent sensor buses or add a second SPI display while preserving full Arduino IDE compatibility via the 328PB core package. The picoPower sleep modes also let portable shield projects match or beat 328P idle current. Because the QFN-32 footprint matches the 328P MLF with only pins 19/22 needing review, existing carrier boards migrate with minimal respin, and bootloader/fuse settings remain directly reusable from prior 328P firmware builds.
추천
Industrial Sensor Nodes
In factory and process monitoring, the ATMEGA328PB-MU's 10-bit ADC with up to 7 external channels (including PE2/PE3 as ADC6/ADC7) digitizes multiple analog sensors from a single MCU, while the industrial -40C to +85C rating covers unconditioned enclosures. Dual I2C interfaces let one node talk to a local sensor cluster and a separate system-management bus without bus contention, and the 16-bit timer supports precise pulse capture for flow or encoder signals. picoPower power-down mode extends battery and energy-harvesting node lifetimes, and the Functional Safety (FuSa) designation per DigiKey listing supports documented deployment in monitored industrial equipment.
추천
Consumer Appliance Control
White-goods and small-appliance control boards benefit from the ATMEGA328PB-MU's cost profile (about $1.77 at qty 1 as of 2026-09-17) and its deterministic 1 MIPS per MHz execution, which simplifies certification of fixed-loop control algorithms for heaters, motors, and user interfaces. The three timers (two 8-bit, one 16-bit) drive multiple PWM channels for fan and brightness control while maintaining a system tick. ISP self-programming via a resident boot loader enables field firmware updates over existing wiring, and the GREEN/RoHS-compliant QFN package meets consumer environmental requirements without leaded assembly processes.
추천
Battery-Powered Portable Instruments
Handheld meters and loggers exploit picoPower sleep modes to achieve multi-year battery life: in power-down the MCU halts while retaining SRAM, waking on pin-change or watchdog interrupts. At reduced clock frequencies the 1 MIPS per MHz core keeps processing budget adequate at microamp-scale average draw, and the on-chip 10-bit ADC with internal reference digitizes battery voltage and sensor inputs without external conversion ICs. Dual SPI interfaces let one ATMEGA328PB-MU manage both a flash memory data logger and an RF or display module, removing a multiplexer that a single-SPI 328P design would require, saving board area and BOM cost in compact enclosures.
추천
Embedded IoT Edge Controllers
For sub-GHz RF modules and simple IoT endpoints, the ATMEGA328PB-MU pairs a UART to an external radio while its dual I2C buses separate a secure-element or sensor path from the main bus, improving isolation and fault containment. The 32 KB Flash accommodates a TCP/UDP-style protocol stack plus OTA boot loader within a single chip, and debugWIRING plus ISP support streamlines provisioning. The 5x5 mm VFQFN keeps endpoint PCBs small, and the FuSa designation listed by DigiKey adds documentation leverage for functional-safety-assessed IoT deployments. Fuse-locked boot loader regions protect field-deployed firmware against casual extraction.
추천
Motor Control and Actuation
Small DC and stepper motor systems use the ATMEGA328PB-MU's two 8-bit timers and one 16-bit timer to generate multi-channel PWM with hardware phase accuracy, while external H-bridge drivers handle the power stage. The 16-bit timer input-capture measures encoder or back-EMF feedback with system-clock resolution, enabling closed-loop speed control on an 8-bit budget. The 20 MHz maximum clock provides 20 MIPS for PID loops executing in firmware, comfortably servoing most small actuators. Dual SPI allows simultaneous control of a driver chip and a diagnostics ADC, and the industrial temperature rating suits actuator housings near heat sources such as motors and drivers.
추천
추천 제품 요약
엔지니어링 참조 데이터: ATMEGA328PB-MU — 비교, 설계 지침 및 규정 준수 정보.
선택 가이드
대체품과의 비교
| 파라미터 | 이 제품 | ATMEGA328P-MU | ATMEGA328-MUR | ATMEGA168PB-MU | ATMEGA168PA-MU |
|---|---|---|---|---|---|
| Package | 32-VFQFN (5x5 mm) | 32-VFQFN (5x5 mm) - same | 32-VFQFN (5x5 mm) - same | 32-VFQFN (5x5 mm) - same | 32-VFQFN (5x5 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Flash | 32 KB | 32 KB | 32 KB | 16 KB | 16 KB |
| SRAM | 2 KB | 2 KB | 2 KB | 1 KB | 1 KB |
| Max Clock | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| I2C Interfaces | 2 | 1 | 1 | 2 | 1 |
| SPI Interfaces | 2 | 1 | 1 | 2 | 1 |
| Extra PORTE GPIO (pins 19/22) | Yes (PE2/PE3) | No (legacy ADC6/ADC7) | No | Yes (PE2/PE3) | No |
| Operating Temperature | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C |
주요 차별점
- Dual I2C and dual SPI buses on one chip (vs ATMEGA328P-MU)
- Two extra GPIO/ADC channels via PORTE (vs ATMEGA328P-MU)
- Same core, half the memory option for cost-down (vs ATMEGA168PB-MU)
- Trade-off: legacy pinout compatibility (vs ATMEGA328P-MU)
설계 노트
Do not assume the ATMEGA328PB-MU is a blind drop-in for the ATMEGA328P-MU. Per Microchip documentation and community analysis, PE2 and PE3 occupy QFN pins 19 and 22, multiplexed with ADC6/ADC7, and pins 3 (GND) and 6 (VCC) differ in connectivity versus the legacy 328P MLF. Audit your schematic for any connection on pins 19 and 22 before respinning, and ensure the device signature and fuses are set for the 328PB in your programmer project files.
Decouple VCC and AVCC separately with 100 nF ceramic capacitors placed within 2 mm of pins 6 and 16 respectively, each with a low-impedance via to the ground plane. AVCC must be connected even if the ADC is unused, per the Microchip datasheet. When using PE2/PE3 as ADC6/ADC7 channels, keep analog routing away from the XTAL1/XTAL2 traces on pins 7/8 to preserve ADC noise performance at the 10-bit level.
The 32-VFQFN (5x5 mm) has a 0.5 mm pitch and center exposed pad; create a solder-mask-defined land pattern per IPC guidance and print approximately 6-8 mils of solder paste on the center pad via an array of small apertures (50-60 percent coverage) to prevent float. X-ray or AOI inspection is recommended for volume assembly. The center pad should be tied to GND with a via array to improve thermal dissipation and ground integrity.
규정 준수 정보
FindIC lists the ATMEGA328PB-MU as GREEN packaging, indicating RoHS-compliant lead-free production. Formal REACH/halogen-free/conflict-minerals statements should be pulled from the Microchip compliance portal for the specific date code.