ATTINY85 Microcontroller IC DIP-8
6,000 د.ع
Source reliable, high-performance microcontroller components for your embedded projects with the New Original ATTINY85, a genuine integrated circuit from Microchip Technology. This compact 8-bit AVR microcontroller is renowned for its small footprint, low power consumption, and versatile feature set, making it an ideal choice for compact electronics, wearable devices, sensor interfaces, and battery-powered applications. The ATTINY85 offers a perfect balance of performance and simplicity for projects where space is at a premium and cost efficiency is essential.
In stock
CompareDescription
New Original ATTINY85 Electronic Components – 8-bit AVR Microcontroller IC
Source reliable, high-performance microcontroller components for your embedded projects with the New Original ATTINY85, a genuine integrated circuit from Microchip Technology. This compact 8-bit AVR microcontroller is renowned for its small footprint, low power consumption, and versatile feature set, making it an ideal choice for compact electronics, wearable devices, sensor interfaces, and battery-powered applications. The ATTINY85 offers a perfect balance of performance and simplicity for projects where space is at a premium and cost efficiency is essential.
The ATTINY85 features 8KB of in-system programmable flash memory, 512 bytes of SRAM, and 512 bytes of EEPROM, providing essential memory resources for small to medium-scale embedded applications. Operating at speeds up to 20 MHz, this microcontroller delivers responsive performance for real-time control tasks, including PWM generation, analog signal reading, and communication protocol implementation. The device supports a wide operating voltage range of 2.7V to 5.5V, making it suitable for both battery-powered portable devices and industrial control systems.
With 6 general-purpose I/O pins, a 4-channel 10-bit analog-to-digital converter, two 8-bit timers, and support for USI (Universal Serial Interface) enabling SPI and I2C communication, the ATTINY85 packs substantial functionality into its compact 8-pin DIP package. This makes it an excellent choice for simple automation tasks, LED lighting effects, motor control, sensor reading, and countless other DIY electronics projects.
Key Features
High-Performance AVR RISC Architecture
Features an advanced AVR RISC architecture with 120 powerful instructions, most of which execute in a single clock cycle, delivering up to 20 MIPS throughput at 20 MHz for efficient program execution.
8KB In-System Programmable Flash
Provides 8KB of flash memory for program storage with read-while-write capabilities, supporting up to 10,000 write/erase cycles for reliable long-term use.
Low Power Consumption
Optimized for battery-powered applications with multiple power-saving sleep modes, including power-down sleep mode for extremely low idle current consumption.
4-Channel 10-bit ADC
Integrated 4-channel, 10-bit analog-to-digital converter enables direct connection to analog sensors, potentiometers, and other analog signal sources without external components.
6 General-Purpose I/O Pins
Features 6 programmable I/O lines with high current sink/source capability for direct driving of LEDs, small relays, and other peripherals.
Universal Serial Interface (USI)
Built-in USI supports multi-purpose communication including SPI and I2C protocols, enabling easy connection to sensors, memory chips, and other peripherals.
Two 8-bit Timers with PWM
Includes two 8-bit timers/counters with separate prescaler and PWM capability, ideal for generating precise timing signals and analog-style outputs.
Internal and External Oscillator Options
Features a calibrated internal RC oscillator (8 MHz) with selectable frequencies, plus support for external crystal or ceramic resonators for precision timing.
Wide Operating Voltage Range
Operates from 2.7V to 5.5V DC, making it compatible with both 3.3V and 5V systems, as well as battery-powered applications.
Industrial Temperature Range
Rated for operation from -40°C to +85°C, suitable for use in diverse and demanding environmental conditions.
DIP-8 Package for Easy Prototyping
Standard 8-pin DIP package with 2.54mm pin spacing allows for easy breadboarding, through-hole PCB mounting, and manual soldering.
DebugWIRE On-chip Debug System
Built-in DebugWIRE interface enables real-time debugging and program downloading using a single wire, simplifying development and troubleshooting.
Specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Technology |
| Core Architecture | 8-bit AVR RISC |
| Clock Speed | Up to 20 MHz |
| Flash Memory | 8 KB |
| SRAM | 512 bytes |
| EEPROM | 512 bytes |
| I/O Pins | 6 |
| ADC Channels | 4 (10-bit) |
| Timers | 2 x 8-bit |
| Communication Interfaces | USI (SPI, I2C compatible) |
| Operating Voltage | 2.7V – 5.5V DC |
| Operating Temperature | -40°C to +85°C |
| Package Type | PDIP-8 |
| Pin Pitch | 2.54mm |
| RoHS Compliant | Yes |
Pin Configuration
| Pin | Name | Function | Alternate Functions |
|---|---|---|---|
| 1 | PB5 | Digital I/O | RESET, ADC0 |
| 2 | PB3 | Digital I/O | ADC3, ~RESET, debugWIRE |
| 3 | PB4 | Digital I/O | ADC2 |
| 4 | GND | Ground | Power supply ground |
| 5 | PB0 | Digital I/O | MOSI (ISP), SDA (USI), AIN0 |
| 6 | PB1 | Digital I/O | MISO (ISP), AIN1, OC1A (PWM) |
| 7 | PB2 | Digital I/O | SCK (ISP), USCK (USI), T0 |
| 8 | VCC | Power Supply | 2.7V – 5.5V DC |
Wiring Diagram
Basic Power Connection
Power Supply (3.3V/5V) -----> VCC (Pin 8)
-----> GND (Pin 4)
ISP Programming Connection
ATTINY85 ISP Programmer --------- ------------- PB5 (Pin 1) -----> RESET PB0 (Pin 5) -----> MOSI PB1 (Pin 6) -----> MISO PB2 (Pin 7) -----> SCK VCC (Pin 8) -----> VCC GND (Pin 4) -----> GND
Arduino IDE Setup
Step 1: Install ATTiny Core
-
Open Arduino IDE
-
Go to File > Preferences
-
Add the following URL to “Additional Boards Manager URLs”:
https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-manager/package_damellis_attiny_index.json -
Open Tools > Board > Boards Manager
-
Search for “ATTiny” and install the core
Step 2: Select Board Configuration
-
Select ATtiny25/45/85 (No bootloader) from the Boards menu
-
Select Processor: ATtiny85
-
Select Clock: Internal 8MHz
Arduino Code Example
// Simple LED Blink Example for ATTINY85 const int ledPin = 0; // PB0 (Pin 5 on DIP-8) void setup() { pinMode(ledPin, OUTPUT); } void loop() { digitalWrite(ledPin, HIGH); delay(500); digitalWrite(ledPin, LOW); delay(500); }
Arduino Code Example (Analog Input to PWM Output)
// Read potentiometer on PB2 and output PWM on PB1 const int analogPin = 2; // PB2 (Pin 7) - ADC1 const int pwmPin = 1; // PB1 (Pin 6) - OC1A void setup() { pinMode(pwmPin, OUTPUT); } void loop() { int sensorValue = analogRead(analogPin); int pwmValue = map(sensorValue, 0, 1023, 0, 255); analogWrite(pwmPin, pwmValue); delay(10); }
AVR C Code Example
#define F_CPU 8000000UL #include <avr/io.h> #include <util/delay.h> int main(void) { DDRB |= (1 << PB0); while(1) { PORTB |= (1 << PB0); _delay_ms(500); PORTB &= ~(1 << PB0); _delay_ms(500); } return 0; }
Pin Functions Summary
| Pin | Primary | ADC | ISP | PWM | USI |
|---|---|---|---|---|---|
| PB0 | I/O | – | MOSI | – | SDA |
| PB1 | I/O | – | MISO | OC1A | – |
| PB2 | I/O | – | SCK | T0 | SCK |
| PB3 | I/O | ADC3 | – | – | – |
| PB4 | I/O | ADC2 | – | – | – |
| PB5 | I/O | ADC0 | RESET | – | – |
Common Applications
-
LED lighting effects and controllers
-
Small motor and servo control
-
Battery-powered sensor nodes
-
Wearable electronics and e-textiles
-
Simple automation tasks
-
PWM signal generation
-
Capacitive touch sensing
-
IR remote control transmitters/receivers
-
Small game controllers
-
Educational AVR programming projects
-
Low-cost embedded systems
-
Hobby electronics
Important Usage Notes
-
For external clock operation at 20MHz, connect a 20MHz crystal with appropriate capacitors
-
When using internal oscillator, the maximum stable frequency is 8MHz
-
The DebugWIRE interface uses the PB3 pin; avoid using this pin when debugging
-
For ISP programming, the RESET pin (PB5) is used; ensure no external pull-ups interfere
-
The device can operate down to 1.8V at lower frequencies
-
Fuse settings control clock source and other configurations; incorrect settings can lock the device
Package Contents
-
1 x New Original ATTINY85 Microcontroller IC
مكونات إلكترونية ATTINY85 جديدة أصلية – شريحة متحكم AVR 8 بت
قم بتوفير مكونات متحكم دقيقة عالية الأداء وموثوقة لمشاريعك المدمجة باستخدام ATTINY85 الجديد الأصلي، وهي دائرة متكاملة أصلية من Microchip Technology. تشتهر هذه الدائرة المصغرة 8 بت AVR بمساحتها الصغيرة واستهلاكها المنخفض للطاقة ومجموعة ميزاتها المتعددة الاستخدامات، مما يجعلها خيارًا مثاليًا للإلكترونيات المدمجة والأجهزة القابلة للارتداء وواجهات الاستشعار والتطبيقات التي تعمل بالبطارية. يقدم ATTINY85 توازنًا مثاليًا بين الأداء والبساطة للمشاريع حيث المساحة محدودة وكفاءة التكلفة ضرورية.
يتميز ATTINY85 بذاكرة فلاش قابلة للبرمجة داخل النظام بسعة 8 كيلوبايت و 512 بايت من ذاكرة الوصول العشوائي و 512 بايت من ذاكرة EEPROM، مما يوفر موارد ذاكرة أساسية للتطبيقات المدمجة صغيرة إلى متوسطة الحجم. يعمل بسرعات تصل إلى 20 ميجاهرتز، ويقدم هذا المتحكم أداءً سريع الاستجابة لمهام التحكم في الوقت الفعلي. يدعم الجهاز نطاق جهد تشغيل واسع من 2.7V إلى 5.5V، مما يجعله مناسبًا لكل من الأجهزة المحمولة التي تعمل بالبطارية وأنظمة التحكم الصناعية.
مع 6 دبابيس إدخال/إخراج للأغراض العامة، ومحول تماثلي رقمي 10 بت بـ 4 قنوات، ومؤقتين 8 بت، ودعم لواجهة التسلسل العالمية التي تمكن اتصالات SPI و I2C، يضع ATTINY85 وظائف كبيرة في حزمة DIP-8 المدمجة. هذا يجعله خيارًا ممتازًا لمهام الأتمتة البسيطة وتأثيرات إضاءة LED والتحكم في المحركات وقراءة أجهزة الاستشعار والعديد من مشاريع الإلكترونيات DIY الأخرى.
المميزات الرئيسية
بنية AVR RISC عالية الأداء
يتميز بهندسة AVR RISC متقدمة مع 120 تعليمات قوية، معظمها يتم تنفيذها في دورة ساعة واحدة.
ذاكرة فلاش 8 كيلوبايت قابلة للبرمجة داخل النظام
يوفر 8 كيلوبايت من ذاكرة الفلاش لتخزين البرامج مع قدرات القراءة أثناء الكتابة.
استهلاك طاقة منخفض
محسن للتطبيقات التي تعمل بالبطارية مع أوضاع سكون متعددة لتوفير الطاقة.
ADC 10 بت بـ 4 قنوات
يتيح محول تماثلي رقمي 10 بت مدمج بـ 4 قنوات اتصالًا مباشرًا بأجهزة الاستشعار التماثلية.
6 دبابيس إدخال/إخراج للأغراض العامة
يتميز بـ 6 خطوط إدخال/إخراج قابلة للبرمجة مع قدرة عالية على سحب/تزويد التيار.
واجهة تسلسلية عالمية
يدعم USI المدمج اتصالات متعددة الأغراض بما في ذلك بروتوكولات SPI و I2C.
مؤقتان 8 بت مع PWM
يتضمن مؤقتين 8 بت مع مقياس مسبق منفصل وقدرة PWM.
خيارات مذبذب داخلية وخارجية
يتميز بمذبذب RC داخلي معاير، بالإضافة إلى دعم البلورات الخارجية.
نطاق جهد تشغيل واسع
يعمل من 2.7V إلى 5.5V تيار مستمر.
نطاق درجة حرارة صناعي
مصنف للتشغيل من -40 درجة مئوية إلى +85 درجة مئوية.
حزمة DIP-8 للنمذجة الأولية السهلة
حزمة DIP-8 قياسية تسمح بسهولة التركيب على لوحات التجارب واللحام اليدوي.
نظام تصحيح DebugWIRE على الرقاقة
واجهة DebugWIRE مدمجة تمكن من تصحيح الأخطاء وتنزيل البرامج في الوقت الفعلي.
المواصفات الفنية
| المعامل | القيمة |
|---|---|
| الشركة المصنعة | Microchip Technology |
| بنية النواة | AVR RISC 8 بت |
| تردد الساعة | حتى 20 ميجاهرتز |
| ذاكرة الفلاش | 8 كيلوبايت |
| ذاكرة الوصول العشوائي | 512 بايت |
| ذاكرة EEPROM | 512 بايت |
| دبابيس الإدخال/الإخراج | 6 |
| قنوات ADC | 4 (10 بت) |
| المؤقتات | 2 × 8 بت |
| واجهات الاتصال | USI (SPI, I2C) |
| جهد التشغيل | 2.7V – 5.5V |
| درجة حرارة التشغيل | -40°C إلى +85°C |
| نوع الحزمة | PDIP-8 |
| متوافق مع RoHS | نعم |
تكوين الدبابيس
| الدبوس | الاسم | الوظيفة |
|---|---|---|
| 1 | PB5 | إدخال/إخراج رقمي، RESET |
| 2 | PB3 | إدخال/إخراج رقمي، ADC3 |
| 3 | PB4 | إدخال/إخراج رقمي، ADC2 |
| 4 | GND | أرضي |
| 5 | PB0 | إدخال/إخراج رقمي، MOSI |
| 6 | PB1 | إدخال/إخراج رقمي، MISO |
| 7 | PB2 | إدخال/إخراج رقمي، SCK |
| 8 | VCC | طاقة 2.7V-5.5V |
التطبيقات الشائعة
-
تأثيرات إضاءة LED وأجهزة التحكم
-
التحكم في المحركات الصغيرة والسيرفو
-
عقد استشعار تعمل بالبطارية
-
الإلكترونيات القابلة للارتداء
-
مهام الأتمتة البسيطة
-
توليد إشارات PWM
-
أجهزة استشعار تعمل باللمس السعوية
-
مشاريع برمجة AVR التعليمية
-
الأنظمة المدمجة منخفضة التكلفة
محتويات العلبة
-
1 × شريحة متحكم ATTINY85 جديدة أصلية






Reviews
There are no reviews yet