# Black screen SSD1306 with Pro Micro

**URL:** <https://forum.arduino.cc/t/black-screen-ssd1306-with-pro-micro/1325156>\
**Category:** Displays\
**Created:** [November 24, 2024, 12:43am UTC](https://forum.arduino.cc/t/black-screen-ssd1306-with-pro-micro/1325156 "2024-11-24T00:43:29Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![samuelstud](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/samuelstud/32/1107500_2.png) [@samuelstud](https://forum.arduino.cc/u/samuelstud)\
**Post date:** [November 24, 2024, 12:43am UTC](https://forum.arduino.cc/t/black-screen-ssd1306-with-pro-micro/1325156/1 "2024-11-24T00:43:29Z")

</div>

I’m trying to get my Oled running on my Pro Micro, but unfortunately, the screen stays black. In order to test if my allocation was right I ran i2c scanner, which returned i2c found on 0x3C.

Bringing that knowledge back to my code, it still shows a black screen, while not getting any compile errors. Screen is connected to pin 2 and 3 as needed with the micro pro.

This is the code;

```arduino

#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <Wire.h>

#define SCREEN_WIDTH 128
#define SCREEN_HEIGHT 64

Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);

void setup() {
  

  if (!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) {
    while (true) {} 
  }

  display.clearDisplay();
  display.setTextSize(1);
  display.setTextColor(SSD1306_WHITE);
  display.setCursor(0, 0);
  display.print("OLED Test!");
  display.display();
}

void loop() {
  // Empty
}

```

---

<div class="post-metadata">

**Author:** ![van\_der\_decken](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/van_der_decken/32/1006976_2.png) [@van\_der\_decken](https://forum.arduino.cc/u/van_der_decken)\
**Post date:** [November 24, 2024, 12:53am UTC](https://forum.arduino.cc/t/black-screen-ssd1306-with-pro-micro/1325156/2 "2024-11-24T00:53:31Z")

</div>

Used your sketch with no modifications on a 5V Pro Micro with a 0.96" OLED/SSD1306 hooked up to the pins on the Pro Micro marked 2 (SDA) and 3 (SCL). Compiled and uploaded sketch, display showed "OLED Test!".

---

<div class="post-metadata">

**Author:** ![samuelstud](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/samuelstud/32/1107500_2.png) [@samuelstud](https://forum.arduino.cc/u/samuelstud)\
**Post date:** [November 24, 2024, 1:09am UTC](https://forum.arduino.cc/t/black-screen-ssd1306-with-pro-micro/1325156/3 "2024-11-24T01:09:05Z")

</div>

Interesting, guess it’s a faulty screen then…thanks for helping.

---

<div class="post-metadata">

**Author:** ![LarryD](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/larryd/32/215550_2.png) [@LarryD](https://forum.arduino.cc/u/LarryD)\
**Post date:** [November 24, 2024, 1:18am UTC](https://forum.arduino.cc/t/black-screen-ssd1306-with-pro-micro/1325156/4 "2024-11-24T01:18:22Z")

</div>

- **Always** show us good images of **your** ‘actual’ wiring.

---

<div class="post-metadata">

**Author:** ![samuelstud](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/samuelstud/32/1107500_2.png) [@samuelstud](https://forum.arduino.cc/u/samuelstud)\
**Post date:** [November 24, 2024, 7:55am UTC](https://forum.arduino.cc/t/black-screen-ssd1306-with-pro-micro/1325156/5 "2024-11-24T07:55:26Z")

</div>

Sorry about, photos included.

 ![IMG_2928](https://europe1.discourse-cdn.com/arduino/original/4X/b/6/b/b6ba05c4617ea266aa793571cb76df24a20f017e.jpeg)  
 ![IMG_2927](https://europe1.discourse-cdn.com/arduino/original/4X/c/1/2/c12c1b5f3411dce733f86790819613e4ef4528e9.jpeg)

---

<div class="post-metadata">

**Author:** ![Grumpy\_Mike](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/grumpy_mike/32/213521_2.png) [@Grumpy\_Mike](https://forum.arduino.cc/u/Grumpy_Mike)\
**Post date:** [November 24, 2024, 8:15am UTC](https://forum.arduino.cc/t/black-screen-ssd1306-with-pro-micro/1325156/6 "2024-11-24T08:15:05Z")

</div>

Those sorts of OLED displays should be powered by 3V3 and controlled by 3V3 signals. With the I2C lines pulling up to a 3V3 with a 1K8 resistor.

Not sure if they can take 5V without damage.

By the way pictures with wires disappearing out of frame and then back into frame are not thr best way to show wiring.

Best to show a schematic.

---

<div class="post-metadata">

**Author:** ![samuelstud](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/samuelstud/32/1107500_2.png) [@samuelstud](https://forum.arduino.cc/u/samuelstud)\
**Post date:** [November 24, 2024, 9:06am UTC](https://forum.arduino.cc/t/black-screen-ssd1306-with-pro-micro/1325156/7 "2024-11-24T09:06:48Z")

</div>

I’m really sorry. I got delivered a wrong Oled, it’s an sh1106, so after using the u8g2 library, it came alive. Aa this is a test doesn’t matter for now. Again, sorry for this here. I’m just starting out and my knowledge is not there yet. I did order the ssd1603 screen, but my inexperience can’t tell them apart yet.

---

<div class="post-metadata">

**Author:** ![PaulRB](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paulrb/32/216330_2.png) [@PaulRB](https://forum.arduino.cc/u/PaulRB)\
**Post date:** [November 24, 2024, 9:23am UTC](https://forum.arduino.cc/t/black-screen-ssd1306-with-pro-micro/1325156/8 "2024-11-24T09:23:11Z")

</div>

![Screenshot_20241124-092032-575](https://europe1.discourse-cdn.com/arduino/original/4X/c/8/3/c83a60ecc331a8b84cc4b81b592239456e2edf21.png)  
You need to solder the header pins to the Pro Micro. Push the Pro Micro firmly down onto them so they stick up above the PCB, and then solder each pin like this:  
 ![Soldering_Results](https://europe1.discourse-cdn.com/arduino/original/4X/5/b/1/5b10bedf8c87561cb9180cc65799b7c1580229e0.jpeg)

> [@samuelstud](#):
>
> it’s an sh1106, so after using the u8g2 library, it came alive

You are very lucky that worked without soldering!

---

<div class="post-metadata">

**Author:** ![samuelstud](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/samuelstud/32/1107500_2.png) [@samuelstud](https://forum.arduino.cc/u/samuelstud)\
**Post date:** [November 24, 2024, 4:45pm UTC](https://forum.arduino.cc/t/black-screen-ssd1306-with-pro-micro/1325156/9 "2024-11-24T16:45:41Z")

</div>

Good to say, I feel stupid. I have only soldered cables until now, so I’m really the new kid on the block. Now that it’s soldered, it indeeds reacts better to all my knobs, switches etc etc. Apreciate the feedback.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 23, 2025, 4:46pm UTC](https://forum.arduino.cc/t/black-screen-ssd1306-with-pro-micro/1325156/10 "2025-05-23T16:46:14Z")

</div>

Closed on May 23, 2025, 4:46pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
