Instrukcja obsługi Microchip ATTINY1616


Przeczytaj poniżej 📖 instrukcję obsługi w języku polskim dla Microchip ATTINY1616 (25 stron) w kategorii Niesklasyfikowane. Ta instrukcja była pomocna dla 6 osób i została oceniona przez 2 użytkowników na średnio 4.5 gwiazdek

Strona 1/25
AN3407
Using Matrix Keypad with AVR® Devices
Features
Basic Overview and Example of Matrix Keypad Operation
Easy Implementation to Other Applications
Advanced Low-Power Implementation Example
Fully interrupt driven operation
Power-Down Sleep mode
Well suited in battery-powered applications
Software Button Debouncing
Simple Passcode Check Implementation
LED Passcode Validation Indicator
Introduction
Author: Amund Aune, Microchip Technology Inc.
This application note shows how a general keypad application can be implemented with tinyAVR
® and megaAVR®
devices. A conceptual overview of the operation of a matrix keypad and two demo applications are presented. One
demo shows a simple implementation of a keypad, while the second demo uses more advanced features to make the
application more efficient and use less power.
The examples in this application note may easily be changed to interface a smaller or larger matrix keypad, and are
easy to implement into another application. The application may be used in all implementations using a matrix
keypad, such as access control keypads, keyboards, or remote controls.
The code examples are available through Atmel START:
Using Matrix Keypad with AVR Devices - Basic
https://start.atmel.com/#example/Atmel%3AApplication_AVR_Examples%3A1.0.0%3A%3AApplication
%3AUsing_Matrix_Keypad_with_AVR_Devices_-_Basic%3A
Using Matrix Keypad with AVR Devices - Advanced
https://start.atmel.com/#example/Atmel%3AApplication_AVR_Examples%3A1.0.0%3A%3AApplication
%3AUsing_Matrix_Keypad_with_AVR_Devices_-_Advanced%3A
The code examples are also available through GitHub:
View Code Examples on GitHub
Click to browse repositories
© 2020 Microchip Technology Inc. Application Note DS00003407A-page 1
Table of Contents
Features......................................................................................................................................................... 1
Introduction.....................................................................................................................................................1
1. Block Diagram.........................................................................................................................................3
2. Theory of Operation................................................................................................................................ 4
3. Demo Operation......................................................................................................................................7
3.1. Hardware Prerequisites................................................................................................................7
3.2. Software Prerequisites................................................................................................................. 7
3.3. Running the Example................................................................................................................... 7
4. Source Code Overview........................................................................................................................... 8
4.1. Basic Operation............................................................................................................................8
4.2. Advanced Operation...................................................................................................................10
5. Power Consumption..............................................................................................................................16
5.1. Basic Operation..........................................................................................................................16
5.2. Advanced Operation...................................................................................................................16
5.3. Plotting Current Data..................................................................................................................17
6. Get Code Examples from Atmel START............................................................................................... 20
7. Get Code Examples from GitHub..........................................................................................................21
8. Revision History.................................................................................................................................... 22
The Microchip Website.................................................................................................................................23
Product Change Notification Service............................................................................................................23
Customer Support........................................................................................................................................ 23
Microchip Devices Code Protection Feature................................................................................................23
Legal Notice................................................................................................................................................. 23
Trademarks.................................................................................................................................................. 24
Quality Management System....................................................................................................................... 24
Worldwide Sales and Service.......................................................................................................................25
AN3407
© 2020 Microchip Technology Inc. Application Note DS00003407A-page 2
1. Block Diagram
The block diagram below shows an overview of the advanced application example using a 4x4 keypad with the
ATtiny1627 Curiosity Nano development board. It shows how the application interacts with the peripherals and CPU
of the tinyAVR® 2 device. The keypad and LEDs may be connected to any of the General Purpose Input/Output
(GPIO) pins, but in this example, they are connected physically in a row on the ATtiny1627 Curiosity Nano to simplify
connection.
Figure 1-1. Block Diagram
AN3407
Block Diagram
© 2020 Microchip Technology Inc. Application Note DS00003407A-page 3


Specyfikacje produktu

Marka: Microchip
Kategoria: Niesklasyfikowane
Model: ATTINY1616

Potrzebujesz pomocy?

Jeśli potrzebujesz pomocy z Microchip ATTINY1616, zadaj pytanie poniżej, a inni użytkownicy Ci odpowiedzą




Instrukcje Niesklasyfikowane Microchip

Microchip

Microchip ATECC608B Instrukcja

7 Października 2024
Microchip

Microchip HV860 Instrukcja

7 Października 2024
Microchip

Microchip EVB-LAN9255 Instrukcja

7 Października 2024
Microchip

Microchip LX4580 Instrukcja

7 Października 2024
Microchip

Microchip LX7720 Instrukcja

7 Października 2024
Microchip

Microchip AT32UC3C0128C Instrukcja

4 Października 2024
Microchip

Microchip AT32UC3A3256 Instrukcja

4 Października 2024
Microchip

Microchip AT32UC3A364 Instrukcja

4 Października 2024
Microchip

Microchip AT32UC3B0256 Instrukcja

4 Października 2024
Microchip

Microchip AT32UC3A0512 Instrukcja

4 Października 2024

Instrukcje Niesklasyfikowane

Najnowsze instrukcje dla Niesklasyfikowane

Stihl

Stihl HT 70 Instrukcja

15 Października 2024
Ernesto

Ernesto H14270 Instrukcja

15 Października 2024
Uniden

Uniden BT MIC KIT Instrukcja

15 Października 2024
Vaude

Vaude Omnis Bike 26 Instrukcja

15 Października 2024
ART

ART ProChannel II Instrukcja

15 Października 2024
Aukey

Aukey DR02J Instrukcja

15 Października 2024
Master Lock

Master Lock 653EURD Instrukcja

15 Października 2024
Roland

Roland FR-18 Diatonic Instrukcja

15 Października 2024