Attiny13

Содержание

Схема RGB лампы на Attiny13

Схема для сборки лампы представлена ниже.

Детали для этой схемы, а также всё необходимое для сборки других электронных схем, в том числе инструменты, можно купить в магазине «Элирит». В каталоге присутствует большой ассортимент радиоэлектронных товаров, как отечественного производства, так и импортных, по весьма привлекательным ценам, имеется доставка по России.

Светодиод в схеме используется RGB – на одной подложке одновременно установлены три независимых светодиода, соответственно красный, зелёный и синий, путём комбинирования яркости этих цветов получаются различные другие цвета и оттенки. Использовать можно также и три отдельных светодиода, если под рукой нет RGB, однако в этом случае их нужно будет расположить как можно ближе друг другу и накрыть сверху рассеивающим экраном, чтобы цвета равномерно смешивались. На картинке ниже можно увидеть применённый мной RGB светодиод, он имеет 6 выводов – отдельные анод и катод для каждого цвета.

Несколько слов о деталях схемы. Предпочтительнее использовать элементы поверхностного монтажа, в этом случае вся конструкция получится весьма компактной и её можно будет встроить, например, в какой-нибудь готовый корпус

Помимо самого микроконтроллера, на схеме присутствуют три полевых транзистора – здесь важно использовать транзисторы с логическим уровнем затвора, идеальным вариантом будут указанные на схеме IRLML0030, они полностью открываются от 5-ти вольт

Не лишним будет также установить токоограничивающие резисторы между выводами микроконтроллера и затворами, например, на 10-47 Ом, на печатной плате под них предусмотрены посадочные места. Также на схеме не указаны токоограничивающие резисторы для самих светодиодов – их сопротивление выбирается исходя из необходимого тока через светодиоды, и соответственно яркости свечения лампы. Оптимальным будет значение около 10 Ом для каждого светодиода (при питании схемы от 5 вольт), в этом случае и сами резисторы, и светодиод не будут сильно нагреваться, но общего уровня яркости хватит для большинства применений лампы.

Обратите внимание, что используемый RGB светодиод должен быть рассчитан на заданный ток, превышение допустимого тока светодиода приведёт к его быстрой деградации. Помимо этого, на плате также присутствует резистор 4,7 – 20 кОм для подтяжки RESET микроконтроллера к питанию, а также конденсаторы по питанию – не стоит ими пренебрегать, ведь ШИМ светодиодов может вызвать помехи по питанию, которые приведут к нестабильной работе микроконтроллера

Печатная плата изготавливается методом ЛУТ, файл с платой прилагается к статье. В нижней части можно увидеть большой прямоугольный полигон, граничащий со светодиодом – он работает в роли небольшого теплоотвода. При небольшой мощности его достаточно, но если ток через светодиод достаточно велик, потребуется отдельный радиатор для охлаждения.

Сперва на плату устанавливается микроконтроллер и прошивается, прошивка также прилагается к статье. Использовать для этого можно любой подходящий программатор, например, USBasp, и соответствующую программу, инструкций в интернете предостаточно. После того, как микроконтроллер прошит, можно впаивать все остальные элементы.

Таким образом, получилась весьма миниатюрная плата с размерами 3х3 см. Для запуска схемы достаточно подвести питание в 5 вольт, микроконтроллер начнёт работу и светодиод сразу же начнёт светится.

Проверить правильность настройки очень просто – достаточно подать на затворы каждого из транзисторов по 5 вольт, при этом светодиод должен светится белым цветом без каких-либо оттенков.ъ

Однако данная настройка не обязательна и можно просто впаять три нулевых резистора-перемычки, как я и сделал, качество работы лампы при этом практически не страдает.

В общем получился интересный, недорогой, а главное сделанный своими руками LED светильник. Получившуюся плату следует поместить в любой красивый корпус, желательно выбирать матовый, для дополнительного рассеивания света. Скачать файлы проекта. Автор материала misha1279.

Datasheet Download — ATMEL Corporation

