Robert Perkel
Published

Simple Keypad Controller with an I/O Expander

To reduce the complexity of wiring with a keypad, the Advanced I/O Expander Example (on PIC16F15244) was used as a simple keypad controller.

BeginnerFull instructions provided1.5 hours1,721

Things used in this project

Hardware components

PIC16F15244 Curiosity Nano Evaluation Kit
Microchip PIC16F15244 Curiosity Nano Evaluation Kit
×1
Arduino UNO
Arduino UNO
Connected SDA to A4, SCL to A5, and INT to Pin 2
×1
3x4 Keypad
Any 3x4 keypad with the electrical setup shown in the schematic should work.
×1
5 mm LED: Red
5 mm LED: Red
Example Red LED
×1
Through Hole Resistor, 470 ohm
Through Hole Resistor, 470 ohm
Example LED current limiting resistor. You may need to adjust this resistor to find a comfortable brightness for the LED.
×1

Software apps and online services

MPLAB X IDE
Microchip MPLAB X IDE

Story

Read more

Schematics

Schematic

Code

Advanced I/O Expander

Credits

Robert Perkel

Robert Perkel

12 projects • 10 followers
Application Engineer with Microchip Technology

Comments