Microchip ATTINY1614 Manual de Usario

Lee a continuación 📖 el manual en español para Microchip ATTINY1614 (25 páginas) en la categoría No categorizado. Esta guía fue útil para 2 personas y fue valorada con 4.5 estrellas en promedio por 2 usuarios

Página 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

Especificaciones del producto

Marca: Microchip
Categoría: No categorizado
Modelo: ATTINY1614
Color del producto: Zwart
Peso.: 3200 g
Ancho: 330.2 mm
Profundidad: 222.2 mm
Altura: 209.5 mm
Material de la carcasa: Aluminium
Bluetooth: Nee
Tecnología de conectividad: Bedraad
Tipo de fuente de energía: AC
Guía de inicio rápido: Ja
Energía promedio: 150 W
Conecta y reproduce: Ja
Uso recomendado: Tuin
Impedancia: 8 Ohm
Adecuado para uso en exteriores: Ja
Canales de salida de audio: 2.0 kanalen
Colocación de los altavoces: Floor, Tabletop/bookshelf
altavoz de graves: Ja
Rango de frecuencia: 64 - 20000 Hz
Sensibilidad: 91 dB
Tipo de altavoz: 2-weg
Amplificador: Ingebouwd
Diámetro del altavoz de graves: 165 mm
Diámetro hogetonenluidspreker: 25 mm
tweeter: Ja

¿Necesitas ayuda?

Si necesitas ayuda con Microchip ATTINY1614 haz una pregunta a continuación y otros usuarios te responderán




No categorizado Microchip Manuales

No categorizado Manuales

Últimos No categorizado Manuales