Номер произв ATINY13
Описание 8-Bit Microcontroller
Производители ATMEL Corporation
логотип  

1Page

No Preview Available !

www.DataSheet4U.com
Features

• High Performance, Low Power AVR8-Bit Microcontroller

• Advanced RISC Architecture

– 120 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 20 MIPS Througput at 20 MHz

• High Endurance Non-volatile Memory segments

– 1K Bytes of In-System Self-programmable Flash program memory
– 64 Bytes EEPROM
– 64K Bytes Internal SRAM
– Write/Erase cyles: 10,000 Flash/100,000 EEPROM

– Data retention: 20 years at 85°C/100 years at 25°C(1)

– Optional Boot Code Section with Independent Lock Bits
In-System Programming by On-chip Boot Program
True Read-While-Write Operation
– Programming Lock for Software Security

• Peripheral Features

– One 8-bit Timer/Counter with Prescaler and Two PWM Channels
– 4-channel, 10-bit ADC with Internal Voltage Reference
– Programmable Watchdog Timer with Separate On-chip Oscillator
– On-chip Analog Comparator

• Special Microcontroller Features

– debugWIRE On-chip Debug System
– In-System Programmable via SPI Port
– External and Internal Interrupt Sources
– Low Power Idle, ADC Noise Reduction, and Power-down Modes
– Enhanced Power-on Reset Circuit
– Programmable Brown-out Detection Circuit
– Internal Calibrated Oscillator

• I/O and Packages

– 8-pin PDIP/SOIC: Six Programmable I/O Lines
– 20-pad MLF: Six Programmable I/O Lines

• Operating Voltage:

– 1.8 — 5.5V for ATtiny13V
– 2.7 — 5.5V for ATtiny13

• Speed Grade

– ATtiny13V: 0 — 4 MHz @ 1.8 — 5.5V, 0 — 10 MHz @ 2.7 — 5.5V
– ATtiny13: 0 — 10 MHz @ 2.7 — 5.5V, 0 — 20 MHz @ 4.5 — 5.5V

• Industrial Temperature Range

• Low Power Consumption

– Active Mode:
1 MHz, 1.8V: 240µA
– Power-down Mode:
< 0.1µA at 1.8V
8-bit
Microcontroller
with 1K Bytes
In-System
Programmable
Flash
ATtiny13V
ATtiny13
Rev. 2535H–AVR–10/07

No Preview Available !

www.DataSheet4U.com

Pin Configurations Figure 1. Pinout ATtiny13

8-PDIP/SOIC
(PCINT5/RESET/ADC0/dW) PB5
(PCINT3/CLKI/ADC3) PB3
(PCINT4/ADC2) PB4
GND
1
2
3
4
8 VCC
7 PB2 (SCK/ADC1/T0/PCINT2)
6 PB1 (MISO/AIN1/OC0B/INT0/PCINT1)
5 PB0 (MOSI/AIN0/OC0A/PCINT0)
20-QFN/MLF
(PCINT5/RESET/ADC0/dW) PB5
(PCINT3/CLKI/ADC3) PB3
NC
NC
(PCINT4/ADC2) PB4
1
2
3
4
5
15 VCC
14 PB2 (SCK/ADC1/T0/PCINT2)
13 NC
12 PB1 (MISO/AIN1/OC0B/INT0/PCINT1)
11 PB0 (MOSI/AIN0/OC0A/PCINT0)
NOTE: Bottom pad should be soldered to ground.
NC: Not Connect
10-QFN/MLF
(PCINT5/RESET/ADC0/dW) PB5
(PCINT3/CLKI/ADC3) PB3
NC
(PCINT4/ADC2) PB4
GND
1
2
3
4
5
10 VCC
9 PB2 (SCK/ADC1/T0/PCINT2)
8 NC
7 PB1 (MISO/AIN1/OC0B/INT0/PCINT1)
6 PB0 (MOSI/AIN0/OC0A/PCINT0)
NOTE: Bottom pad should be soldered to ground.
NC: Not Connect
Overview
The ATtiny13 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced
RISC architecture. By executing powerful instructions in a single clock cycle, the
ATtiny13 achieves throughputs approaching 1 MIPS per MHz allowing the system
designer to optimize power consumption versus processing speed.

2 ATtiny13

2535H–AVR–10/07

No Preview Available !

www.DataSheet4U.com
Block Diagram
2535H–AVR–10/07
ATtiny13

Figure 2. Block Diagram

VCC
GND
INSTRUCTION
REGISTER
INSTRUCTION
DECODER
CONTROL
LINES
8-BIT DATABUS
STACK
POINTER
SRAM
PROGRAM
COUNTER
PROGRAM
FLASH
GENERAL
PURPOSE
REGISTERS
X
Y
Z
ALU
WATCHDOG
OSCILLATOR
WATCHDOG
TIMER
MCU CONTROL
REGISTER
MCU STATUS
REGISTER
TIMER/
COUNTER0
INTERRUPT
UNIT
PROGRAMMING
LOGIC
DATA
EEPROM
STATUS
REGISTER
CALIBRATED
INTERNAL
OSCILLATOR
TIMING AND
CONTROL
ADC /
ANALOG COMPARATOR
DATA REGISTER
PORT B
DATA DIR.
REG.PORT B
PORT B DRIVERS
PB0-PB5
RESET
CLKI
The AVR core combines a rich instruction set with 32 general purpose working registers.
All the 32 registers are directly connected to the Arithmetic Logic Unit (ALU), allowing
two independent registers to be accessed in one single instruction executed in one clock
cycle. The resulting architecture is more code efficient while achieving throughputs up to
ten times faster than conventional CISC microcontrollers.
The ATtiny13 provides the following features: 1K byte of In-System Programmable
Flash, 64 bytes EEPROM, 64 bytes SRAM, 6 general purpose I/O lines, 32 general pur-
pose working registers, one 8-bit Timer/Counter with compare modes, Internal and
External Interrupts, a 4-channel, 10-bit ADC, a programmable Watchdog Timer with
internal Oscillator, and three software selectable power saving modes. The Idle mode
stops the CPU while allowing the SRAM, Timer/Counter, ADC, Analog Comparator, and
3

Всего страниц 30 Pages
Скачать PDF

Datasheets

Appendix A — ATtiny13A Specification at 105°C
This document contains information specific to devices operating at temperatures up
to 105°C. Only deviations are covered in this appendix, all other information can be
found in the complete datasheet. The complete datasheet can be found at
www.atmel.com. 8-bit
Microcontroller
with 1K Bytes
In-System
Programmable
Flash
ATtiny13A
Appendix A Rev. 8126E-Appendix A-AVR-08/11 1. Electrical Characteristics
1.1 Absolute Maximum Ratings* Operating Temperature. -55°C to +125°C *NOTICE: Storage Temperature . -65°C to +150°C
Voltage on any Pin except RESET
with respect to Ground .-0.5V to VCC+0.5V
Voltage on RESET with respect to Ground.-0.5V to +13.0V Stresses beyond those listed under «Absolute
Maximum Ratings» may cause permanent damage to the device. This is a stress rating only and
functional operation of the device at these or
other conditions beyond those indicated in the
operational sections of this specification is not
implied. Exposure to absolute maximum rating
conditions for extended periods may affect
device reliability. Maximum Operating Voltage . 6.0V

Appendix B — ATtiny13A Specification at 125°C
This document contains information specific to devices operating at temperatures up
to 125°C. Only deviations are covered in this appendix, all other information can be
found in the complete datasheet. The complete datasheet can be found at
www.atmel.com. 8-bit
Microcontroller
with 1K Bytes
In-System
Programmable
Flash
ATtiny13A
Appendix B Rev. 8126F-Appendix B-AVR-05/12 1. Electrical Characteristics
1.1 Absolute Maximum Ratings* Operating Temperature. -55°C to +125°C *NOTICE: Storage Temperature . -65°C to +150°C
Voltage on any Pin except RESET
with respect to Ground .-0.5V to VCC+0.5V
Voltage on RESET with respect to Ground.-0.5V to +13.0V Stresses beyond those listed under «Absolute
Maximum Ratings» may cause permanent damage to the device. This is a stress rating only and
functional operation of the device at these or
other conditions beyond those indicated in the
operational sections of this specification is not
implied. Exposure to absolute maximum rating
conditions for extended periods may affect
device reliability. Maximum Operating Voltage . 6.0V

