I2C OLED Pinout Nightmare

A project log for ESP IoT Controller

A controller for all your IoT needs.

JeremiasJeremias 08/28/2017 at 08:262 Comments

I have now ordered the OLEDs from three different vendors. Two of three times they had the "right" pinout (the pinout I used for the PCB design). The other time the VCC and GND pins were swapped. On the first picture you can see how I fixed this problem.

The last displays I have ordered, came in these nice cases. I have to build a project which fits in there. (thinking of an ATtiny and a coin cell, ...)


davedarko wrote 08/28/2017 at 10:25 point

It might be of interest to you to place another header on the board, where you can solder in the display upside down and fix it in software?

  Are you sure? yes | no

Jeremias wrote 08/28/2017 at 14:02 point

Great idea, with this method I could also use the same mounting holes. The OLED library I use has a function to flip the display, so this would be very easy.

  Are you sure? yes | no