ATTINY2313V-10PU - 8-bit AVR MCU 2KB Flash 10MHz | Microchip
MPN: ATTINY2313V-10PU ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.46 | $3.46 |
| 10 | $3.11 | $31.10 |
| 100 | $2.82 | $282.00 |
| 500 | $2.6 | $1,300.00 |
| 1,000 | $2.38 | $2,380.00 |
ATTINY2313V-10PU Overview
An 8-bit microcontroller is a compact integrated circuit that contains a processor core, memory, and programmable input/output peripherals on a single chip. The AVR architecture, developed by Atmel (now Microchip), uses an enhanced RISC instruction set that executes most instructions in a single clock cycle, achieving throughputs approaching 1 MIPS per MHz. This efficiency allows designers to optimize power consumption versus processing speed, a critical consideration in embedded systems.
Key features of the ATTINY2313V-10PU include a universal serial interface (USI) that supports SPI and I2C communication, a full-duplex UART for serial communication, and debugWIRE for on-chip debugging. The device also includes a 16-bit timer/counter with PWM capabilities, an 8-bit timer/counter, an analog comparator, and up to 18 programmable I/O lines. The In-System Programmable Flash allows firmware updates via an SPI interface or a conventional programmer, simplifying development and field updates.
Technically, the ATTINY2313V-10PU is manufactured using Atmel's high-density non-volatile memory technology. The low-voltage 'V' variant is optimized for operation down to 1.8V, making it ideal for portable devices. The device supports a wide operating temperature range of -40C to +85C, ensuring reliability in industrial environments. Its 20-pin PDIP package is through-hole mounted, which is convenient for prototyping and educational projects.
Typical applications include sensor interfaces, motor control, LED lighting control, and small automation systems. The combination of low power consumption, versatile communication interfaces, and sufficient memory makes it a popular choice for hobbyist and professional embedded designs.
When designing with this microcontroller, ensure proper decoupling capacitors on the power supply pins and consider using the internal oscillator to reduce external component count. The debugWIRE interface provides a cost-effective debugging solution without requiring additional pins.
Drop-in alternatives for ATTINY2313V-10PU — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
ATTINY2313A-PU
✅ Drop-In📋 Reference alternative (not in catalog)
ATTINY2313-20PU
✅ Drop-In📋 Reference alternative (not in catalog)
ATTINY4313-PU
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
AT90S2313-10PC
✅ Drop-In📋 Reference alternative (not in catalog)
ATTINY4313A-PU
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
ATTINY2313V-10PU Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit AVR RISC |
| Flash Memory | 2 KB (1K x 16) In-System Programmable |
| EEPROM | 128 B |
| Internal SRAM | 128 B |
| Maximum Clock Frequency | 10 MHz |
| Supply Voltage Range | 1.8 V to 5.5 V |
| Number of I/O Lines | 18 |
| Timers | 1 x 8-bit, 1 x 16-bit with PWM |
| Communication Interfaces | USI (SPI/I2C), Full-duplex UART |
| Debug Interface | debugWIRE |
| Analog Comparator | Yes (1) |
| Operating Temperature | -40C to +85C |
| Package | 20-PDIP |
| Mounting Type | Through-Hole |
| Throughput | Up to 1 MIPS per MHz |
| RoHS Status | Compliant (GREEN) |
| Temperature Grade | Industrial |
ATTINY2313V-10PU Pin Configuration
| Pin 1 | RESET/dW — Active-low reset input; also debugWIRE interface |
| Pin 2 | PD0/RXD — Port D bit 0 / UART receive input |
| Pin 3 | PD1/TXD — Port D bit 1 / UART transmit output |
| Pin 4 | PA1/XTAL2 — Port A bit 1 / oscillator output or clock input |
| Pin 5 | PA0/XTAL1 — Port A bit 0 / oscillator input or external clock |
| Pin 6 | PD2/CKOUT/INT0 — Port D bit 2 / external interrupt 0 / clock output |
| Pin 7 | PD3/INT1/TOA1 — Port D bit 3 / external interrupt 1 / timer input |
| Pin 8 | PD4/T0/XCK — Port D bit 4 / timer0 clock / USART external clock |
| Pin 9 | PD5/OC0B/T1 — Port D bit 5 / Timer0 output compare B / Timer1 clock |
| Pin 10 | GND — Ground |
| Pin 11 | PD6/ICP/OC0A — Port D bit 6 / input capture / Timer0 output compare A |
| Pin 12 | PB0/AIN0 — Port B bit 0 / analog comparator positive input |
| Pin 13 | PB1/AIN1 — Port B bit 1 / analog comparator negative input |
| Pin 14 | PB2/OC0A/INT2 — Port B bit 2 / output compare / external interrupt 2 |
| Pin 15 | PB3/OC1A — Port B bit 3 / Timer1 output compare A (PWM) |
| Pin 16 | PB4/OC1B — Port B bit 4 / Timer1 output compare B (PWM) |
| Pin 17 | PB5/MOSI/DI — Port B bit 5 / SPI master output (ISP MOSI) |
| Pin 18 | PB6/MISO/DO — Port B bit 6 / SPI master input (ISP MISO) |
| Pin 19 | PB7/UCSK/SCK — Port B bit 7 / SPI clock (ISP SCK) |
| Pin 20 | VCC — Supply voltage, 1.8V to 5.5V |
Typical Applications
ATTINY2313V-10PU is suitable for 6 applications: Sensor Interface Nodes, LED Lighting Control, Small Motor Control, Serial Communication Bridges, Educational and Hobbyist Prototyping, Portable Battery-Powered Devices.
Sensor Interface Nodes
The ATTINY2313V-10PU fits sensor interface nodes where its USI handles SPI or I2C reads from digital sensors and the UART streams results to a host. With 1.8V to 5.5V operation, it can run directly from coin cells or 2-cell battery packs. Placing the MCU into power-down sleep between samples and clocking at 1MHz internal RC yields microamp-level average currents. The 18 I/O lines comfortably cover sensor control, status LEDs, and a comparator-based threshold alarm channel.
Recommended
LED Lighting Control
The 16-bit timer/counter provides PWM outputs suitable for LED dimming, and 18 I/O lines drive multiple channels directly at low currents. Operating from a 5V rail at up to 10MHz, the ATtiny2313V executes dimming curves and UART command decoding (DMX-style serial at correct baud via crystal) in a single 20-pin through-hole part. The internal RC oscillator suits non-critical dimming applications, eliminating crystal cost. Its industrial -40C to +85C rating supports luminaire environments.
Recommended
Small Motor Control
With one 8-bit and one 16-bit timer generating PWM, the ATTINY2313V-10PU closes basic speed loops for small DC and stepper motors. The 16-bit timer in PWM mode sets duty cycle while the analog comparator plus a shunt can implement crude current limiting. At 5V and 10MHz the CPU delivers roughly 10 MIPS, sufficient for quadrature edge counting and PI updates in the kHz range. The PDIP package simplifies prototyping on breadboards and one-off automation jigs.
Recommended
Serial Communication Bridges
The full-duplex UART combined with the USI (SPI or I2C) makes this MCU a natural UART-to-SPI or UART-to-I2C bridge. Common uses include converting a PC RS-232/USB-serial link into sensor bus traffic for factory test fixtures. At 10MHz the UART reliably sustains 115200 baud with a crystal, and 128B SRAM buffers short frames. debugWIRE on the single RESET pin allows firmware iteration in-circuit without sacrificing I/O pins for debugging.
Recommended
Educational and Hobbyist Prototyping
The 20-pin PDIP through-hole package sockets directly into breadboards and perfboard, making the ATTINY2313V-10PU a staple for electronics education and hobby projects. In-System Programming via a low-cost SPI programmer lets students reflash repeatedly without removing the chip, and debugWIRE provides step debugging on minimal hardware. Wide 1.8V-5.5V tolerance protects against common wiring mistakes on battery supplies. The AVR toolchain (AVR-GCC, avrdude) is free and well documented.
Recommended
Portable Battery-Powered Devices
The 'V' variant's 1.8V minimum supply allows direct operation from two alkaline or NiMH cells across their full discharge curve, a key advantage over the 2.7V-minimum ATTINY2313-20PU. Aggressive use of power-down idle modes between events, combined with the internal 128kHz-class low-power clocking options, stretches battery life in remotes, meters, and data loggers. Operation at reduced clock at 1.8V remains within datasheet safe operating area per the voltage-frequency curve.
Recommended
Recommended Products Summary
Engineering reference data for ATTINY2313V-10PU — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | ATTINY2313A-PU | ATTINY2313-20PU | ATTINY4313-PU | AT90S2313-10PC |
|---|---|---|---|---|---|
| Package | 20-PDIP | 20-PDIP - same | 20-PDIP - same | 20-PDIP - same | 20-PDIP - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology (Atmel legacy) |
| Flash Memory | 2 KB | 2 KB | 2 KB | 4 KB | 2 KB |
| SRAM | 128 B | 128 B | 128 B | 256 B | 128 B |
| Max Clock Frequency | 10 MHz | 20 MHz | 20 MHz | 20 MHz | 10 MHz |
| Supply Voltage Range | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 2.7 V to 5.5 V | 2.7 V to 5.5 V | 4.0 V to 6.0 V |
| USI Peripheral | Yes (SPI/I2C) | Yes | Yes | Yes | No |
| debugWIRE Debugging | Yes | Yes | Yes | Yes | No |
Key Differentiators
- Lowest supply voltage in the family (vs ATTINY2313-20PU)
- Lower cost for memory-constrained designs (vs ATTINY4313-PU)
- Modern peripherals vs legacy part (vs AT90S2313-10PC)
Design Notes
Place a 100nF ceramic decoupling capacitor directly across VCC (pin 20) and GND (pin 10), plus a 4.7uF-10uF bulk capacitor near the board supply entry. At 5V/10MHz, supply ripple on the RESET pin can cause spurious resets - add a 10k pull-up on RESET if debugWIRE is disabled. Remember the voltage-frequency safe operating area: above 1.8V-minimum supply, clock speed must be derated per the datasheet curve.
debugWIRE and ISP programming share the RESET pin: once the DWEN fuse is set, normal SPI ISP is disabled and you must use debugWIRE to restore it. Enable BOD (brown-out detection) for battery applications to prevent EEPROM corruption during slow supply decay. Note that this part has no ADC - analog measurements require the comparator plus timing tricks or an external ADC such as the ADS1115.
For through-hole PDIP designs, keep the crystal (if used) within 1-2 cm of XTAL1/XTAL2 with 12-22pF load capacitors to ground. If using the internal RC oscillator, no crystal components are needed, but UART baud rates will carry approximately +/-2% calibration error, which is acceptable up to 57600 baud but marginal for 115200 baud - use a crystal for reliable high baud rates.
Compliance Information
Listed as GREEN (RoHS-compliant, halogen-free) per FindIC specification data. Reach status not stated in verified sources.