Introduction: 4X4 Keypad Input Display Through OLED

Picture of 4X4 Keypad Input Display Through OLED

In this tutorial basically we're going to learn how to take input from keypad and show it on our desired OLED display. For this i would suggest you see my other tutorials as prerequisite Kepad Tutorial and OLED Display Tutorial

If you miss these tutorial you might not be able to do this.

Step 1: Working With the Oled DIsplay

Picture of Working With the Oled DIsplay

Including Library:

Both libraries below needs to be installed before you are able to continue with this instructable.
https://github.com/adafruit/Adafruit_SSD1306 (SSD1306 library)

https://github.com/adafruit/Adafruit_SSD1306 (GFX library)

The connections from the display:

VCC to arduino 5v GND to arduino GND SCL to arduino pin A5 SDA to arduino pin A4

Library Correction :

For Adafruit_SSD1306 Library:
Go to: C:\Program Files (x86)\Arduino\libraries\Adafruit_SSD1306 Open Adafruit_SSD1306.h (in a text editor like Notepad++ for example) Find and comment out the line: #define SSD1306_128_32 Uncomment the line: #define SSD1306_128_64 Open the ssd1306_128x64_i2c example in Arduino: Change address from 0x3D to 0x3C in void setup()

Step 2: Connecting the Keypad and Oled With Arduino

Picture of Connecting the Keypad and Oled With Arduino

Connecting keypad with aruduino digital pins:

Keypad Pin Connects to Arduino Pin

1 D9

2 D8

3 D7

4 D6

5 D5

6 D4

7 D3

8 D2

Connecting OLED with aruduino Analog pins:


VCC to arduino 5v GND to arduino GND SCL to arduino pin A5 SDA to arduino pin A4.

Step 3: Uploading Code...

you can find a more clear tutorial and also the code below the link:

Comments

About This Instructable

185views

7favorites

License:

Bio: Currently am studying in CSE...interested in A.I. and robotics...
More by SiamH:4X4 Keypad Input Display Through OLEDUsing Minim OSD in NAZA0.96 OLED Display With Arduino & Getting Text From Serial Monitor...
Add instructable to: