We Are a Group of Tutorial 6 UQD10801 (Robocon1) Students From Universiti Tun Hussein Onn Malaysia (UTHM): Keypad 4x4 and LCD Arduino

Introduction: We Are a Group of Tutorial 6 UQD10801 (Robocon1) Students From Universiti Tun Hussein Onn Malaysia (UTHM): Keypad 4x4 and LCD Arduino

Keypads are a great way to let users interact with your project. You can use them to navigate menus, enter passwords, and control games and robots. In this tutorial, I’ll show you how to setup a keypad on the Arduino. First I’ll explain how the Arduino detects key presses, then I’ll show you how to find the pinout of any keypad. As a simple example, I’ll show you how to print out the key presses on the serial monitor and an LCD. Finally, I’ll show you how to activate a 5V relay when a password is entered correctly.

Step 1: How It Works

Matrix keypads use a combination of four rows and four columns to provide button states to the host device, typically a microcontroller. Underneath each key is a pushbutton, with one end connected to one row, and the other end connected to one column.

Step 2: Microcontroller

In order for the microcontroller to determine which button is pressed, it first needs to pull each of the four columns (pins 1-4) either low or high one at a time, and then poll the states of the four rows (pins 5-8). Depending on the states of the columns, the microcontroller can tell which button is pressed.

Step 3: VIDEO

this is our group video on tutorial 6: keypad 4x4 and LCD

Be the First to Share

    Recommendations

    • Halloween Contest

      Halloween Contest
    • Micro:bit Contest

      Micro:bit Contest
    • Plastic Challenge

      Plastic Challenge

    Comments