Need Help? +44 (0) 123 4567
You can add your content here.

ATTINY13A-SSU, 10 bit 20 MHz tinyAVR Microcontroller, SO-8 (SOP-8)

Rating:
90% of 100
$0.5600
In stock
SKU
S2-0023
Volume discounts:
  • +50 4 % $0.5400
  • +100 5 % $0.5300
  • +300 7 % $0.5200
  • +500 9 % $0.5100
  • +1000 11 % $0.5000
Ships in 2-3 business days, then:
Free delivery in 12-15 days by Tracked Economic Shipping on orders over $100.
Free delivery in 7-10 days by Express Shipping on orders over $300.
More shipping info
Shop with confidence Learn More
ATMEGA8A-PU, 10 bit 16 MHz megaAVR Microcontroller, SPDIP-28 Previous ATMEGA8A-PU, 10 bit 16 MHz megaAVR Microcontroller, SPDIP-28

ATTINY13A-SSU 8-bit tinyAVR Microcontroller, 10-bit ADC, up to 20 MHz, SOIC-8

The ATTINY13A-SSU is a compact, low-power 8-bit Microchip tinyAVR microcontroller in a surface-mount SOIC-8 package. It combines a four-channel 10-bit ADC, two PWM outputs, watchdog and in-system programming (ISP). Its 1 KB Flash and 64 B SRAM suit small control programs; the headline 20 MHz clock rating requires the datasheet-specified supply voltage.

Specifications of ATTINY13A-SSU 8-bit tinyAVR Microcontroller, 10-bit ADC, up to 20 MHz, SOIC-8

  • Manufacturer: Microchip Technology; tinyAVR family
  • Core: 8-bit AVR RISC architecture
  • Program Flash: 1 KB; in-system programmable via ISP
  • Data memory: 64 B SRAM and 64 B EEPROM
  • Speed grades: up to 4 MHz at 1.8–5.5 V; 10 MHz at 2.7–5.5 V; 20 MHz at 4.5–5.5 V
  • Supply voltage: 1.8–5.5 V
  • GPIO: six Port B lines; PB5 defaults to RESET
  • ADC: four multiplexed channels, 10-bit resolution
  • Timer: one 8-bit Timer0 with two PWM outputs
  • Other peripherals: analog comparator, watchdog, interrupts, BOD and sleep modes
  • Programming/debug: SPI-signal ISP and debugWIRE; no hardware UART or I²C controller
  • Package: SOIC-8 / SO-8, surface mount (SMD/SMT)
  • Standard SSU temperature grade: −40 to +85°C; verify other orderable grades separately

SOIC-8 pinout and shared pin functions

In top view, pin 1 is marked by the dot/notch. Pins 1–4 run down the left; pins 5–8 run up the right.

Pin 1 PB5/RESET/ADC0; pin 2 PB3/ADC3/CLKI; pin 3 PB4/ADC2; pin 4 GND; pin 5 PB0/MOSI/OC0A; pin 6 PB1/MISO/OC0B; pin 7 PB2/SCK/ADC1; pin 8 VCC.

PB5 defaults to RESET. Disabling reset via the RSTDISBL fuse may prevent normal ISP access and require high-voltage programming for recovery.

ATtiny13A-SSU SOIC-8 pinout top view with pin numbers and functionsATtiny13A-SSU SOIC-8 pinout top view with pin numbers and functions

Power and in-system programming

Place a 100 nF ceramic bypass capacitor close to VCC (pin 8) and GND (pin 4); adjust power decoupling for the actual board.

ISP uses MOSI, MISO, SCK and RESET on pins 5, 6, 7 and 1. Connect programmer ground and compatible target supply/reference. This does not imply a general-purpose hardware SPI peripheral.

Check programmer voltage compatibility and prevent external loads from interfering with the ISP pins. The schematic connects the 2×3 ISP header signals to the corresponding chip pins and shows a 100 nF bypass capacitor. Its orientation is the mating face of the male PCB header (cable-connection side), NOT the solder side of the PCB, which may appear mirrored. Verify pin-1 marking, keying, and your specific connector and programmer documentation; do not use this illustration alone as a PCB footprint drawing.

Six-pin AVR ISP connector pin-by-pin wiring and supply bypass capacitorSix-pin AVR ISP connector pin-by-pin wiring and supply bypass capacitor.

20 MHz rating versus default clock

20 MHz is a maximum speed grade at 4.5–5.5 V, not a guaranteed speed at 1.8 V or the factory default clock.

Factory settings select the nominal 9.6 MHz internal RC oscillator with CKDIV8 programmed, giving an initial CPU clock of approximately 1.2 MHz (9.6 ÷ 8). Actual frequency depends on oscillator tolerance and calibration. For ISP timing, a conservative rule is to keep programmer SCK at or below roughly one quarter of the target clock. At the nominal factory-default 1.2 MHz CPU clock, 300 kHz is a calculated upper guide, not a guaranteed working setting; starting near 125 kHz is safer. Lower SCK further if clock fuses were changed or programming fails, and verify the serial-programming timing in the datasheet. Check voltage-versus-frequency limits before increasing the clock or changing fuses.