Features
• High Performance, Low Power AVR 8-Bit Microcontroller
• Advanced RISC Architecture • • • • •
• •
• — 120 Powerful Instructions — Most Single Clock Cycle Execution
— 32 x 8 General Purpose Working Registers
— Fully Static Operation
— Up to 20 MIPS Througput at 20 MHz
High Endurance Non-volatile Memory segments
— 1K Bytes of In-System Self-programmable Flash program memory
— 64 Bytes EEPROM
— 64 Bytes Internal SRAM
— Write/Erase Cycles: 10,000 Flash/100,000 EEPROM
— Data retention: 20 Years at 85°C/100 Years at 25°C (see page 6)
— Programming Lock for Self-Programming Flash & EEPROM Data Security
Peripheral Features
— One 8-bit Timer/Counter with Prescaler and Two PWM Channels
— 4-channel, 10-bit ADC with Internal Voltage Reference
— Programmable Watchdog Timer with Separate On-chip Oscillator
— On-chip Analog Comparator
Special Microcontroller Features
— debugWIRE On-chip Debug System
— In-System Programmable via SPI Port

Просмотр и загрузка
Datasheet ATtiny13A. Summary

PDF, 591 Кб, Файл опубликован: 1 май 2012, Страниц: 208-bit AVR Microcontroller with 1K Bytes In-System Programmable Flash

Выписка из документа

Features
• High Performance, Low Power AVR 8-Bit Microcontroller
• Advanced RISC Architecture • • • • •
• •
• — 120 Powerful Instructions — Most Single Clock Cycle Execution
— 32 x 8 General Purpose Working Registers
— Fully Static Operation
— Up to 20 MIPS Througput at 20 MHz
High Endurance Non-volatile Memory segments
— 1K Bytes of In-System Self-programmable Flash program memory
— 64 Bytes EEPROM
— 64 Bytes Internal SRAM
— Write/Erase Cycles: 10,000 Flash/100,000 EEPROM
— Data retention: 20 Years at 85°C/100 Years at 25°C (see page 6)
— Programming Lock for Self-Programming Flash & EEPROM Data Security
Peripheral Features
— One 8-bit Timer/Counter with Prescaler and Two PWM Channels
— 4-channel, 10-bit ADC with Internal Voltage Reference
— Programmable Watchdog Timer with Separate On-chip Oscillator
— On-chip Analog Comparator
Special Microcontroller Features
— debugWIRE On-chip Debug System
— In-System Programmable via SPI Port

Datasheet Download — ATMEL Corporation

Номер произв ATtiny13
Описание 8-bit Microcontroller
Производители ATMEL Corporation
логотип  

1Page

No Preview Available !

Features

• High Performance, Low Power AVR8-Bit Microcontroller

• Advanced RISC Architecture

– 120 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 20 MIPS Througput at 20 MHz

• High Endurance Non-volatile Memory segments

– 1K Bytes of In-System Self-programmable Flash program memory
– 64 Bytes EEPROM
– 64 Bytes Internal SRAM
– Write/Erase cyles: 10,000 Flash/100,000 EEPROM

– Data retention: 20 years at 85°C/100 years at 25°C (see page 6)

– Programming Lock for Self-Programming Flash & EEPROM Data Security

• Peripheral Features

– One 8-bit Timer/Counter with Prescaler and Two PWM Channels
– 4-channel, 10-bit ADC with Internal Voltage Reference
– Programmable Watchdog Timer with Separate On-chip Oscillator
– On-chip Analog Comparator

• Special Microcontroller Features

