{"id":7035,"date":"2026-06-23T02:14:09","date_gmt":"2026-06-23T02:14:09","guid":{"rendered":"https:\/\/materialparts.com\/attiny13a-su\/"},"modified":"2026-06-23T02:14:09","modified_gmt":"2026-06-23T02:14:09","slug":"attiny13a-su","status":"publish","type":"post","link":"https:\/\/materialparts.com\/zh\/attiny13a-su\/","title":{"rendered":"ATTINY13A-SU"},"content":{"rendered":"<h2>\u4ea7\u54c1\u6982\u89c8<\/h2>\n<p>The ATTINY13A-SU from Microchip (Atmel) is an 8-bit AVR microcontroller in an SOIC-8 package. It features 1KB Flash, 64B SRAM, 64B EEPROM, 4-channel 10-bit ADC, and a USI peripheral supporting SPI communication. Operating from 1.8V to 5.5V, it is one of the smallest and lowest-cost AVR microcontrollers available.<\/p>\n<h2>\u4e3b\u8981\u89c4\u683c<\/h2>\n<table>\n<tr>\n<td>CPU Core<\/td>\n<td>AVR 8-bit RISC<\/td>\n<\/tr>\n<tr>\n<td>Maximum Frequency<\/td>\n<td>20 MHz<\/td>\n<\/tr>\n<tr>\n<td>Flash Memory<\/td>\n<td>1 KB<\/td>\n<\/tr>\n<tr>\n<td>SRAM<\/td>\n<td>64 Bytes<\/td>\n<\/tr>\n<tr>\n<td>EEPROM<\/td>\n<td>64 Bytes<\/td>\n<\/tr>\n<tr>\n<td>ADC<\/td>\n<td>4-channel x 10-bit<\/td>\n<\/tr>\n<tr>\n<td>\u4ea4\u6d41<\/td>\n<td>SPI (via USI)<\/td>\n<\/tr>\n<tr>\n<td>\u8ba1\u65f6\u5668<\/td>\n<td>1x 8-bit<\/td>\n<\/tr>\n<tr>\n<td>PWM<\/td>\n<td>2 \u4e2a\u901a\u9053<\/td>\n<\/tr>\n<tr>\n<td>Comparator<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>\u7535\u6e90\u7535\u538b<\/td>\n<td>1.8V ~ 5.5V<\/td>\n<\/tr>\n<tr>\n<td>\u5305\u88c5<\/td>\n<td>SOIC-8 (4.90 x 3.90mm)<\/td>\n<\/tr>\n<tr>\n<td>\u5de5\u4f5c\u6e29\u5ea6<\/td>\n<td>-40\u00b0C ~ +85\u00b0C<\/td>\n<\/tr>\n<\/table>\n<h2>\u7279\u70b9<\/h2>\n<ul>\n<li>Full AVR RISC architecture with 120 instructions<\/li>\n<li>1KB self-programmable Flash with read-while-write<\/li>\n<li>10-bit ADC with internal voltage reference options<\/li>\n<li>USI (Universal Serial Interface) for SPI and I2C communication<\/li>\n<li>Internal calibrated RC oscillator eliminating external clock<\/li>\n<li>Power-on reset and brown-out detection<\/li>\n<li>Multiple sleep modes for power saving<\/li>\n<\/ul>\n<h2>\u5e94\u7528<\/h2>\n<ul>\n<li>Simple logic and control functions<\/li>\n<li>LED lighting controllers<\/li>\n<li>Battery chargers and monitors<\/li>\n<li>Simple sensor interfaces<\/li>\n<li>Replacement for discrete logic and 555 timers<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Product Overview The ATTINY13A-SU from Microchip (Atmel) is an 8-bit AVR microcontroller in an SOIC-8 package. It features 1KB Flash, 64B SRAM, 64B EEPROM, 4-channel 10-bit ADC, and a USI peripheral supporting SPI communication. Operating from 1.8V to 5.5V, it is one of the smallest and lowest-cost AVR microcontrollers available. Key Specifications CPU Core AVR [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[13,25],"tags":[],"chip_brand":[134],"class_list":["post-7035","post","type-post","status-publish","format-standard","hentry","category-integrated-circuits-ics","category-microcontrollers-mcu","chip_brand-microchip"],"acf":{"brief_explanation":"8-bit AVR MCU, 1KB Flash, 64B SRAM, 10-bit ADC, USI, 1.8-5.5V in SOIC-8","date_code":"","package_case":"SOIC-8 (4.90 x 3.90 x 1.50 mm)","in_stock":3044,"datasheet":"https:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/Atmel-8127-AVR-8-bit-Microcontroller-ATtiny13A_Datasheet.pdf","price":"$0.45 @ 1ku","product_introduction":"The ATTINY13A-SU from Microchip (formerly Atmel) is one of the smallest and most cost-effective members of the AVR microcontroller family. With 1KB of Flash program memory, 64 bytes of SRAM, and 64 bytes of EEPROM in an 8-pin SOIC package, it provides just enough resources for simple control tasks that would otherwise require discrete logic or 555 timers. The 10-bit ADC with 4 channels enables basic analog measurement capabilities. The USI (Universal Serial Interface) supports SPI communication for connecting to external peripherals. The internal calibrated RC oscillator provides accurate timing without an external crystal. Operating from 1.8V to 5.5V, the device is suitable for both battery-powered and 5V systems. In-system programming through SPI allows firmware updates in the field.","working_principle":"The ATTINY13A operates around the AVR 8-bit RISC core with a Harvard architecture (separate instruction and data memories). Most instructions execute in a single clock cycle. The 1KB Flash stores the program, 64B SRAM provides working data storage, and 64B EEPROM provides non-volatile data storage. The internal calibrated RC oscillator runs at 9.6MHz or 4.8MHz, with a clock prescaler dividing down to lower frequencies for power savings. The 8-bit Timer\/Counter0 provides timing, PWM generation, and interrupt functions. The ADC uses a 10-bit successive approximation architecture with selectable internal 1.1V or VCC reference. The USI implements a simplified SPI interface using 3-wire (clock, data in, data out) communication. Six sleep modes including idle, ADC noise reduction, and power-down minimize power consumption when the CPU is not needed.","pin_description":"<table><tr><th>Pin<\/th><th>Name<\/th><th>Function<\/th><\/tr><tr><td>1<\/td><td>PB5\/RESET\/ADC0<\/td><td>GPIO\/Reset (via fuse)\/ADC channel 0<\/td><\/tr><tr><td>2<\/td><td>PB3\/ADC3\/CLKI<\/td><td>GPIO\/ADC channel 3\/External clock input<\/td><\/tr><tr><td>3<\/td><td>PB4\/ADC2<\/td><td>GPIO\/ADC channel 2<\/td><\/tr><tr><td>4<\/td><td>GND<\/td><td>Ground<\/td><\/tr><tr><td>5<\/td><td>PB0\/MOSI\/OC0A<\/td><td>GPIO\/SPI data out\/PWM output A<\/td><\/tr><tr><td>6<\/td><td>PB1\/MISO\/OC0B<\/td><td>GPIO\/SPI data in\/PWM output B<\/td><\/tr><tr><td>7<\/td><td>PB2\/SCK\/ADC1<\/td><td>GPIO\/SPI clock\/ADC channel 1<\/td><\/tr><tr><td>8<\/td><td>VCC<\/td><td>Supply voltage (1.8V-5.5V)<\/td><\/tr><\/table>","application_scenarios":"<ul><li><b>LED PWM Controller<\/b>: 2 PWM channels drive constant-current LED dimming; ADC reads potentiometer for brightness control<\/li><li><b>Battery Monitor<\/b>: ADC measures battery voltage; I\/O drives low-battery indicator LED; deep sleep extends measurement interval<\/li><li><b>555 Timer Replacement<\/b>: 1KB Flash provides far more flexibility than fixed-function 555; internal oscillator eliminates external timing components<\/li><li><b>Simple Sensor Interface<\/b>: ADC reads analog sensor; USI (SPI) transmits data to host MCU; 8-pin footprint fits in tight spaces<\/li><\/ul>","alternative_models":"<table><tr><th>Model<\/th><th>Manufacturer<\/th><th>Key Difference<\/th><\/tr><tr><td>ATTINY13A-SSU<\/td><td>Microchip<\/td><td>Same, lead-free SOIC-8<\/td><\/tr><tr><td>ATTINY10-TS8R<\/td><td>Microchip<\/td><td>1KB, SOT-23-6, tinyAVR 0<\/td><\/tr><tr><td>ATTINY20-XUR<\/td><td>Microchip<\/td><td>2KB, TSSOP-14, more I\/O<\/td><\/tr><tr><td>ATTINY85-20SU<\/td><td>Microchip<\/td><td>8KB Flash, 512B SRAM, SOIC-8<\/td><\/tr><tr><td>PIC10F200-I\/P<\/td><td>Microchip<\/td><td>256W Flash, 6-pin, baseline PIC<\/td><\/tr><\/table>"},"_links":{"self":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/7035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/comments?post=7035"}],"version-history":[{"count":0,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/7035\/revisions"}],"wp:attachment":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/media?parent=7035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/categories?post=7035"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/tags?post=7035"},{"taxonomy":"chip_brand","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/chip_brand?post=7035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}