Product added to cart
Yes, but the datasheet speed grade at 3.3 V is up to 10 MHz, not 20 MHz.
Creating an account has many benefits: check out faster, keep more than one address, track orders and more.

We offer free shipping on all orders over $100and under 2kg.
Please note that free shipping is only available for orders under 2kg.
DHL is a renowned shipping courier known for its global reach and reliable delivery services. With a vast network and advanced logistics capabilities, DHL offers fast and secure shipping solutions for international shipments.
For the majority of countries, DHL provides an estimated delivery time of 5 to 7 days.
In certain instances, DHL may not be available for shipments to EU countries. In such cases, we may opt to ship your order using FedEx instead of DHL. Rest assured, FedEx offers a comparable estimated time of arrival (ETA) and your package should typically arrive within 5-7 days.
The base shipping cost for DHL is $35. You can see the final shipping amount on the checkout page. If your order is over $300and less than 2kg, you will qualify for free shipping through DHL Express.
Economy Shipping is a cost-effective international delivery option using a network of trusted logistics partners. Depending on the destination country, the carrier may vary to ensure the most efficient and reliable delivery.
Estimated delivery time is typically 10–15 business days in most cases; But may take up to 20 days. Orders over $100 and under 2kg qualify for free Economy Shipping.
All shipments include tracking. You will receive a tracking number along with a tracking link after dispatch. Most shipments can be tracked via 17TRACK.
Our shipping term is FOB Shenzhen, which does not cover any customs fees. It is important to note that you may be responsible for paying any charges imposed by your country's government, such as duties, taxes, and additional fees imposed by the courier company.
ATMEGA8A-PU, 10 bit 16 MHz megaAVR Microcontroller, SPDIP-28 Previous
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.
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 functions
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 capacitor.
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 grades
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.
ATtiny13A 1 KB Flash, 64 B SRAM and 64 B EEPROM memory diagram
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 multiplexed.
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 ground.
| 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. |
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.
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.
| Package | SO-8 (SOP-8) |
|---|---|
| Packaging | Tube |
| Operating Temperature Min | -40 C° |
| Operating Temperature Max | +85 C° |
| ADC Resolution | 10 bit |
| Mounting Type | Through Hole |
| Components - Type | 8-bit Microcontrollers - MCU |
| Maximum Clock Frequency | 20 MHz |
| Processor Series | tinyAVR |
Please complete your information below to login.
Sign In
Create New Account