Do not assume dedicated crystal oscillator pins; consult the clock-source options in the datasheet.

ATtiny13A supply voltage and maximum clock frequency speed gradesATtiny13A supply voltage and maximum clock frequency speed grades

Memory limits and firmware planning

1 KB Flash holds program code; 64 B SRAM holds runtime variables and stack; 64 B EEPROM stores non-volatile data.

Budget stack depth, buffers and library overhead carefully: large libraries and long strings may not fit.

Ttiny13A 1 KB Flash, 64 B SRAM and 64 B EEPROM memory diagramATtiny13A 1 KB Flash, 64 B SRAM and 64 B EEPROM memory diagram

ADC, PWM and on-chip peripherals

Four 10-bit ADC inputs share one converter rather than operating simultaneously. For example, an analog sensor output can feed PB4/ADC2 (pin 3) if the signal remains within the permitted input range and shares a common ground. Accuracy depends on ADC reference voltage, supply noise and source impedance. Select the ADC reference using the REFS configuration per the datasheet (VCC or internal 1.1 V reference, as applicable). For example, a 1.5 V input with the internal 1.1 V reference generally produces a saturated 10-bit reading near 1023. ADC saturation is not the same as exceeding a pin voltage rating: always keep the physical input within the allowed GND-to-VCC pin range and the datasheet limits.

Timer0 provides two PWM outputs (OC0A/OC0B). Review pin multiplexing when combining PWM, ADC, ISP and GPIO.

Watchdog, analog comparator, brown-out detection and sleep modes support compact low-power control.

Pin-function reference for ADC, PWM and ISP; pins are multiplexedPin-function reference for ADC, PWM and ISP; pins are multiplexed.

Applications and selection guidance

Suitable for LED control, buttons, basic analog sensing, simple PWM, timing and compact control logic.

For more memory, pins or hardware serial interfaces, compare the STM32F030F4P6 microcontroller. It uses a different ARM architecture and is not a pin-compatible or firmware-compatible replacement.

Example analog sensor input to ADC2; observe voltage limits and common groundExample analog sensor input to ADC2; observe voltage limits and common ground.

Troubleshooting

Symptom What to check
ISP programmer cannot detect the MCU Check VCC, GND, RESET, MOSI, MISO, SCK, connector orientation and target clock. Reduce programmer SCK if needed.
ISP fails after changing fuses Review clock-source and RSTDISBL settings; consult the datasheet for recovery options.
ADC reading saturates or fluctuates Check the reference selection, input range, shared ground, source impedance and supply noise.
Firmware does not fit or behaves unexpectedly Check Flash usage, SRAM buffers, stack depth and library overhead.
PWM or GPIO does not behave as expected Check Timer0 configuration and shared ADC, PWM, ISP and RESET pin functions.

Frequently asked questions about ATTINY13A-SSU

Yes, but the datasheet speed grade at 3.3 V is up to 10 MHz, not 20 MHz.

A compatible board may serve as an ISP programmer with appropriate firmware, wiring, voltage levels and fuse settings.

No. Software implementations may be possible but consume scarce CPU and memory resources.

There are six Port B lines, although PB5 is RESET by default and repurposing it can affect ISP.

Four multiplexed 10-bit ADC inputs; ADC0 shares PB5/RESET and is not normally usable without changing the reset fuse.

No, an internal oscillator is available. Check datasheet clock and fuse options.

The SSU variant is a surface-mount SOIC-8 device, not a through-hole DIP.

Changing reset or clock fuses can disrupt ISP; review recovery options before writing fuses.

Datasheet and design checks

For fuse bits, register definitions, I/O current limits and electrical ratings, see the official ATtiny13A datasheet and Microchip product page.

Verify pin-1 orientation, SOIC-8 footprint, ground return, bypass capacitor placement and ISP access before manufacturing.

More Information
PackageSO-8 (SOP-8)
PackagingTube
Operating Temperature Min-40 C°
Operating Temperature Max+85 C°
ADC Resolution10 bit
Mounting TypeThrough Hole
Components - Type8-bit Microcontrollers - MCU
Maximum Clock Frequency20 MHz
Processor SeriestinyAVR
Write Your Own Review
Write a ReviewATTINY13A-SSU, 10 bit 20 MHz tinyAVR Microcontroller, SO-8 (SOP-8)
To Top
5 Stars
100%(1)
4 Stars
0%(0)
3 Stars
0%(0)
2 Stars
0%(0)
1 Stars
0%(0)
ATTINY13A-SSU, 10 bit 20 MHz tinyAVR Microcontroller, SO-8 (SOP-8)
ATTINY13A-SSU, 10 bit 20 MHz tinyAVR Microcontroller, SO-8 (SOP-8)
$0.5600
Wish List
Help
Shop
Account
0 Cart