Microchip ATTINY1616 Bedienungsanleitung
Microchip
Nicht kategorisiert
ATTINY1616
Lies die bedienungsanleitung für Microchip ATTINY1616 (25 Seiten) kostenlos online; sie gehört zur Kategorie Nicht kategorisiert. Dieses Handbuch wurde von 26 Personen als hilfreich bewertet und erhielt im Schnitt 4.8 Sterne aus 13.5 Bewertungen. Hast du eine Frage zu Microchip ATTINY1616 oder möchtest du andere Nutzer dieses Produkts befragen? Stelle eine Frage
Seite 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
Produktspezifikationen
Marke: | Microchip |
Kategorie: | Nicht kategorisiert |
Modell: | ATTINY1616 |
Brauchst du Hilfe?
Wenn Sie Hilfe mit Microchip ATTINY1616 benötigen, stellen Sie unten eine Frage und andere Benutzer werden Ihnen antworten
Bedienungsanleitung Nicht kategorisiert Microchip
10 Juni 2025
9 Juni 2025
9 Juni 2025
9 Juni 2025
9 Juni 2025
9 Juni 2025
9 Juni 2025
9 Juni 2025
9 Juni 2025
9 Juni 2025
Bedienungsanleitung Nicht kategorisiert
- Rothenberger
- SwitchBot
- Forge Adour
- Babyhome
- UPO
- GA.MA
- AMX
- SilverStone
- Jura
- Baby Jogger
- Positive Grid
- Tineco
- Svedbergs
- Beverage-Air
- Q Acoustics
Neueste Bedienungsanleitung für -Kategorien-
15 Juni 2025
15 Juni 2025
15 Juni 2025
15 Juni 2025
15 Juni 2025
15 Juni 2025
15 Juni 2025
15 Juni 2025
15 Juni 2025