Keypads operation, Computer Engineering

The 16 keys (4x4 matrixes) keypads diagram is shown in figure 4 above. Let see how the keypad is connected. Each square of the alphanumeric has to be pushed to make a switch or connection, which connects the horizontal wires (Rows) with the vertical wires (Columns). For example, if button ‘A' is pressed, it will connect COL1 with ROW4, or pressing button '5' will connect COL2 with ROW2.

The keypads are usually organized in a matrix of rows and columns. The microcontroller will access both the rows and columns through the ports. If a key pressed, a row and column make a contact; otherwise there will be no connection between rows and columns.

Since the switches or keys are all interconnected, I need differentiate between the each one of them. I have connected four 10K Ohms resistors each on the interface board to pull lines (COL1- COL 4) high (set as input) and connected them PORTA (RA1-RA4) on the microcontroller. These four lines are been read in the program. So if no key is pressed, these lines will all read high. The other four pins (ROW-ROW4) are connected to pins on PORTB (RB0-RB3) the PIC18F452 and set as output. The full schematic diagram for this section could be found in the appendix.

To interface the keypad, two main processes listed below must occur:

I. Key press detection
II. Key identification
Moreover, there are two ways of performing key press detection:

1) The interrupt method (Port B - Change interrupt can be used)
2) Scanning method

Posted Date: 2/23/2013 12:40:37 AM | Location : United States







Related Discussions:- Keypads operation, Assignment Help, Ask Question on Keypads operation, Get Answer, Expert's Help, Keypads operation Discussions

Write discussion on Keypads operation
Your posts are moderated
Related Questions
The  most common types are the AWARD,AMI, AND phoenix

Write the applications of Michelson interferometer

What is memory mapped I/O? When the I/O devices share the similar address space, the arrangement is known as memory mapped I/O.

In a logical system, a judgement is a statement that is either true or false. So far, you are most familiar with the type of judgement "A is true", which is often simply abbreviate

The basic project will have each group generate a sequence of 1's and 0's using  the Motorola 688HC11 board to turn ON and then turn OFF the TV set installed in ATRC 306. Each tele

1.Local queue -is a actual queue 2.Cluster queue -is a local queue that is called as throughout a cluster of queue managers 3. Remote queue -structure explaining a queue

What will occur when contents of register are shifter left, right? This is well known that into left shift all bits will be shifted left and LSB will be appended along with 0 a

What is Priority interrupt. It is a system that establishes a priority over the several resources to determined which condition are to be serviced first when two or more reques

Name two special purpose registers. Index register Stack pointer

Q. What do you mean by File? In computer vocabulary, file is a collection of text or data stored on a storage device, such as a Floppy Disk or Hard Disk. If you a fresher to c