ATTINY25-20SU

Compact 8-bit AVR microcontrollers with 2KB Flash, 128B RAM, 8-pin SOIC

Manufacturer: ['microchip', 'atmel']

series introduction

# Introduction to the ATTINY25 - 20SU Product Series

## 1. Overview
The ATTINY25 - 20SU is a member of the highly regarded AVR® 8 - bit microcontroller family developed by Microchip Technology. This product series is specifically designed to offer a compact, low - power, and cost - effective solution for a wide range of embedded applications. With its rich set of features and capabilities, the ATTINY25 - 20SU is well - suited for projects where space, power consumption, and budget are critical considerations.

## 2. Key Features

### 2.1 Microcontroller Core
- **AVR Architecture**: Based on the AVR RISC (Reduced Instruction Set Computing) architecture, the ATTINY25 - 20SU provides high - performance processing capabilities. It has a large number of general - purpose working registers, which allows for efficient execution of instructions and reduces the need for memory access, thereby speeding up the overall processing speed.
- **Instruction Set**: The microcontroller supports a comprehensive instruction set that includes arithmetic, logical, and data transfer operations. This enables developers to write complex algorithms and implement various functions with ease.

### 2.2 Memory
- **Flash Memory**: The ATTINY25 - 20SU is equipped with 2KB of in - system self - programmable Flash memory. This non - volatile memory is used to store the program code, allowing for easy reprogramming and updates during the development process or in the field.
- **SRAM**: It has 128 bytes of Static Random - Access Memory (SRAM), which is used for storing variables and intermediate data during program execution. The sufficient SRAM capacity ensures smooth operation of moderately complex applications.
- **EEPROM**: There is also 128 bytes of Electrically Erasable Programmable Read - Only Memory (EEPROM). EEPROM is ideal for storing critical data such as calibration values, configuration settings, and user preferences that need to be retained even when the power is turned off.

### 2.3 I/O Ports
- **General - Purpose I/O**: The microcontroller features 6 general - purpose I/O pins. These pins can be configured as either input or output, providing flexibility for interfacing with external devices such as sensors, actuators, and displays. The I/O pins can also be used for functions like digital signal processing, communication, and control.
- **Pull - up Resistors**: Each I/O pin can be individually configured with an internal pull - up resistor. This feature is useful when connecting external devices that require a high - impedance input, reducing the need for external components and simplifying the circuit design.

### 2.4 Peripherals

#### 2.4.1 Timer/Counter
- **8 - bit Timer/Counter0**: This timer/counter can be used for a variety of applications, including generating accurate time delays, measuring time intervals, and generating PWM (Pulse Width Modulation) signals. The PWM mode is particularly useful for controlling the speed of motors, adjusting the brightness of LEDs, and other applications that require analog - like control using digital signals.
- **Watchdog Timer**: The watchdog timer is a safety feature that can be used to reset the microcontroller in case the program gets stuck in an infinite loop or encounters an unexpected error. It helps to improve the reliability and stability of the system.

#### 2.4.2 Serial Communication
- **USI (Universal Serial Interface)**: The ATTINY25 - 20SU is equipped with a USI module that can be configured to operate as either a SPI (Serial Peripheral Interface) or an I²C (Inter - Integrated Circuit) interface. These serial communication protocols are widely used for communicating with other microcontrollers

Images for reference

8-SOIC

8-SOIC

Image Preview

Image Preview

Image Preview

Image Preview

related Documents

Datasheets

Partlist

ATTINY25-20SU
ATTINY25-20SUR
ATTINY25-20SU SL383