ATMEGA168A-AU - 8-Bit AVR MCU 16KB Flash 20MHz | Microchip
Артикул: ATMEGA168A-AU ✓ Активен| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 1 | $2.19 | $2,19 |
| 10 | $1.98 | $19,80 |
| 100 | $1.76 | $176,00 |
| 500 | $1.58 | $790,00 |
| 1.000 | $1.42 | $1.420,00 |
ATMEGA168A-AU Обзор
An AVR microcontroller is a Harvard-architecture 8-bit RISC device that executes most instructions in a single clock cycle, sitting in the hierarchy of microcontroller -> embedded processor -> integrated circuit -> semiconductor. The ATmega168A family is the second-generation "A" revision of the classic ATmega168, adding improved brown-out detection, a calibrated internal RC oscillator, and enhanced EEPROM endurance while retaining full pin and code compatibility with the original ATmega168 and the picoPower ATmega168P/PA devices.
Key features include 16 KB ISP flash with read-while-write capability, 512 B EEPROM rated for 100,000 write/erase cycles, 1 KB internal SRAM, 23 programmable I/O lines, 32 general-purpose working registers, three flexible timer/counters with compare modes, a serial programmable USART, a byte-oriented Two-Wire serial interface, and an SPI serial port. The device also integrates a 10-bit ADC, a programmable watchdog timer with internal oscillator, and six sleep modes for low-power operation.
The ATmega168A uses Microchip's high-performance, low-power AVR 8-bit RISC architecture with 131 powerful instructions, most executing in a single clock cycle, achieving throughput approaching 1 MIPS per MHz. This allows the system designer to optimize power consumption versus processing speed. The 32-TQFP package measures 7x7 mm with a 0.8 mm pitch, making it suitable for compact surface-mount assemblies.
Typical applications include Arduino-compatible development boards, industrial sensor nodes, battery-powered IoT endpoints, motor control, home automation, and portable instrumentation. The wide 2.7 V to 5.5 V supply range supports both 3.3 V and 5 V logic systems, and the integrated peripherals reduce external component count.
When designing with this device, decouple VCC and AVCC with 100 nF ceramic capacitors placed close to the pins, and connect the AREF pin through a low-pass filter when using the ADC. The RESET pin requires an external pull-up or the internal pull-up must be enabled.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet, providing engineers with a single reference for selection, replacement, and layout decisions.
Аналоги без доработки для ATMEGA168A-AU — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с ATMEGA168A-AU (тот же форм-фактор и посадочное место) — отличается по Operating Temperature, ADC Resolution, Timers/Counters, Communication Interfaces, Timers.
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
ATMEGA168PA-AU
✅ Прямая замена✓ В наличии
$0.98 / шт.
Открыть даташит →ATMEGA168-20AU
✅ Прямая замена✓ В наличии
$1.82 / шт.
Открыть даташит →ATMEGA168A-AUR
✅ Прямая замена✓ В наличии
$1.45 / шт.
Открыть даташит →ATMEGA168PA-AUR
✅ Прямая замена✓ В наличии
$1.85 / шт.
Открыть даташит →ATMEGA328P-AU
✅ Прямая замена✓ В наличии
$1.74 / шт.
Открыть даташит →ATMEGA88PA-AU
✅ Прямая замена✓ В наличии
$1.21 / шт.
Открыть даташит →ATMEGA168A-AU Максимальные параметры и электрические характеристики
| Core Architecture | 8-bit AVR RISC |
| Program Memory Size | 16 KB (8K x 16) Flash |
| Program Memory Type | Flash (ISP, read-while-write) |
| EEPROM Size | 512 B |
| SRAM Size | 1 KB |
| Максимальная тактовая частота | 20 MHz |
| Operating Voltage Range | 2.7 V to 5.5 V |
| Number of I/O Lines | 23 |
| General Purpose Registers | 32 |
| Instruction Set | 131 instructions, most single-cycle |
| Timers/Counters | 3 (two 8-bit, one 16-bit) with compare modes |
| Serial Interfaces | USART, SPI, Two-Wire (I2C) |
| ADC Resolution | 10-bit |
| Корпус | 32-TQFP (7x7 mm) |
| Тип монтажа | Surface Mount |
| Рабочая температура | -40 C to +85 C |
| Sleep Modes | 6 (Idle, ADC Noise Reduction, Power-save, Power-down, Standby, Extended Standby) |
| Статус RoHS | Compliant |
| Lifecycle Stage | Active |
Конфигурация выводов ATMEGA168A-AU
| Контакт 1 | PD3 — Port D, bit 3 (also INT1, OC2B) |
| Контакт 2 | PD4 — Port D, bit 4 (also T0, XCK) |
| Контакт 3 | GND — Ground |
| Контакт 4 | VCC — Digital supply voltage |
| Контакт 5 | GND — Ground |
| Контакт 6 | VCC — Digital supply voltage |
| Контакт 7 | PB6 — Port B, bit 6 (also XTAL1/TOSC1) |
| Контакт 8 | PB7 — Port B, bit 7 (also XTAL2/TOSC2) |
| Контакт 9 | PD5 — Port D, bit 5 (also T1, OC0B) |
| Контакт 10 | PD6 — Port D, bit 6 (also AIN0, OC0A) |
| Контакт 11 | PD7 — Port D, bit 7 (also AIN1) |
| Контакт 12 | PB0 — Port B, bit 0 (also ICP1, CLKO) |
| Контакт 13 | PB1 — Port B, bit 1 (also OC1A) |
| Контакт 14 | PB2 — Port B, bit 2 (also OC1B, SS) |
| Контакт 15 | PB3 — Port B, bit 3 (also OC2A, MOSI) |
| Контакт 16 | PB4 — Port B, bit 4 (also MISO) |
| Контакт 17 | PB5 — Port B, bit 5 (also SCK) |
| Контакт 18 | AVCC — Analog supply voltage for ADC |
| Контакт 19 | ADC6 — Analog input channel 6 |
| Контакт 20 | AREF — Analog reference voltage for ADC |
| Контакт 21 | GND — Ground |
| Контакт 22 | ADC7 — Analog input channel 7 |
| Контакт 23 | PC0 — Port C, bit 0 (also ADC0) |
| Контакт 24 | PC1 — Port C, bit 1 (also ADC1) |
| Контакт 25 | PC2 — Port C, bit 2 (also ADC2) |
| Контакт 26 | PC3 — Port C, bit 3 (also ADC3) |
| Контакт 27 | PC4 — Port C, bit 4 (also ADC4, SDA) |
| Контакт 28 | PC5 — Port C, bit 5 (also ADC5, SCL) |
| Контакт 29 | PC6 — Port C, bit 6 (also RESET) |
| Контакт 30 | PD0 — Port D, bit 0 (also RXD) |
| Контакт 31 | PD1 — Port D, bit 1 (also TXD) |
| Контакт 32 | PD2 — Port D, bit 2 (also INT0) |
Типичное применение
ATMEGA168A-AU подходит для 6 применениеs: Arduino-Compatible Development Boards, Industrial Sensor Nodes, Battery-Powered IoT Endpoints, Motor Control and Robotics, Home Automation Controllers, Portable Instrumentation.
Arduino-Compatible Development Boards
The ATMEGA168A-AU is the exact MCU used on classic Arduino boards such as the Duemilanove and Diecimila, making it a natural fit for Arduino-compatible designs. Its 16 KB flash accommodates the Arduino bootloader plus a moderate sketch, while the 23 I/O lines map directly to the standard Arduino header layout. The 20 MHz maximum clock and 2.7 V to 5.5 V supply allow operation from either USB 5 V or a 3.3 V regulator. Designers typically pair it with an FT232RL USB-to-serial bridge for programming and a 16 MHz crystal for timing accuracy. The trade-off versus the ATMEGA328P-AU is half the flash and SRAM, so memory-intensive sketches may require the larger device.
Рекомендуется
Industrial Sensor Nodes
The ATMEGA168A-AU suits industrial sensor nodes because its integrated 10-bit ADC, three timer/counters, and USART/SPI/I2C interfaces connect directly to temperature, pressure, and flow sensors without external interface logic. The -40 C to +85 C operating range covers most factory-floor environments, and the 2.7 V to 5.5 V supply tolerates the noisy rails typical of 24 V industrial systems after regulation. A typical node samples an analog sensor through the ADC, processes the reading, and transmits over RS-485 via the USART. The 16 KB flash limits complex protocol stacks, so designs needing TCP/IP or large buffers should migrate to the ATMEGA328P-AU or a 32-bit MCU.
Рекомендуется
Battery-Powered IoT Endpoints
For battery-powered IoT endpoints, the ATMEGA168A-AU offers six sleep modes including Power-down and Power-save, allowing average current in the microamp range between transmissions. The 1 KB SRAM and 512 B EEPROM store sensor calibration data and network credentials without external memory. The integrated watchdog timer with independent oscillator improves reliability in unattended deployments. A typical endpoint wakes on a timer, reads a sensor via I2C, and transmits over a sub-GHz or BLE module through the USART or SPI. The main trade-off is that the A-revision draws more standby current than the picoPower ATMEGA168PA-AU, so power-critical designs should select the PA variant.
Рекомендуется
Motor Control and Robotics
The ATMEGA168A-AU handles motor control and small robotics tasks using its three timer/counters with compare modes to generate PWM for H-bridge drivers. The 16-bit Timer/Counter1 provides precise PWM for motor speed control, while the 10-bit ADC reads potentiometers or current-sense shunts for closed-loop feedback. The 23 I/O lines drive limit switches, encoders, and status LEDs. At 20 MHz the core executes most instructions in one cycle, giving responsive control-loop timing. Designers should note that the 16 KB flash constrains complex motion-planning algorithms, so multi-axis robots typically use the ATMEGA328P-AU or a 32-bit device. Decouple the motor supply from the MCU rail to avoid brown-out resets.
Рекомендуется
Home Automation Controllers
The ATMEGA168A-AU is well suited to home automation controllers that manage relays, dimmers, and sensor inputs. Its 23 I/O lines directly drive relay driver transistors and read wall-switch and PIR inputs, while the Two-Wire serial interface connects to I2C temperature and humidity sensors. The USART can interface with a wireless module for remote control. The 512 B EEPROM stores scene settings and network addresses across power cycles. The 2.7 V to 5.5 V range allows operation from a 5 V USB supply or a 3.3 V regulator. For controllers needing more memory for scheduling logic or display graphics, the ATMEGA328P-AU is a pin-compatible upgrade.
Рекомендуется
Portable Instrumentation
Portable instrumentation benefits from the ATMEGA168A-AU's integrated 10-bit ADC, low sleep-mode current, and compact 32-TQFP package. Handheld multimeters, data loggers, and environmental meters use the ADC to digitize sensor signals and the EEPROM to store calibration constants. The 20 MHz core processes readings and drives a character or segment LCD through the I/O ports. Six sleep modes extend battery life between measurements. The 7x7 mm TQFP footprint keeps the PCB small enough for handheld enclosures. The main limitation is the 16 KB flash, which restricts complex display or logging firmware; designs requiring graphics or large data buffers should use the ATMEGA328P-AU.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для ATMEGA168A-AU — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | ATMEGA168PA-AU | ATMEGA168-20AU | ATMEGA328P-AU | ATMEGA88PA-AU |
|---|---|---|---|---|---|
| Package | 32-TQFP (7x7 mm) | 32-TQFP (7x7 mm) - same | 32-TQFP (7x7 mm) - same | 32-TQFP (7x7 mm) - same | 32-TQFP (7x7 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 16 KB | 16 KB | 16 KB | 32 KB | 8 KB |
| SRAM | 1 KB | 1 KB | 1 KB | 2 KB | 512 B |
| EEPROM | 512 B | 512 B | 512 B | 1 KB | 512 B |
| Maximum Clock Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Operating Voltage | 2.7 V to 5.5 V | 1.8 V to 5.5 V | 2.7 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V |
| I/O Lines | 23 | 23 | 23 | 23 | 23 |
| Low-Power Technology | Standard low-power | picoPower | Standard low-power | picoPower | picoPower |
Ключевые отличия
- A-revision brown-out detection and calibrated internal oscillator (против ATMEGA168-20AU)
- Standard low-power core with full 20 MHz operation at 2.7 V (против ATMEGA168PA-AU)
- Half the flash and SRAM of the ATMEGA328P-AU at lower cost (против ATMEGA328P-AU)
- Double the flash and SRAM of the ATMEGA88PA-AU (против ATMEGA88PA-AU)
Заметки по проектированию
Decouple both VCC and AVCC with 100 nF ceramic capacitors placed as close as possible to the respective pins, and add a 10 uF bulk capacitor near the regulator output. AVCC should be connected through a low-pass filter (10 uH inductor or ferrite bead plus 100 nF) when the ADC is used, per the Microchip ATmega168A datasheet recommendation. Keep the analog ground return separate from the digital ground and join them at a single point to minimize ADC noise.
Place the 16 MHz crystal (if used) within 10 mm of the XTAL1/XTAL2 pins and keep the trace lengths short and symmetric. Route the load capacitors (typically 22 pF) directly to the ground plane. Keep high-speed digital traces away from the crystal and AREF pins to avoid coupling. The 32-TQFP 0.8 mm pitch requires a minimum trace width of 0.15 mm and a solder mask dam between pads for reliable assembly.
The RESET pin (PC6) has an internal pull-up but an external 10 kOhm pull-up plus 100 nF capacitor to ground is recommended for noise immunity in industrial environments. Do not leave AREF floating when using the ADC; connect it to AVCC through a 100 nF capacitor or drive it with an external reference. Estimated: at 5 V and 20 MHz the active current is roughly 10-15 mA, so a 100 mA LDO provides adequate margin for the MCU plus peripherals.
When using the USART at high baud rates, keep the TXD/RXD traces short and avoid routing them parallel to switching regulator nodes. For SPI and I2C buses, add 4.7 kOhm pull-ups on SDA/SCL and keep bus capacitance below 400 pF for reliable 400 kHz operation. Series termination resistors (22-33 Ohm) on long SPI clock lines reduce ringing.
Информация о соответствии
RoHS and REACH compliance per Microchip product page and distributor listings. The ATmega168A is not AEC-Q100 qualified; automotive designs should use the ATmega168PA automotive-grade variants where available.