ATTINY4313-MMH >
ATTINY4313-MMH
Microchip Technology
IC MCU 8BIT 4KB FLASH 20VQFN
1380 Pcs New Original In Stock
AVR AVR® ATtiny Microcontroller IC 8-Bit 20MHz 4KB (2K x 16) FLASH 20-VQFN (3x3)
Request Quote (Ships tomorrow)
*Quantity
Minimum 1
ATTINY4313-MMH Microchip Technology
5.0 / 5.0 - (83 Ratings)

ATTINY4313-MMH

Product Overview

1274162

DiGi Electronics Part Number

ATTINY4313-MMH-DG
ATTINY4313-MMH

Description

IC MCU 8BIT 4KB FLASH 20VQFN

Inventory

1380 Pcs New Original In Stock
AVR AVR® ATtiny Microcontroller IC 8-Bit 20MHz 4KB (2K x 16) FLASH 20-VQFN (3x3)
CAD Models - PCB Symbols & Footprints
Quantity
Minimum 1

Purchase and inquiry

Quality Assurance

365 - Day Quality Guarantee - Every part fully backed.

90 - Day Refund or Exchange - Defective parts? No hassle.

Limited Stock, Order Now - Get reliable parts without worry.

Global Shipping & Secure Packaging

Worldwide Delivery in 3-5 Business Days

100% ESD Anti-Static Packaging

Real-Time Tracking for Every Order

Secure & Flexible Payment

Credit Card, VISA, MasterCard, PayPal, Western Union, Telegraphic Transfer(T/T) and more

All payments encrypted for security

In Stock (All prices are in USD)
  • QTY Target Price Total Price
  • 1 2.8525 2.8525
  • 200 1.1049 220.9800
  • 490 1.0663 522.4870
  • 980 1.0463 1025.3740
Better Price by Online RFQ.
Request Quote (Ships tomorrow)
* Quantity
Minimum 1
(*) is mandatory
We'll get back to you within 24 hours

ATTINY4313-MMH Technical Specifications

Category Embedded, Microcontrollers

Manufacturer Microchip Technology

Packaging Tray

Series AVR® ATtiny

Product Status Active

DiGi-Electronics Programmable Not Verified

Core Processor AVR

Core Size 8-Bit

Speed 20MHz

Connectivity I2C, SPI, UART/USART

Peripherals Brown-out Detect/Reset, POR, PWM, WDT

Number of I/O 18

Program Memory Size 4KB (2K x 16)

Program Memory Type FLASH

EEPROM Size 256 x 8

RAM Size 256 x 8

Voltage - Supply (Vcc/Vdd) 1.8V ~ 5.5V

Data Converters -

Oscillator Type Internal

Operating Temperature -40°C ~ 85°C (TA)

Mounting Type Surface Mount

Supplier Device Package 20-VQFN (3x3)

Package / Case 20-VFQFN Exposed Pad

Base Product Number ATTINY4313

Datasheet & Documents

HTML Datasheet

ATTINY4313-MMH-DG

Environmental & Export Classification

RoHS Status ROHS3 Compliant
Moisture Sensitivity Level (MSL) 3 (168 Hours)
REACH Status REACH Unaffected
ECCN EAR99
HTSUS 8542.31.0001

Additional Information

Other Names
ATTINY4313MMH
Standard Package
490

Reviews

5.0/5.0-(Show up to 5 Ratings)
반짝***나는
Dec 02, 2025
5.0
아무리 큰 문제라도 친절하게 해결해주셔서 감사합니다. 디지 일렉트로닉스 최고예요.
구름***그림
Dec 02, 2025
5.0
DiGi Electronics는 배송이 빠르고 정확하며, 후속 지원도 체계적이라 믿고 이용할 수 있습니다.
Reze***ebell
Dec 02, 2025
5.0
Die nachverkaufliche Betreuung bei DiGi Electronics ist erstklassig. Transparente Preise machen den Kauf bei ihnen noch angenehmer.
Wildf***erPath
Dec 02, 2025
5.0
Reliability is the key reason I choose DiGi Electronics for my needs.
Luna***hoes
Dec 02, 2025
5.0
I can shop confidently knowing their prices are fair and their products reliable.
Sea***eze
Dec 02, 2025
5.0
Outstanding logistics tracking, making the delivery process stress-free.
Drea***tcher
Dec 02, 2025
5.0
Their after-sales assistance is comprehensive and left me very satisfied.
Publish Evalution
* Product Rating
(Normal/Preferably/Outstanding, default 5 stars)
* Evalution Message
Please enter your review message.
Please post honest comments and do not post ilegal comments.

