Arduino Leonardo Pro Micro With 128X64 OLED Display Tutorial On Breadboard

Teacher
Vivek Gupta
Vivek Gupta
Role : Writing free tutorials in free time
  • Website : http://vsgupta.in/
  • Experience : 5+ Years
  • Specialist in : IoT, NLP, Machine Learning, Chatbots, Voice Assistants, Hardware Engineering
Read More

Wiring up Arduino Leonardo Pro Micro With 128X64 OLED Display on Breadboard

Introduction

In this tutorial, I am going to explain step by step procedure for wiring up I2C 128x64 OLED display with Arduino Pro Micro. If you are seeing this directly, please start from beginning here. Keep the below circuit diagram handy. And tally it with your breadboard circuit on each step. It will help you to avoid any error while making the breadboard circuit.

arduino-leonardo-128x64-oled-i2c-circuit-diagram

arduino-leonardo-128x64-oled-i2c-circuit-diagram

Just follow the "blue dots" in the images along with the instructions and make the breadboard circuit accordingly. So let's begin with it.

  1. Take both of your half sized breadboard an join them.

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (1)Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (1)

2. After joining them, it will look something like this:

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (2)

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (2)

3. Now, we will wire up the breadboard. Connect the terminals of right breadboard as shown in the image below. We are doing this because we will be regulating +5V power supply coming from our Arduino Pro Micro so that other components can use that power.

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (3)

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (3)

4. Now connect the right rail of breadboard to the main terminal of breadboard as shown below. We are extending power supply to the right side of the breadboard.

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (4)

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (4)

5. Similarly extend the terminal of the breadboard to the right rail of the right breadboard as shown in the image below:

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (5)

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (5)

6. Now place your arduino on the right breadboard as shown in the below image. Be careful so as the numbers on the breadboard are matching your circuit.

The reason is that you can then tally your breadboard circuit with the images if your circuit is not working properly.

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (6)

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (6)

7. Now, connect the VCC pin of Arduino Leonardo Pro micro to the right VCC rail of the right breadboard and GND pin of Arduino Leonardo Pro Micro to right GND rail of the right breadboard.

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (7)

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (7)

8. Now carefully place your "128x64 I2C OLED display" on the left breadboard as shown in the below image.

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (8)

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (8)

9. Now extend the power supply of right breadboard to the left breadboard by connecting the rails of the breadboard as shown below.

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (9)

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (9)

10. Now connect the VCC pin of OLED display to the VCC rail of breadboard and GND pin of OLED display to GND rail of breadboard as shown below.

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (10)

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (10)

11. Now finally connect the SCL pin of OLED display to pin no 3 (which is SCL pin of Arduino Leonardo Pro Micro) of Arduino Pro Leonardo Micro and the SDA pin of OLED display to pin no 2 of (which is SDA pin of Arduino Leonardo Pro Micro) of Arduino Pro Leonardo Micro as shown in the below image.

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (11)

Arduino-Leonardo-Pro-Micro-With-128X64-OLED-Display-Tutorial-On-Breadboard (11)

Now finally your circuit is complete. In the next lesson, we will setup the graphics library in arduino IDE and then program it to show graphics on our OLED display.

Please login to get access to the quiz
(Next Lesson) Adding the Adafruit OLED library in Arduino IDE and programming Arduino Leonardo Pro Micro Part-1
Back to Arduino Leonardo Pro Micro With 128X64 OLED Display Tutorial On Breadboard

No Comments

Post a Reply