ATTINY406-SF - 16MHz 4KB AVR Microcontroller | Microchip
MPN: ATTINY406-SF ✓ ActiveATTINY406-SF Overview
A microcontroller is an integrated circuit containing a processor core, program memory, data memory, and peripherals on one semiconductor die. The tinyAVR family combines the general-purpose AVR RISC architecture with event-driven peripherals and low-power sleep capabilities. Within the semiconductor hierarchy, ATTINY406-SF belongs to the TinyAVR 0-series, where its hardware multiplier, analog resources, and event system support efficient control tasks and signal acquisition without requiring a larger processor.
Key device features include a 16 MHz maximum operating frequency for the ATTINY406-SF ordering configuration, 4 KB of Flash memory for firmware storage, and 256 bytes of SRAM for working data. The 128-byte EEPROM provides nonvolatile storage for calibration values, configuration data, or counters. An integrated hardware multiplier improves the efficiency of multiply and multiply-accumulate operations, while I2C, SPI, and USART interfaces allow connection to sensors, transceivers, memories, and service ports.
The ATTINY406-SF belongs to Microchip's functional-safety-oriented tinyAVR 0-series and is listed by its manufacturer for operation up to 125°C. Its 20-pin SOIC package is larger than QFN options but offers a practical leaded-surface-mount format for assembly and inspection. Typical designs use the microcontroller for supervisory functions, compact sensor nodes, motor or actuator controllers, and low-to-medium-speed communication bridges. Exact voltage limits, converter characteristics, timer channels, and detailed timing parameters should be confirmed against the manufacturer datasheet.
For new layouts, place the decoupling network close to the supply pins and route sensitive analog signals away from switching nodes. Confirm oscillator, reset, programming, and exposed-pin requirements in the datasheet pin-description table before release. The 4 KB Flash limit also makes code-size budgeting important when adding communication stacks, safety checks, or field-upgrade features.
Drop-in alternatives for ATTINY406-SF — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
No drop-in alternatives available for this product.
Request AlternativesATTINY406-SF Maximum Ratings & Electrical Characteristics
| Product Type | 8-bit AVR tinyAVR microcontroller |
| Maximum Clock Frequency | 16 MHz |
| Flash Program Memory | 4 KB (4K x 8) |
| SRAM | 256 bytes |
| EEPROM | 128 bytes |
| Processor Architecture | AVR RISC, 8-bit |
| Hardware Multiplier | Present |
| Number of I/O Pins | 18 pins |
| Package | 20-pin SOIC |
| Operating Temperature Range | Up to 125°C |
| Serial Interfaces | I2C, SPI, and USART |
| Peripheral Technology | Event System and SleepWalking |
| Analog Features | Accurate analog features |
| Watchdog and Reset Features | Brown-out detection, power-on reset, and watchdog timer |
ATTINY406-SF 20-pin soic Pin Configuration Guide
Pin configuration for ATTINY406-SF (20-pin soic package). This digital IC includes GPIO, communication interfaces (UART, SPI, I2C), and power pins. Refer to the manufacturer datasheet for alternate pin functions and configuration options. Essential for embedded system design and PCB layout.
No detailed pinout data available for ATTINY406-SF.
Refer to the datasheet for full pin configuration.
Typical Applications
ATTINY406-SF is suitable for 6 applications: Compact Industrial Sensor Node, Motor and Actuator Control, Serial Communication Bridge, Battery-Powered Monitoring Module, Functional-Safety Control Element, Data Acquisition Front End.
Compact Industrial Sensor Node
The ATTINY406-SF fits a compact sensor node that must acquire measurements and forward them over a short serial link. Its 18 I/O pins support digital sensors, status indicators, and control outputs, while I2C can connect a sensor and SPI can serve a higher-throughput peripheral. The 4 KB Flash limit favors a focused firmware image, and the 256-byte SRAM area is sufficient for small measurement buffers. At up to 125°C, the ordering configuration supports industrial environments when the complete power, timing, and qualification requirements are confirmed in the Microchip manufacturer datasheet.
Recommended
Motor and Actuator Control
ATTINY406-SF can serve as the supervisory controller in a small motor or actuator subsystem where deterministic pulse timing, status monitoring, and external communication are required. The AVR RISC core operating at up to 16 MHz, hardware multiplier, Event System, and SleepWalking support responsive control without continuous polling. I2C, SPI, and USART provide paths to position sensors, power stages, and maintenance interfaces. Firmware should include defined limits and fault handling appropriate to the actuator, while the 4 KB Flash budget requires disciplined use of library code and diagnostic routines.
Recommended
Serial Communication Bridge
The ATTINY406-SF is appropriate for a compact protocol bridge that translates commands between a host UART and a local I2C or SPI device. Its three serial-interface types allow one MCU to connect to both a service port and a peripheral bus without another communications IC. The 16 MHz maximum clock supports event-driven protocol handling, and the 128-byte EEPROM can retain configuration parameters. Firmware designers should include timeouts, CRC or parity handling as required, and bounded buffer logic because only 256 bytes of SRAM are available for working data.
Recommended
Battery-Powered Monitoring Module
ATTINY406-SF can be used in a small battery-powered monitor that wakes periodically, samples a sensor, records an event, and returns to a low-power state. SleepWalking and the Event System help move control toward event-driven operation, reducing the time for which the processor must remain active. The EEPROM preserves counters or thresholds across power cycles, while I2C is useful for low-power sensor connection. Power consumption must be evaluated across active, idle, and sleep states using the Microchip manufacturer datasheet, including regulator, pull-up, and sensor leakage contributions.
Recommended
Functional-Safety Control Element
The ATTINY406-SF belongs to the tinyAVR 0-series functional-safety family and can serve as a dedicated supervisory element in a larger control system. Its deterministic 8-bit architecture, watchdog and brown-out features, hardware multiplier, and communication peripherals support diagnostic and control tasks. The 20-pin SOIC package provides 18 I/O pins, leaving adequate connections for sensors, fault inputs, and status reporting. Safety suitability depends on the complete device certification scope, failure metrics, diagnostic coverage, and system-level architecture; confirm these details in the Microchip manufacturer datasheet before using the MCU as a safety mechanism.
Recommended
Data Acquisition Front End
ATTINY406-SF can implement a compact data-acquisition front end that samples an analog or digital sensor and transfers results to a host processor. Its accurate analog features and 18 available I/O pins support mixed signal acquisition, threshold monitoring, and digital conditioning. The Event System permits hardware-driven responses to selected events, while USART, SPI, or I2C provides a path to the upstream controller. Firmware must keep acquisition timing within the 16 MHz device capability, and designers should confirm ADC channel mapping, resolution, reference behavior, and acquisition time in the manufacturer datasheet.
Recommended
Recommended Products Summary
Engineering reference data for ATTINY406-SF — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product |
|---|---|
| Package | 20-pin SOIC |
| Brand | Microchip Technology |
| Maximum Clock Frequency | 16 MHz |
| Core Architecture | 8-bit AVR RISC |
| Flash Memory | 4 KB |
| SRAM | 256 bytes |
| EEPROM | 128 bytes |
| Number of I/O Pins | 18 pins |
| Serial Interfaces | I2C, SPI, and USART |
| Maximum Operating Temperature | 125°C |
Key Differentiators
- 20-pin SOIC package for leaded surface-mount assembly (vs ATTINY406-MFR)
- Broader assembly and inspection access than leadless package choices (vs ATTINY406-MNR)
- Dedicated functional-safety family feature set (vs ATTINY11-6PU)
Design Notes
Place the required supply decoupling capacitors directly between each supply pin and the nearest ground reference. Use short, low-inductance connections and a quiet ground-return path so switching current does not share the sensitive signal-return segment. Follow the capacitor value, voltage rating, and layout guidance in the Microchip manufacturer datasheet. In a 20-pin SOIC footprint, keep surrounding components outside the pin-1 orientation marker and preserve unobstructed access to programming and reset connections.
Do not treat ATTINY406-SF, ATTINY406-MFR, and ATTINY406-MNR as drop-in package alternatives. ATTINY406-SF uses a 20-pin SOIC, while the MFR and MNR selections use compact leadless packages with different land patterns and thermal-pad arrangements. A redesign may also change routing of power, communications, and exposed-pad connections. Confirm pin names, alternate functions, supply requirements, clock options, and programming signals for the exact ordering code before schematic sign-off.
Budget regulator headroom and supply current for the MCU, communications peripherals, pull-ups, and attached sensors rather than the processor alone. The 4 KB Flash and 256-byte SRAM limits favor code efficiency, but firmware size does not directly determine power use; interrupt rate, sleep configuration, peripheral clocks, and external leakage can dominate consumption. Measure active and sleep current on the assembled board and confirm whether the Event System and SleepWalking features reduce the required duty cycle.
Assign I2C and other communication pins during schematic design instead of treating them as interchangeable after placement. Account for pull-up values, bus capacitance, signal rate, and peripheral timing in the firmware. If the board combines a switching supply or motor driver with analog measurements, route sensitive inputs away from high-current edges and switching nodes, use a controlled ground reference, and test the completed assembly for noise-coupled errors.
Compliance Information
The manufacturer material identifies ATTINY406-SF as a functional-safety tinyAVR microcontroller, but no explicit RoHS, REACH, lead-free, halogen-free, conflict-minerals, or AEC-Q100 declaration was included. Confirm the current declarations for the exact ordering code before release.