Skip to main content

Posts

Showing posts with the label Keypad matrix

Keypad matrix implemented with 7-Segment display with 8051

You have used many Keypads in many day-to-day applications. Keypad consists of 0-9 numbers and '#' and '*' icons too. I have also discussed about the interfacing of keypads with 8051 microcontroller and discussed the rows and columns algorithm which one has to learn before implementation of Keypad matrix. 7-segment LED display consists of 8-LEDs in '8' digit pattern. Project description: - Here, we have implemented Keypad matrix with Port P1 of 8051 microcontroller. In this diagram, Keypad is of 4x3 matrix i.e. 4 rows and 3 columns formatting. But, you can built your own Keypad matrix using SPST switches and IxJ matrix can be used according to your need but more ports have to used as 8 pin are maximum in each port of 8051. Next, 7-segment LED display is interfaced to Port P2, according to the diagram. This interfaced was also discussed in previous posts too. I have used common cathode 7-segment and each case with hex code, has to be defined fo...