– debugWIRE On-chip Debug System
– In-System Programmable via SPI Port
– External and Internal Interrupt Sources
– Low Power Idle, ADC Noise Reduction, and Power-down Modes
– Enhanced Power-on Reset Circuit
– Programmable Brown-out Detection Circuit
– Internal Calibrated Oscillator

• I/O and Packages

– 8-pin PDIP/SOIC: Six Programmable I/O Lines
– 20-pad MLF: Six Programmable I/O Lines

• Operating Voltage:

– 1.8 — 5.5V for ATtiny13V
– 2.7 — 5.5V for ATtiny13

• Speed Grade

– ATtiny13V: 0 — 4 MHz @ 1.8 — 5.5V, 0 — 10 MHz @ 2.7 — 5.5V
– ATtiny13: 0 — 10 MHz @ 2.7 — 5.5V, 0 — 20 MHz @ 4.5 — 5.5V

• Industrial Temperature Range

• Low Power Consumption

– Active Mode:
• 1 MHz, 1.8V: 240 µA
– Power-down Mode:
• < 0.1 µA at 1.8V
8-bit
Microcontroller
with 1K Bytes
In-System
Programmable
Flash
ATtiny13
ATtiny13V
Rev. 2535J–AVR–08/10

No Preview Available !

1. Pin Configurations

Figure 1-1. Pinout ATtiny13/ATtiny13V

8-PDIP/SOIC
(PCINT5/RESET/ADC0/dW) PB5
(PCINT3/CLKI/ADC3) PB3
(PCINT4/ADC2) PB4
GND
1
2
3
4
8 VCC
7 PB2 (SCK/ADC1/T0/PCINT2)
6 PB1 (MISO/AIN1/OC0B/INT0/PCINT1)
5 PB0 (MOSI/AIN0/OC0A/PCINT0)
20-QFN/MLF
(PCINT5/RESET/ADC0/dW) PB5
(PCINT3/CLKI/ADC3) PB3
DNC
DNC
(PCINT4/ADC2) PB4
1
2
3
4
5
15 VCC
14 PB2 (SCK/ADC1/T0/PCINT2)
13 DNC
12 PB1 (MISO/AIN1/OC0B/INT0/PCINT1)
11 PB0 (MOSI/AIN0/OC0A/PCINT0)
NOTE: Bottom pad should be soldered to ground.
DNC: Do Not Connect
10-QFN/MLF
(PCINT5/RESET/ADC0/dW) PB5
(PCINT3/CLKI/ADC3) PB3
DNC
(PCINT4/ADC2) PB4
GND
1
2
3
4
5
10 VCC
9 PB2 (SCK/ADC1/T0/PCINT2)
8 DNC
7 PB1 (MISO/AIN1/OC0B/INT0/PCINT1)
6 PB0 (MOSI/AIN0/OC0A/PCINT0)
NOTE: Bottom pad should be soldered to ground.
DNC: Do Not Connect

2 ATtiny13

2535J–AVR–08/10

No Preview Available !

ATtiny13
1.1 Pin Descriptions
1.1.1
VCC
Digital supply voltage.
1.1.2
GND
Ground.
1.1.3
Port B (PB5:PB0)
Port B is a 6-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The
Port B output buffers have symmetrical drive characteristics with both high sink and source
capability. As inputs, Port B pins that are externally pulled low will source current if the pull-up
resistors are activated. The Port B pins are tri-stated when a reset condition becomes active,
even if the clock is not running.

Port B also serves the functions of various special features of the ATtiny13 as listed on page 54.

1.1.4
RESET
Reset input. A low level on this pin for longer than the minimum pulse length will generate a

reset, even if the clock is not running. The minimum pulse length is given in Table 18-1 on page

115. Shorter pulses are not guaranteed to generate a reset.

The reset pin can also be used as a (weak) I/O pin.
2535J–AVR–08/10
3

Всего страниц 30 Pages
Скачать PDF

Параметры

