Categories: Electronic Devices & Circuits

How the Matrix Keypad works with a Micro controller?

The matrix is controlled by a micro-controller.

For the above 16-button 4×4 matrix, 8 pins of the micro controller will be used.

The first 4 pins will be OUTPUTS and will be connected to the COLUMN wires, while the other 4 pins will be INPUTS and will be connected to the ROW wires.

The OUTPUTS of the micro-controller will NOT all have power at the same time.

The outputs will go high one by one in cycle.

During this time, it will also monitor the inputs for a signal. As long as all inputs are LOW , the Micro-controller will take no action.

Now, suppose that the operator presses the button 3C.

This button has connect the matrix col C, with the matrix row 3.

When the output C of the micro-controller becomes HIGH, the signal arrives also at the input 3 of the micro-controller, through the pressed button.

The micro-controller check the 4 inputs and detects that when the specific output (C) is high, there is a HIGH signal at the input 3.

So, this means that the input C3 is pressed!

You've successfully subscribed !
Share

Recent Articles

PLC Ladder Logic Design: Control 3 Motors with Toggle Switch
  • PLC Tutorials

PLC Ladder Logic Design: Control 3 Motors with Toggle Switch

PLC ladder logic design to control 3 motors with toggle switch and explain the program…

3 weeks ago
  • PLC Tutorials

VFD Simulator Download – Free Yaskawa V1000 Software

VFD simulator download: Master the online tool from the Yaskawa V1000 & programming software for…

4 days ago
  • PLC Tutorials

Conveyor Sorting Machine PLC Program with Calculation Function

The conveyor sorting machine is widely used in the packing industries using the PLC program…

7 days ago
  • PLC Tutorials

Example of Flip-Flop PLC Program for Lamps Application

Learn the example of flip-flop PLC program for lamps application using the ladder logic to…

7 days ago
  • PLC Tutorials

STAR DELTA Programming using PLC Controller

In this article, you will learn the STAR DELTA programming using PLC controller to start…

1 week ago
  • Instrumentation Design

Single and Three Phase Immersion Electrical Heaters Wiring Circuits

Lube oil consoles of rotary equipment packages in industrial process plants are usually equipped with…

5 days ago