{"id":5581,"date":"2026-06-11T02:52:53","date_gmt":"2026-06-11T02:52:53","guid":{"rendered":"https:\/\/materialparts.com\/attiny85-20su\/"},"modified":"2026-06-12T09:11:20","modified_gmt":"2026-06-12T09:11:20","slug":"attiny85-20su","status":"publish","type":"post","link":"https:\/\/materialparts.com\/zh\/attiny85-20su\/","title":{"rendered":"ATTINY85-20SU"},"content":{"rendered":"<h2>\u4ea7\u54c1\u6982\u89c8<\/h2>\n<p>The ATTINY85-20SU from Microchip is a compact 8-bit AVR microcontroller with 8KB Flash and 512B SRAM in an SOIC-8 package, ideal for simple embedded control and sensor interfacing.<\/p>\n<h2>\u4e3b\u8981\u89c4\u683c<\/h2>\n<table>\n<tr>\n<td>\u5305\u88c5<\/td>\n<td>SOIC-8 (150mil)<\/td>\n<\/tr>\n<\/table>\n<h2>\u7279\u70b9<\/h2>\n<ul>\n<li>See datasheet for complete specifications<\/li>\n<li>Industry-standard package<\/li>\n<\/ul>\n<h2>\u5e94\u7528<\/h2>\n<ul>\n<li>Industrial control<\/li>\n<li>Consumer electronics<\/li>\n<li>Communication equipment<\/li>\n<li>Automotive electronics<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Product Overview The ATTINY85-20SU from Microchip is a compact 8-bit AVR microcontroller with 8KB Flash and 512B SRAM in an SOIC-8 package, ideal for simple embedded control and sensor interfacing. Key Specifications Package SOIC-8 (150mil) Features See datasheet for complete specifications Industry-standard package Applications Industrial control Consumer electronics Communication equipment Automotive electronics<\/p>","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[13,25],"tags":[],"chip_brand":[134],"class_list":["post-5581","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, 8KB Flash, 512B SRAM, SOIC-8","date_code":"","package_case":"SOIC-8 (150mil)","in_stock":7514,"datasheet":"https:\/\/www.microchip.com\/en-us\/product\/ATtiny85","price":"$1.10 @ 1ku","product_introduction":"The ATTINY85-20SU from Microchip is a compact 8-bit AVR microcontroller with 8KB Flash and 512B SRAM in an SOIC-8 package, ideal for simple embedded control and sensor interfacing.","working_principle":"The ATTINY85-20SU is an 8-bit AVR microcontroller from Microchip in SOIC-8, running at 20MHz with 8KB Flash, 512 bytes SRAM, and 512 bytes EEPROM. Despite having only 6 GPIO pins (8-pin package, 2 pins for power), the ATTINY85 packs an impressive peripheral set through pin multiplexing. The 10-bit ADC has 4 channels with 15ksps, usable for analog sensor reading. Two 8-bit timers (Timer0 and Timer1) provide 4 channels of PWM, useful for LED dimming and motor speed control. The USI (Universal Serial Interface) can be configured as SPI master\/slave or I2C master\/slave, providing communication flexibility. The analog comparator with configurable reference is useful for zero-crossing detection and threshold monitoring. The ATTINY85 supports ISP (In-System Programming) via SPI (MOSI\/MISO\/SCK on PB0-PB2) and debugWIRE (single-wire debug on RESET\/PB5). The 8KB Flash supports 10,000 write\/erase cycles. The -20SU suffix specifies 20MHz, SOIC-8, industrial temperature (-40C to +85C). The ATTINY85 is the go-to MCU for minimal-footprint projects: Digispark USB development board, LED controllers, keyboard controllers, and I2C sensor nodes. The internal RC oscillator runs at 8MHz (calibrated to +\/-10%), with a 6x PLL option for 48MHz USB-compatible clock. Active current is 3mA at 5V\/20MHz, and power-down current is 0.1uA.","pin_description":"<table><tr><th>Pin<\/th><th>Name<\/th><th>Type<\/th><th>Function<\/th><\/tr><tr><td>1<\/td><td>PB5\/RESET\/ADC0\/dW<\/td><td>I\/O<\/td><td>Port B5 (GPIO\/RESET\/ADC ch0\/debugWIRE, shared with reset)<\/td><\/tr><tr><td>2<\/td><td>PB3\/ADC3\/XTAL1\/CLKI\/OC1B<\/td><td>I\/O<\/td><td>Port B3 (GPIO\/ADC ch3\/clock input\/PWM OC1B)<\/td><\/tr><tr><td>3<\/td><td>PB4\/ADC2\/XTAL2\/OC1B<\/td><td>I\/O<\/td><td>Port B4 (GPIO\/ADC ch2\/clock output\/PWM)<\/td><\/tr><tr><td>4<\/td><td>GND<\/td><td>Power<\/td><td>Ground<\/td><\/tr><tr><td>5<\/td><td>PB0\/MOSI\/SDA\/AIN0\/OC0A<\/td><td>I\/O<\/td><td>Port B0 (GPIO\/SPI MOSI\/I2C SDA\/analog comp+\/PWM)<\/td><\/tr><tr><td>6<\/td><td>PB1\/MISO\/AIN1\/OC0B\/OC1A<\/td><td>I\/O<\/td><td>Port B1 (GPIO\/SPI MISO\/analog comp-\/PWM\/PWM)<\/td><\/tr><tr><td>7<\/td><td>PB2\/SCK\/ADC1\/INT0\/OC1A<\/td><td>I\/O<\/td><td>Port B2 (GPIO\/SPI clock\/ADC ch1\/external int\/PWM)<\/td><\/tr><tr><td>8<\/td><td>VCC<\/td><td>Power<\/td><td>Supply (2.7-5.5V, 1.8V for low-voltage version)<\/td><\/tr><\/table>","application_scenarios":"<li>Industrial control<\/li><li>Consumer electronics<\/li><li>Communication equipment<\/li><li>Automotive electronics<\/li>","alternative_models":"<table><tr><th>Manufacturer<\/th><th>Part Number<\/th><th>Package<\/th><th>Notes<\/th><\/tr><tr><td>Microchip<\/td><td>ATTINY85-20SU<\/td><td>SOIC-8<\/td><td>Same device, Microchip brand<\/td><\/tr><tr><td>Microchip<\/td><td>ATTINY85-20PU<\/td><td>DIP-8<\/td><td>Same device, through-hole DIP package<\/td><\/tr><tr><td>Microchip<\/td><td>ATTINY45-20SU<\/td><td>SOIC-8<\/td><td>4KB Flash version, half memory, lower cost<\/td><\/tr><tr><td>Microchip<\/td><td>ATTINY85V-10SU<\/td><td>SOIC-8<\/td><td>10MHz low-voltage version (1.8-5.5V)<\/td><\/tr><tr><td>Silicon Labs<\/td><td>EFM8SB10F8G-A-QSOP24<\/td><td>QSOP-24<\/td><td>8051, 8KB Flash, similar class<\/td><\/tr><\/table>"},"_links":{"self":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/5581","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=5581"}],"version-history":[{"count":1,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/5581\/revisions"}],"predecessor-version":[{"id":6165,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/5581\/revisions\/6165"}],"wp:attachment":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/media?parent=5581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/categories?post=5581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/tags?post=5581"},{"taxonomy":"chip_brand","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/chip_brand?post=5581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}