Microchip ATTINY1616 Manual


Læs gratis den danske manual til Microchip ATTINY1616 (25 sider) i kategorien Ikke kategoriseret. Denne vejledning er vurderet som hjælpsom af 10 personer og har en gennemsnitlig bedømmelse på 4.7 stjerner ud af 5.5 anmeldelser. Har du et spørgsmål om Microchip ATTINY1616, eller vil du spørge andre brugere om produktet?

Side 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


Produkt Specifikationer

Mærke: Microchip
Kategori: Ikke kategoriseret
Model: ATTINY1616

Har du brug for hjælp?

Hvis du har brug for hjælp til Microchip ATTINY1616 stil et spørgsmål nedenfor, og andre brugere vil svare dig




Ikke kategoriseret Microchip Manualer

Ikke kategoriseret Manualer

Nyeste Ikke kategoriseret Manualer