answersLogoWhite

0


Best Answer

For interfacing to the microprocessor system, usually push buttons keys are used. Whenever a key is pressed, there are small mechanical vibrations that cause noise on the input, which can cause the microprocessor to detect several keypresses instead of just one. Bouncing happens because of the tendency of any two metal contacts in an electronic device to generate multiple signals as the contacts close or open. You can solve this problem using software or hardware debouncing.

The hardware approach is shown in figure 8.1. It uses a cross-coupled latch formed with two Nand gates

Simple Keyboard Interface:

The figure 8.3 shows the simple keyboard interface

Manipal University Page No.: 195

When port pin is logic 1,key is open,otherwise key is closed. The software routine to get key code with key debounce is:

In the technique shown in figure 8.3, each key requires separate interface.This means, to interface one key,one input line is required.This is the disdavantage as it requires many line as many keys. This number of lines required can be reduced if keys are put in matrix form.

The figure 8.4 shows the interface of matrix key board

The 16 keys are arranged in four rows and four columns. The connection will be made such that when a key is pressed, it shotrs the corresponding

one row and one column. Two ports are required, input port for connecting rows and and output port for connecting columns. The lines connected to rows are called returned lines and the lines connected to columns are called scan lines

When all a key is pressed it shorts the corresponding row and column. If the output line of this colummn is low, then it makes the corresponding row line low,other wise the status of row line will be high. The pressed key will be identified by the data sent on the oputput port and the input code received from the input port. Figure 8.6 shows the flow chart for interfacing of 8086

As shown in the figure 8.7, the interfacing is done using 8255 PPI. The 8086 is being used in maximum mode and port A of 8255 is used for columns and port B for rows. By making use of the lookup table stored in the memory, the 8086 microprocessor will determine the code of the depressed key, then it will initiate the action. The figure 8.8 shows the flow chart for keyboard interface............

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Draw Circuit for keyboard interfacing with 8086?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Draw the 8086's internal configuration?

internal configuration 8086


Write a program in 8086 assembly language to draw a circle?

You need an 8086 assembly language pencil.


How do you draw a pumpkin with keyboard keys?

...._/_ ../.^,^.\ ..\.\_/. /


How do you draw a chicken picture using keyboard characters?

Okay im gonna draw a epic word █▒▓▓▓▓▓▓▓▒▒▓▓▓▓▓▓▓▒▒▓▓▒▒▓▓▓▓▓▓▓▓▒▒▓▓▒▒██ █▒▓▓▒▒▒▒▒▒▒▓▓▒▒▒▓▓▒▒▓▓▒▒▓▓▒▒▒▒▒▒▒▒▓▓▒▒██ █▒▓▓▓▓▓▒▒▒▒▓▓▓▓▓▓▓▒▒▓▓▒▒▓▓▒▒▒▒▒▒▒▒▓▓▒▒██ █▒▓▓▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▓▓▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▒██ █▒▓▓▓▓▓▓▓▒▒▓▓▒▒▒▒▒▒▒▓▓▒▒▓▓▓▓▓▓▓▓▒▒▓▓▒▒██


Which inputs device can you use to draw lines and other shapes?

keyboard


How can you draw electric circuit in Microsoft Word?

It's very easy to draw an electric circuit in Microsoft Word. You just need to open up the graphics menu from the top, and you'll get access to the drawing tools for circuit drawing.


How do you draw an airplane using keyboard symbols for text messaging?

+ \____0(+)0___/


Can you draw Peter Griffin using the keyboard?

I can draw Stewie (uses non-ASCII characters): (ಠ ›ಠ)


How do you make a computer keyboard out of cardboard?

Well first of all get yourself cardboard as big as a keyboard. Then just draw in the letters and numbers and arrow keys. Now you have a keyboard made of cardboarD!


Draw circuit with five calling points?

i need the answer for the question.


Can you draw a picture using the keyboard?

