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.
Just follow the "blue dots" in the images along with the instructions and make the breadboard circuit accordingly. So let's begin with it.
- Take both of your half sized breadboard an join them.
2. After joining them, it will look something like this:
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.
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.
5. Similarly extend the terminal of the breadboard to the right rail of the right breadboard as shown in the image below:
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.
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.
8. Now carefully place your "128x64 I2C OLED display" on the left breadboard as shown in the below image.
9. Now extend the power supply of right breadboard to the left breadboard by connecting the rails of the breadboard as shown below.
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.
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.
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.