Használati útmutató Microchip ATTINY1614

Olvassa el alább 📖 a magyar nyelvű használati útmutatót Microchip ATTINY1614 (25 oldal) a nincs kategorizálva kategóriában. Ezt az útmutatót 5 ember találta hasznosnak és 2 felhasználó értékelte átlagosan 4.5 csillagra

Oldal 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

Termékspecifikációk

Márka: Microchip
Kategória: nincs kategorizálva
Modell: ATTINY1614

Szüksége van segítségre?

Ha segítségre van szüksége Microchip ATTINY1614, tegyen fel kérdést alább, és más felhasználók válaszolnak Önnek




Útmutatók nincs kategorizálva Microchip

Útmutatók nincs kategorizálva

Legújabb útmutatók nincs kategorizálva

CaterChef

CaterChef 445001 Útmutató

9 Április 2025
IFM

IFM E40581 Útmutató

9 Április 2025
Livn

Livn Bolt Útmutató

9 Április 2025
Livn

Livn Beats Útmutató

9 Április 2025
IFM

IFM O3R252 Útmutató

9 Április 2025
IFM

IFM PG1704 Útmutató

9 Április 2025