Parameters / Models ATTINY13-20MMU ATTINY13-20MMUR ATTINY13-20MU ATTINY13-20MUR ATTINY13-20PU ATTINY13-20SQ ATTINY13-20SQR ATTINY13-20SSQ ATTINY13-20SSQR ATTINY13-20SSU ATTINY13-20SSUR ATTINY13-20SU ATTINY13-20SUR ATTINY13V-10MMU ATTINY13V-10MMUR ATTINY13V-10MU ATTINY13V-10MUR ATTINY13V-10PQ ATTINY13V-10PU ATTINY13V-10SSU ATTINY13V-10SSUR ATTINY13V-10SU ATTINY13V-10SUR
Рабочий диапазон температур, °C от -40 до +85 от -40 до +85 от -40 до +85 от -40 до +85 от -40 до +85 от -40 до +105 от -40 до +105 от -40 до +105 от -40 до +105 от -40 до +85 от -40 до +85 от -40 до +85 от -40 до +85 от -40 до +85 от -40 до +85 от -40 до +85 от -40 до +85 от -40 до +105 от -40 до +85 от -40 до +85 от -40 до +85 от -40 до +85 от -40 до +85

Datasheet Download — ATMEL Corporation

Номер произв TINY13V
Описание ATINY13
Производители ATMEL Corporation
логотип  

1Page

No Preview Available !

www.DataSheet4U.com
Features

• High Performance, Low Power AVR8-Bit Microcontroller

• Advanced RISC Architecture

– 120 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 20 MIPS Througput at 20 MHz

• High Endurance Non-volatile Memory segments

– 1K Bytes of In-System Self-programmable Flash program memory
– 64 Bytes EEPROM
– 64K Bytes Internal SRAM
– Write/Erase cyles: 10,000 Flash/100,000 EEPROM

– Data retention: 20 years at 85°C/100 years at 25°C(1)

– Optional Boot Code Section with Independent Lock Bits
In-System Programming by On-chip Boot Program
True Read-While-Write Operation
– Programming Lock for Software Security

• Peripheral Features

– One 8-bit Timer/Counter with Prescaler and Two PWM Channels
– 4-channel, 10-bit ADC with Internal Voltage Reference
– Programmable Watchdog Timer with Separate On-chip Oscillator
– On-chip Analog Comparator

• Special Microcontroller Features

– debugWIRE On-chip Debug System
– In-System Programmable via SPI Port
– External and Internal Interrupt Sources
– Low Power Idle, ADC Noise Reduction, and Power-down Modes
– Enhanced Power-on Reset Circuit
– Programmable Brown-out Detection Circuit
– Internal Calibrated Oscillator

• I/O and Packages

– 8-pin PDIP/SOIC: Six Programmable I/O Lines
– 20-pad MLF: Six Programmable I/O Lines

• Operating Voltage:

– 1.8 — 5.5V for ATtiny13V
– 2.7 — 5.5V for ATtiny13

• Speed Grade

– ATtiny13V: 0 — 4 MHz @ 1.8 — 5.5V, 0 — 10 MHz @ 2.7 — 5.5V
– ATtiny13: 0 — 10 MHz @ 2.7 — 5.5V, 0 — 20 MHz @ 4.5 — 5.5V

• Industrial Temperature Range

• Low Power Consumption

– Active Mode:
1 MHz, 1.8V: 240µA
– Power-down Mode:
< 0.1µA at 1.8V
8-bit
Microcontroller
with 1K Bytes
In-System
Programmable
Flash
ATtiny13V
ATtiny13
Rev. 2535H–AVR–10/07

No Preview Available !

www.DataSheet4U.com

Pin Configurations Figure 1. Pinout ATtiny13