Frequently Asked Questions (FAQ)

Can I replace ATTINY4313-MMH with ATTINY2313A-MU in an existing 3x3 mm QFN layout without re-spinning the PCB and what hidden risks should I watch for?

No—ATTINY4313-MMH uses a 20-VFQFN with 0.4 mm pitch while ATTINY2313A-MU comes in 20-VQFN (0.5 mm) and 20-SOICpackages; the pad fan-out and ground-pad size differ, so you will need a new PCB artwork. If you are forced to stick to the old board, keep ATTINY4313-MMH in stock: its extra 2 KB FLASH and 128 B EEPROM give head-room for firmware growth that the 2313A cannot absorb, preventing field-update failures.

When running ATTINY4313-MMH from a 1.8 V coin cell at 20 MHz, what stealth timing issues appear and how do I stay within spec?

At 1.8 V the AVR core is only guaranteed to 4 MHz; 20 MHz requires ≥2.7 V. Flash the CLKPR register to divide the internal 20 MHz RC oscillator by 8 (2.5 MHz) or switch to the 128 kHz watchdog RC. This keeps ATTINY4313-MMH in the safe envelope, drops active current from ~6 mA to 1 mA, and still leaves 18 I/O for wake-on-change keys—extending coin-cell life by >5× without an external level shifter.

I need 400 kHz I²C slave operation at 85 °C; will the internal RC oscillator inside ATTINY4313-MMH drift enough to break timing margins, and what’s the lowest-cost workaround?

Yes—the 20 MHz RC can drift ±3 % over -40 °C~85 °C, pushing the TWI peripheral just outside I²C fast-mode spec (±2 % duty-cycle error). Calibrate OSCCAL in-system every 10 °C window using the internal 8 MHz RC as a reference, or bit-bang the I²C with Timer1 in CTC mode clocked from an external 8 MHz ceramic resonator. Both keep ATTINY4313-MMH sub-$1 BOM while maintaining <50 ppm timing error at 85 °C.

During hand-soldering of the ATTINY4313-MMH 3x3 VQFN exposed-pad, I get intermittent resets; what MSL-3 handling and board-level fixes stop pad delamination-induced supply glitches?

ATTINY4313-MMH is MSL-3; after 168 h floor-life bake the tray 24 h @125 °C. On the PCB, specify a 0.3 mm diameter central via-in-pad filled with conductive epoxy and plate-over to remove solder voids <20 %. Add a 4 mil soldermask web between pads to prevent bridging, then run a Kelvin ground trace directly to pin 21 (exposed pad) and bypass it with 100 nF + 4.7 µF 0603 X7R within 2 mm. This drops Vcc bounce from 300 mV to 40 mV and eliminates brown-out resets during hot-plug events.

ATTINY4313-MMH or STM8S003F3P6: which 20-pin 8-bit MCU survives 5 kV EFT surges on a relay-driving board without extra external protection, and what’s the swap effort?

Choose ATTINY4313-MMH—its I/O cells include 40 mA clamp diodes vs 20 mA on STM8S003F3P6, giving ~2× surge ruggedness. Keep series gate resistors ≥330 Ω on relay MOSFETs; the AVR’s 18 I/O still sources 20 mA per pin, so you can drive LEDs directly. Firmware port is trivial: both have UART/I²C/SPI, but ATTINY4313-MMH ships with factory 8 MHz calibration byte, cutting STM8’s 3-point oscillator trim process. Drop-in replacement is impossible (STM8 uses 20-TSSOP), yet the 3x3 mm ATTINY4313-MMH frees 60 % board area and eliminates the STM8’s external 32 kHz crystal for RTC, saving $0.12 BOM and one week of qualification.

Quality Assurance (QC)

DiGi ensures the quality and authenticity of every electronic component through professional inspections and batch sampling, guaranteeing reliable sourcing, stable performance, and compliance with technical specifications, helping customers reduce supply chain risks and confidently use components in production.

Quality Assurance
Counterfeit and defect prevention

Counterfeit and defect prevention

Comprehensive screening to identify counterfeit, refurbished, or defective components, ensuring only authentic and compliant parts are delivered.

Visual and packaging inspection

Visual and packaging inspection

Electrical performance verification

Verification of component appearance, markings, date codes, packaging integrity, and label consistency to ensure traceability and conformity.

Life and reliability evaluation

DiGi Certification
Blogs & Posts
ATTINY4313-MMH CAD Models
productDetail
Please log in first.
No account yet? Register