ATMEGA328P-ANR - 8-Bit 20MHz AVR MCU 32KB Flash | Microchip (Tape & Reel)
部品番号: ATMEGA328P-ANR ✓ 生産中ATMEGA328P-ANR 概要
A microcontroller is a programmable integrated circuit that executes firmware, reads inputs, controls outputs, and manages embedded-system timing. The ATmega belongs to the AVR family of 8-bit RISC microcontrollers and sits within the broader embedded-controller and semiconductor hierarchy. Its in-system programming support makes it practical for designs assembled and programmed through ISP-compatible tools, while its serial interfaces support communication with sensors, converters, displays, and host systems.
Verified product information identifies 32 KB Flash as 16K × 16 words, 2 KB SRAM, 1 KB EEPROM, 23 GPIO lines, 32 general-purpose working registers, three timer/counters with compare modes, USART, and Two-Wire Interface. The listed operating temperature is 105°C. These resources make the device suitable for compact control systems, sensor nodes, educational platforms, instruments, and Arduino-compatible embedded products.
The ATMEGA328P-ANR uses an 8-bit AVR processing core and provides read-while-write Flash capability. Its 32 general-purpose working registers support efficient data handling, while the three timer/counters support timing, compare, and event-based control. The USART provides serial communication, and the Two-Wire Interface provides a byte-oriented peripheral bus for compatible sensors and memory devices.
Typical applications include low-cost embedded controllers, Arduino-compatible boards, environmental monitoring, motor and relay sequencing, data acquisition, simple instrumentation, and connected sensor nodes. The 20 MHz maximum clock and 2 KB SRAM provide useful headroom for compact real-time control, while the 32 KB Flash capacity is appropriate for moderate firmware sizes.
Designers should preserve the exact 32-TQFP footprint and pin assignments of the target device, provide the required clock, reset, power, and decoupling connections, and confirm toolchain compatibility before substitution. The manufacturer product page and authorized distributor data are the appropriate sources for final electrical, timing, package, and programming details.
ドロップイン代替品: ATMEGA328P-ANR — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: ATMEGA328P-ANR (同一形状・フットプリント) — 相違点: Flash Memory, Package, Core Architecture, EEPROM, SRAM.
ATMEGA328P-B-AU
✅ ドロップイン📋 参考代替品(カタログ未掲載)
ATMEGA328-AU
✅ ドロップイン価格はお問い合わせください
データシートを見る →ATMEGA168PA-AU
✅ ドロップイン価格はお問い合わせください
データシートを見る →ATMEGA88PA-AU
✅ ドロップイン価格はお問い合わせください
データシートを見る →LGT8F328P
✅ ドロップイン📋 参考代替品(カタログ未掲載)
ATMEGA328P-ANR 最大定格&電気的特性
| Product Type | 8-bit AVR RISC-based microcontroller |
| 最大クロック周波数 | 20 MHz |
| Flash Memory | 32 KB (16K × 16) |
| SRAM | 2 KB |
| EEPROM | 1 KB |
| General-Purpose I/O Lines | 23 |
| General-Purpose Working Registers | 32 |
| Timer/Counter Count | 3 |
| Timer/Counter Features | Compare modes |
| Serial Communication | USART |
| Two-Wire Interface | Byte-oriented |
| Interrupt Support | Internal and external interrupts |
| 動作温度 | 105°C |
| パッケージ | 32-TQFP (7 mm × 7 mm) |
| 実装タイプ | Surface mount |
| Programming | In-system programmable ISP Flash |
| Flash Read-While-Write | Supported |
| Core Architecture | AVR 8-bit RISC |
| Pricing Reference | LCSC price from $3.3765 as of 2026-10-21 |
ATMEGA328P-ANR 32-tqfp (7 mm × 7 mm) ピン配置ガイド
ATMEGA328P-ANR (32-tqfp (7 mm × 7 mm) パッケージ) のピン配置。 このデジタルICには、GPIO、通信インターフェース (UART、SPI、I2C)、および電源ピンが含まれています。代替ピン機能と設定オプションについては、メーカーのデータシートを参照してください。組み込みシステム設計とPCBレイアウトに不可欠です。
詳細なピン配置データはありません: ATMEGA328P-ANR.
詳細は データシート をご参照ください。
主な用途
ATMEGA328P-ANR の用途: 6 件s: Arduino-Compatible Embedded Control, Environmental Sensor Node, Simple Data Acquisition System, Motor and Relay Sequencing, Educational and Maker Electronics, Compact Communication Controller.
Arduino-Compatible Embedded Control
The ATMEGA328P-ANR fits Arduino-compatible embedded-control boards because it combines a 20 MHz AVR core with 32 KB Flash, 2 KB SRAM, 1 KB EEPROM, and 23 general-purpose I/O lines. Its three timer/counters support timing, compare, and event-based tasks, while USART and the byte-oriented Two-Wire Interface provide communication paths to sensors and expansion boards. The 32-TQFP 7 mm × 7 mm package is suitable for compact controller layouts. Before approving a replacement, verify the exact board pin mapping, clock configuration, bootloader, and programming signature rather than assuming every Arduino-compatible MCU is interchangeable.
おすすめ
Environmental Sensor Node
The ATMEGA328P-ANR is well suited to a compact environmental sensor node that periodically measures temperature, humidity, air quality, or light and stores results in EEPROM. Its 20 MHz clock provides responsive control-loop execution, while 2 KB SRAM supports intermediate processing and 32 KB Flash accommodates sensor drivers and communications firmware. USART can connect to a host or radio module, and the Two-Wire Interface can support compatible digital sensors. The 23 GPIO lines allow status indicators, switches, and actuator outputs to share one controller. Exact power-mode current and low-voltage limits should be verified from the manufacturer datasheet for battery-operated deployments.
おすすめ
Simple Data Acquisition System
For a compact data-acquisition front end, ATMEGA328P-ANR can coordinate digital sensors, switch channels, count events, and transmit results over USART. Its three timer/counters and external interrupts support periodic sampling and edge-triggered measurement, while 32 general-purpose working registers help organize control state. The 32 KB Flash footprint is useful for firmware that fits within the available program memory, and 1 KB EEPROM can retain configuration values or counters. Designers should account for analog signal conditioning and sensor-interface electrical requirements outside the MCU; the supplied data does not specify ADC performance, so those parameters must be verified before analog front-end selection.
おすすめ
Motor and Relay Sequencing
The ATMEGA328P-ANR can manage sequencing logic for relays, solenoids, stepper-index signals, and small actuator-control boards. Its three timer/counters provide timing resources for pulse generation, debouncing, and scheduled transitions, while the 23 GPIO lines distribute outputs among control and status functions. The 20 MHz AVR core allows deterministic firmware handling of timers and communication events in modest embedded systems. A practical design should include driver transistors, flyback protection, current limiting, and isolation where required; those external protection components are not specified by the MCU data and must be selected independently.
おすすめ
Educational and Maker Electronics
ATMEGA328P-ANR is a practical choice for educational platforms, instrument prototypes, and maker projects where learners need direct access to an 8-bit MCU rather than a high-level application processor. The AVR architecture, USART, Two-Wire Interface, timers, EEPROM, and 23 GPIO lines expose the core embedded peripherals commonly taught in introductory courses. Its 32-TQFP package also makes the device practical for compact teaching boards while preserving access to individual signals during hardware debugging. Firmware developers should still confirm the selected toolchain, fuse settings, and programming adapter against the exact Microchip documentation.
おすすめ
Compact Communication Controller
The ATMEGA328P-ANR can act as a small protocol hub for serial-connected sensors, displays, actuators, and configuration ports. USART provides one byte-oriented serial channel, while the Two-Wire Interface offers a second bus for compatible peripherals, and the GPIO lines can handle chip-select, reset, flow-control, or interrupt signaling. Its 32 KB Flash and 2 KB SRAM are adequate for moderate protocol translation and buffering tasks, but firmware must leave headroom for stack use, libraries, and future updates. Because the supplied sources do not specify exact USART baud-rate tolerance or peripheral timing limits, interface timing should be validated from the manufacturer datasheet and measured during prototype testing.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: ATMEGA328P-ANR — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | ATMEGA328P-B-AU | ATMEGA328-AU | ATMEGA168PA-AU | ATMEGA88PA-AU | LGT8F328P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | LGT8F |
| Package | 32-TQFP (7x7 mm) | 32-TQFP (7x7 mm) | 32-TQFP (7x7 mm) | 32-TQFP (7x7 mm) | 32-TQFP (7x7 mm) | 32-TQFP (7x7 mm) |
主な差別化要因
- Target device has verified 32 KB Flash, 2 KB SRAM, and 1 KB EEPROM in one 32-TQFP controller (vs ATMEGA168PA-AU)
- Target combines 20 MHz AVR operation with 23 GPIO lines and three timer/counters (vs LGT8F328P)
- Target includes 32 general-purpose working registers and byte-oriented Two-Wire Interface (vs ATMEGA328-AU)
設計ノート
Use the exact Microchip 32-TQFP land pattern and pin numbering rather than a generic 32-pin symbol. The verified snippets identify the package as 32-TQFP 7 mm × 7 mm, but they do not provide the complete pin map, exposed-pad treatment, or land-pattern coordinates. Confirm those details from the current manufacturer package drawing before releasing the PCB. Keep the ISP programming interface accessible and preserve the required reset, clock, power, and decoupling connections around the device.
Provide local supply decoupling close to the MCU power pins and route return current through a low-impedance ground plane. The verified data confirms a 20 MHz maximum clock and low-power AVR family positioning, but does not provide the exact supply-voltage range, absolute maximum ratings, or decoupling values. Do not assume 5 V or 3.3 V suitability from the MCU family alone; verify the selected orderable part and operating voltage from the Microchip datasheet, especially when designing battery-powered sensor nodes.
Route the clock and programming signals away from noisy switching nodes, motor drivers, relay contacts, and long antenna or power paths. If external memory or a high-current actuator shares the board, use controlled return paths and avoid long stubs. The ATMEGA328P-ANR's USART and Two-Wire Interface are useful for peripherals, but the supplied data does not specify timing margins or drive strength. Validate bus topology, pull-ups, baud rate, and signal levels in hardware rather than assuming compatibility from the interface name.
A related-family device is not automatically a drop-in replacement. Before substituting ATMEGA328P-B, ATMEGA328-AU, ATMEGA168PA-AU, ATMEGA88PA-AU, or LGT8F328P, check the exact package drawing, pin functions, supply limits, fuse defaults, programming signature, peripheral behavior, memory requirements, and firmware/toolchain assumptions. The supplied web results do not provide enough authoritative detail to approve those substitutions for an existing production PCB.
コンプライアンス情報
The supplied verified data does not explicitly state RoHS, REACH, AEC-Q100, lead-free, halogen-free, or conflict-minerals status for ATMEGA328P-ANR. Request current manufacturer compliance documentation for the exact orderable MPN.