Yep look MJ __________?§$$$$$$$§§?____________§$$$$$$$$$$$$§?___________??§§§$$$$§$$$$§?_____________?____§?§§$§$$§?______________?___?_?§$$$$$$§________________?????§$$§$$§?___????§?__________??§$$$$$§§?__?§$$$$?_??______§§§$§§§§§$$§ ?___?§$$$§????_____?§$$$J§§§§§§ $$§?____?$$§?________§$$$$h§$§§§§§ §$§_____§$§§3_______$$$§§§§§§§§$§ $$§______§$$§§$____$$§§§$§§§§§$§§ $$§_______§$$$$$$$$$$§$§§§$$$$§§§ $$§________?§§§§$$$$$$§§§§§§$§§§§ $$?___________$$$§$$$§§§§§§§§§§§$ $§________________?§$$§§$§§$§§§§ §?__________________§$$$§§$§§§§$ §?_________________?§$$§§§§§§§§$ §?_______________?§$$§§$$::::§§$ $$§______________§$$$§§§§§:::§$§§ $$?____________?§$$$$$$$$:::§§§§$ $$?__________?§$$$$$$§§:::§$§$$$$ §?________?§$$$$$$§:::§§$§$$$$$§_______§$$$$$$§:::§$$$$$$§?_____?$$$$$§::::$$$$$$§?___?§$$$$§::::$$$$§??_?§$$$$§§§§$$$$§?§$$$$§§§§$$§?§$$§§§§§$§?$$§§§$§§§§??§$§§§§§§§$$§_§$§§§$§§§§$§?_?$§§§$$§§§§§§?_?§$§§$§§§§§$$$§__?§§§$§$$§§§$$$§__?§$§$$$$§§?§§§?__??___?$$$$$§_______?§$$$?____?????____?§§§??§$$§____________?$$$§_?§?___________?$$$§§§$§__________?§$$§??$§?___________________$$$____________________$$$$___$$$ $__________________$$$$$$$_$$$$ $$_________$$$$$$$$$$$$$$$$$__$$ $$_____$$$$$$$$$$$$$$$$$$$$$$__$ $$$____$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$___$$$_$$_$$$$$$$$$$$$$$$$_$$$ $$__$$$$$_$$$$$$$$$$$$$$$$$$$$$$__$$$_$$_$$$$$$$$$$$$$$$$$_$$$__$$$_$$_$$$$$$$$___________$$ $$_$$$$$_$$$$$$$$$$$___________$ $$_$$$_$$_$$$$$$$$$$_$$$_$$_$$$$$$$$$$_$$$_$$_$$$$$$$$$$$$_$$$$$$__$$$$$$$$$$_$$$$$$___$$$$$$$$_$$$$$$$$$__$$$$$$$$_$$$$$$$$___$$$$$$$$_$$$$$$$$___$$$$$$$$_$$$$$$$$__$$$$$$_$$$_$$$$$$$$$_$$$$$$$$$$ __$$$$$$$$_$$$$$$$$$$$ __$$$$$$$$$__$$_$_$$$$$__$$$$$$$$$_$$$$$$$__$$$$$__$$_$$$$$$$_$$$$$$$$$$_$$__$$$$$$$$$$$$$$$_$$$$$$$__$$$$$$$$$$$$$$$$__$$$$$__$$$$$$$$$$$$$$$$$$$__$$$__$$$$$$$$$$$$$$$$$$$$$____$$$$$$$$$$$$$$$$$$$$$$$$$$____$$$$$$$$$$$$$$$$$$$$$$$$$ $$__________$$$$$$$$$$$$$$$$$$$ $$$$____________$$$$$$$$$$$$$$$$$ $$$$$______________$$$$$$$$$$$$$$$ $$$$$$_______________$$$$$$$$$$$$$$ $$$$$_______________$$$$$$$$$$$$$$ $$$$$____________$$$$$$$$$$$$$$$$$ $$__________$$$$$$$$$$$$$$$$$$$$_$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$_$$$$$$$$$$$$$$$$$$$$$$$$$$$$$__$$$$$$$$$$$$$$$$$$$$$$$$$$$$__$$$$$$$$$$$$$____$$$$$$$$$$_$$$__$$_$$________$$$$$$$$$$$_$$$_$$_____________$$$$$$$$$$_$$_$$______________$$$$$$$$$$___$$________________$$$$$$$$$ $_$$$$________________$$$$$$$$$ $__$$$_________________$$$$$$$$ $$_____________________$$$$$$$$ $$____________________$$$$$$$$$ $$____________________$$$$$$$$$ $$$____________________$$$$$$$$$ __$$$$$$___________________$$$$$$$$$$ $$$$$$$$$____________________$$$$$__$$ $$$$$$


How do you draw thevinin equivalent circuit of common emitter amplifier?

bbc