Interfacing Keyboard and Seven Segment Display Lecture 2

Slides:



Advertisements
Similar presentations
8085 Architecture & Its Assembly language programming
Advertisements

A Design Example An Exact Calculator. Exact Calculator Manipulating Large Integer Values Operations: – +, -, *, /, %, And, Or, Xor, Not, Power Functions.
ECE 382 Lesson 14 Lesson Outline Polling Multiplexing Intro to Logic Analyzer Debouncing Software Delay Routines Admin Assignment 3b due BOC today Assignment.
8085 Architecture & Its Assembly language programming
DEEPAK.P MICROPROCESSORS AND APPLICATIONS Mr. DEEPAK P. Associate Professor ECE Department SNGCE 1.
Practical Session No. 10 Input &Output (I/O). I/O Devices Input/output (I/O) devices provide the means to interact with the “outside world”. An I/O device.
8085 Addressing Modes.  The number & Different kind of ways the programmer can refer to data stored in the memory  The different ways that a microprocessor.
INSTRUCTION SET OF MICROPROCESSOR 8085
Computer Architecture Lecture 13 – part 2 by Engineer A. Lecturer Aymen Hasan AlAwady 7/4/2014 University of Kufa - Information Technology Research and.
Computer Architecture Lecture 12 by Engineer A. Lecturer Aymen Hasan AlAwady 25/3/2014 University of Kufa - Information Technology Research and Development.
The 8051 Assembly Language Branching & Subroutines
Lecture 14 Basic I/O Interface Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
Computer Architecture Lecture 12 by Engineer A. Lecturer Aymen Hasan AlAwady 17/3/2014 University of Kufa - Information Technology Research and Development.
The 8051 Microcontroller and Embedded Systems
Lecture Set 4 Programming the 8051.
Keyboard interfacing.
Projects 8051.
Interfacing Data Converters. D/A converters Design an O/P port with the address FFh to interface the 1408 D/A converter that is calibrated for 0 to 10V.
Assembly Language Programming of 8085 BY Prof. U. V. THETE Dept. of Computer Science YMA.
Computer Architecture Lecture 14 by Engineer A. Lecturer Aymen Hasan AlAwady 14/4/2014 University of Kufa - Information Technology Research and Development.
JUMP, LOOP, AND CALL INSTRUCTIONS
2/22/20161 Assembly Language (continue). 2/22/20162 Assembly Language Format LabelOpcodeOperandComment Start:LXISP,3FF0H;Initialize stack pointer DelimiterPlacement.
8085 interrupts Interrupts Maskable –INTR –RST vectored Non-Maskable –TRAP Vectored –RST5.5, RST6.5, RST7.5, TRAP.
P ROGRAMMING T ECHNIQUES : L OOPING, C OUNTING AND I NDEXING L ECTURE 7 Gunjeet Kaur Dronacharya group of Institutions.
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني 8085 Instruction Set logic group. Branch group. Stack memory and machine control. Addressing modes.
Gunjeet Kaur Dronacharya Group of Institutions COUNTERS AND TIME DELAYS LECTURE 3.
One area where in which microprocessor and microcomputers have a major impact is industrial processor control systems. Process control involves first.
8085 interrupts.
Gursharan Singh Tatla INSTRUCTION SET OF 8085 Gursharan Singh Tatla Gursharan Singh Tatla
Unit 1 Instruction set M.Brindha AP/EIE
PROGRAMMING OF 8085 PROCESSOR
CHAPTER ADDRESSING MODES.
Assembly Language (continue)
Gunjeet Kaur Dronacharya Group of institutions
Assembly Language Programming of 8085
Microprocessor T. Y. B. Sc..
Detailed Review of the 8085 Instruction Set.
3.Instruction Set of 8085 Consists of 74 operation codes, e.g. MOV
Counters & Time Delays.
Interfacing of LCD with µP
Lecture Set 5 The 8051 Instruction Set.
Subroutines and the Stack
Introduction to 8085 Instructions
TAO1221 COMPUTER ARCHITECTURE AND ORGANIZATION LAB 3 & 4 Part 2
Presented by: Chi Yan Hung
Interfacing of stepper motor
Data Processing Instructions
Additional data transfer and 16 bit arithmetic instruction Lecture 1
EMT 245: lecture 4: assembly language
8051 Single Board Computer (SBC) Version 1.0
Figure Pin Positions for Various LCDs from Optrex
Subroutine Call; Stack
Timer.
Source: Motor Source:
Detailed Review of the 8085 Instruction Set.
Prepared by Kenan BOZDAŞ
Microprocessor Lab CSL1543 0:0:2
Subroutines and the Stack
INSTRUCTION SET OF 8085.
Conditional Jumps and Time Delays
TK2633: MICROPROCESSOR & INTERFACING
Serial Communications
Microprocessor Lab CSL1543 0:0:2
Intel family of Microprocessors
Source: Motor Source:
Subroutines and the Stack
Some Assembly (Part 2) set.html.
Serial Communications
Assignment 1) Explain how lower address bus is multiplexed with data bus? 2) Explain the function of all the control signals in the 8085 Control Logic.
PIC &PPI PPI Mode 2 with PIC(8259).
Presentation transcript:

Interfacing Keyboard and Seven Segment Display Lecture 2 Gunjeet Kaur Dronacharya Group of Institutions

Flow chart: Key check subroutine

Program for Keycheck Subroutine KYCHK: IN PORT A CPI 0FFH JNZ KYCHK CALL DBOUNCE KYPUSH: IN PORT A JZ KYPUSH CMA ORA A RET

Port Connections

Interfacing 4*4 Keyboard

Flow chart: Keyboard Debounce

Pushbutton key & Key Debounce

PROGRAM FOR KEY DEBOUNCE DBOUNCE: PUSH B PUSH PSW LXI B,COUNT LOOP: DCX B MOV A,C ORA B JNZ LOOP POP PSW POP BC RET

MAIN PROGRAM KYBOARD: PORT A EQU FCH PORT B EQU FDH CNWORD EQU FFH STACK EQU 20 AFH LXI SP,STACK PPI: MVI A,CNWRD OUT CNTRL NEXTKY: CALL KYCHK CALL KYCODE CALL DSPLAY JMP NEXTKY