Preview

Keypad and Sensor Board.

Good Essays
Open Document
Open Document
452 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Keypad and Sensor Board.
KEYPAD & SENSOR IN PIC MICROCONTROLLER.
A 4X4 matrix keypad is useful for the function like a simple calculator or telephone. The 4X4 keypad has 16 keys which are arranged in push button switches in rows and columns. This keypad is followed by two other components, the 16-key encoder and the sensor pad. As you can see below is the diagram on a simple 4X4 matrix keypad.

This requires users to key in numbers in decimals or hexadecimals depending on the encoder that is programmed to the 4X4 keypad. The encoder will provide all the necessary logic inputs for the switches on the keypad. Below are block diagrams of the encoders from Fairchild Semiconductor and there are two different types; DIP(dual-inline package) and SOIC(small-outline integrated circuit).

Connection for the encoder are as follows;

As referenced from lms portal under Microcontroller technology, below is the truth table for the encoder. It is the 74C922 encoder from Fairchild Semiconductor. D | C | B | A | KEY | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 2 | 0 | 0 | 1 | 0 | 3 | 0 | 0 | 1 | 1 | F | 0 | 1 | 0 | 0 | 4 | 0 | 1 | 0 | 1 | 5 | 0 | 1 | 1 | 0 | 6 | 0 | 1 | 1 | 1 | E | 1 | 0 | 0 | 0 | 7 | 1 | 0 | 0 | 1 | 8 | 1 | 0 | 1 | 0 | 9 | 1 | 0 | 1 | 1 | D | 1 | 1 | 0 | 0 | A | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | B | 1 | 1 | 1 | 1 | C |

The encoder works when a key has been pressed, the Data Available pin goes high and the key value (0 – 15) is output from D – A. The logic levels of D – A and the corresponding key values are given in Table 1. For example, when the key 7 is pressed, the logic levels of D - A will be 1000. By connecting these signals to the microcontroller and implementing a look-up technique, all key presses can be easily detected and identified.

Lastly is the sensor pad, below is the block diagram for the QProx QT113 Touch Sensor

QProx QT113 Touch Sensor has only a single output OUT (Figure 2) that is used to indicate if someone touches

You May Also Find These Documents Helpful

  • Satisfactory Essays

    1. The 10-Key Numeric Keypad – [the table (box) is located below the instructions for the exercise.]…

    • 625 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    A computer keyboard is an input device used to enter characters and functions into the computer system by pressing buttons or keys.it is the primary device used to enter text. A keyboard is used to enter text . a keyboard typically contains keys for individual letters, numbers and…

    • 1042 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Using a system of 1's and 0's ______________ is the most common way of encoding data.…

    • 932 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NT1110

    • 315 Words
    • 2 Pages

    The third numbering system that computers use is hexadecimal system, which is complex than the other two numbering systems. This refers to the base16 number system that consists of 16 symbols. The numbers are 0 to 9 and the letters A to F. The decimal number 15 is represented as F in the hexadecimal numbering system. The hexadecimal system is useful because it can represent every byte as two consecutive hexadecimal digits. It is easier for people to read hexadecimal numbers than binary numbers.…

    • 315 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Codes—which are the most numerous—have five digits (with no decimals). Each code has a descriptor, which is a brief explanation of the procedure:…

    • 440 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Binary Code

    • 597 Words
    • 3 Pages

    Here's an example of the Binary Code in action: When you type the letter A on your keyboard, electrical signals are sent from the keyboard to the CPU. The CPU turns the signals into binary code. Then, the computer reads the code and sends it on to the monitor to display the letter A.…

    • 597 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Case Study

    • 1108 Words
    • 5 Pages

    Westover Electrical, Inc., is a medium-size Houston manufacturer of wire windings used in making electric motors. Joe Wilson, VP operations, has experienced an increasing problem with rejected product found during the manufacturing operation. "I’m not sure where to begin," admitted Joe at the weekly meeting with his boss. "Rejects in the Winding Department have been killing us the past two months. Nobody in operations has any idea why. I have just brought in a consultant, Roger Gagnon, to take a look at the situation and make recommendations about how we can find out what is going on. I don’t expect Roger to make technical recommendations–just see if he can point us in the right direction."…

    • 1108 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    Nt1110 Unit 3 Assignment

    • 479 Words
    • 2 Pages

    Modern electronic calculators contain a keyboard with buttons for digits and arithmetical operations. Some even contain 00 and 000 buttons to make large numbers easier to enter. Most basic calculators assign only one digit or operation on each button. However, in more specific calculators, a button can perform multi-function working with key combination or current reckoning…

    • 479 Words
    • 2 Pages
    Powerful Essays
  • Satisfactory Essays

    Assignment 4

    • 634 Words
    • 3 Pages

    #1. How many cells can be in a computer's main memory if each cell's address can be represented by two hexadecimal digits? What if four hexadecimal digits are used? Explain your answer.…

    • 634 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Leading Restaurants Chain May 15, 1940 in California; McDonald's Corp. Founder Richard and Maurice McDonald Headquarters Oak Brook, Illinois, U.S. No. of locations 32,000+ worldwide Area served Worldwide Products Fast food Revenue Increase US$ 24.075 billion (2010) Employees 400,000 ( 2010)…

    • 367 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Linear Block Codes

    • 864 Words
    • 4 Pages

    3. Then code word is generated utilizing the matrix multiplication formula for the code word.…

    • 864 Words
    • 4 Pages
    Powerful Essays
  • Better Essays

    Touch Screen Technology

    • 1224 Words
    • 5 Pages

    * The touch sensor a panel with a touch responsive surface. Different types of sensors: resistive, surface acoustic wave, and capacitive. Sensors have an electrical current running through them and touching the screen causes a voltage change. The voltage change signals the location of the touching.…

    • 1224 Words
    • 5 Pages
    Better Essays
  • Good Essays

    A tiny computer chip, called the keyboard controller or keyboard bios, that a key has been pressed. The keyboard controller places a code into a part of its memory, called the keyboard buffer, indicating which key was pressed. This code is called the key’s scan code. The keyboard controller then signals the computer’s system software that something has happened at the keyboard. It does not specify what has occurred, just that something has. The signal the keyboard sends to the computer is a special kind of message called an interrupt request using an IRQ address. The keyboard controller sends an interrupt request to the system software when it receives a complete keystroke. For example, if you type the letter "r", the controller immediately issues an interrupt request. (If you hold down the Shift Key before typing "R", the controllers wait until the whole key combination has been entered.)…

    • 800 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Equipped with an N-Key Roll Over in USB mode ensures that even the wildest key combinations can be registered perfectly and the signal sent to the system is easily detected…

    • 720 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Dtmf and Pulse Dialing

    • 608 Words
    • 3 Pages

    The DTMF keypad is laid out in a 4×4 matrix, with each row representing a low frequency, and each column representing a high frequency. Pressing a single key (such as '1' ) will send a sinusoidal tone for each of the two frequencies (697 and 1209 hertz (Hz)). The original keypads had levers inside, so each button activated two contacts. The multiple tones are the reason for calling the system multifrequency. These tones are then decoded by the switching center to determine which key was pressed.…

    • 608 Words
    • 3 Pages
    Good Essays