8-PDIP/SOIC
(PCINT5/RESET/ADC0/dW) PB5
(PCINT3/CLKI/ADC3) PB3
(PCINT4/ADC2) PB4
GND
1
2
3
4
8 VCC
7 PB2 (SCK/ADC1/T0/PCINT2)
6 PB1 (MISO/AIN1/OC0B/INT0/PCINT1)
5 PB0 (MOSI/AIN0/OC0A/PCINT0)
20-QFN/MLF
(PCINT5/RESET/ADC0/dW) PB5
(PCINT3/CLKI/ADC3) PB3
NC
NC
(PCINT4/ADC2) PB4
1
2
3
4
5
15 VCC
14 PB2 (SCK/ADC1/T0/PCINT2)
13 NC
12 PB1 (MISO/AIN1/OC0B/INT0/PCINT1)
11 PB0 (MOSI/AIN0/OC0A/PCINT0)
NOTE: Bottom pad should be soldered to ground.
NC: Not Connect
10-QFN/MLF
(PCINT5/RESET/ADC0/dW) PB5
(PCINT3/CLKI/ADC3) PB3
NC
(PCINT4/ADC2) PB4
GND
1
2
3
4
5
10 VCC
9 PB2 (SCK/ADC1/T0/PCINT2)
8 NC
7 PB1 (MISO/AIN1/OC0B/INT0/PCINT1)
6 PB0 (MOSI/AIN0/OC0A/PCINT0)
NOTE: Bottom pad should be soldered to ground.
NC: Not Connect
Overview
The ATtiny13 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced
RISC architecture. By executing powerful instructions in a single clock cycle, the
ATtiny13 achieves throughputs approaching 1 MIPS per MHz allowing the system
designer to optimize power consumption versus processing speed.

2 ATtiny13

2535H–AVR–10/07

No Preview Available !

www.DataSheet4U.com
Block Diagram
2535H–AVR–10/07
ATtiny13

Figure 2. Block Diagram

VCC
GND
INSTRUCTION
REGISTER
INSTRUCTION
DECODER
CONTROL
LINES
8-BIT DATABUS
STACK
POINTER
SRAM
PROGRAM
COUNTER
PROGRAM
FLASH
GENERAL
PURPOSE
REGISTERS
X
Y
Z
ALU
WATCHDOG
OSCILLATOR
WATCHDOG
TIMER
MCU CONTROL
REGISTER
MCU STATUS
REGISTER
TIMER/
COUNTER0
INTERRUPT
UNIT
PROGRAMMING
LOGIC
DATA
EEPROM
STATUS
REGISTER
CALIBRATED
INTERNAL
OSCILLATOR
TIMING AND
CONTROL
ADC /
ANALOG COMPARATOR
DATA REGISTER
PORT B
DATA DIR.
REG.PORT B
PORT B DRIVERS
PB0-PB5
RESET
CLKI
The AVR core combines a rich instruction set with 32 general purpose working registers.
All the 32 registers are directly connected to the Arithmetic Logic Unit (ALU), allowing
two independent registers to be accessed in one single instruction executed in one clock
cycle. The resulting architecture is more code efficient while achieving throughputs up to
ten times faster than conventional CISC microcontrollers.
The ATtiny13 provides the following features: 1K byte of In-System Programmable
Flash, 64 bytes EEPROM, 64 bytes SRAM, 6 general purpose I/O lines, 32 general pur-
pose working registers, one 8-bit Timer/Counter with compare modes, Internal and
External Interrupts, a 4-channel, 10-bit ADC, a programmable Watchdog Timer with
internal Oscillator, and three software selectable power saving modes. The Idle mode
stops the CPU while allowing the SRAM, Timer/Counter, ADC, Analog Comparator, and
3

Всего страниц 70 Pages
Скачать PDF

Экологический статус

ATTINY13-20MMU ATTINY13-20MMUR ATTINY13-20MU ATTINY13-20MUR ATTINY13-20PU ATTINY13-20SQ ATTINY13-20SQR ATTINY13-20SSQ ATTINY13-20SSQR ATTINY13-20SSU ATTINY13-20SSUR ATTINY13-20SU ATTINY13-20SUR ATTINY13V-10MMU ATTINY13V-10MMUR ATTINY13V-10MU ATTINY13V-10MUR ATTINY13V-10PQ ATTINY13V-10PU ATTINY13V-10SSU ATTINY13V-10SSUR ATTINY13V-10SU ATTINY13V-10SUR
RoHS Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим Совместим