How to use Arduino Pro mini pin 2 3 4 5

Hi!

Where can I find some examples how to use an OLED .96" with pins VCC, GND, SCL and SDA
to pin 2 3 4 and 5 on Pro mini?

Thanks

Picture is for reference that it is possible

oledonromini.png

You will not find any examples. It is a stupid idea.

Since you want to produce a mechanically robust connection, I suggest that you remove the existing 4-pin male header (which will be difficult to unsolder).

Then make your VCC, GND, SCL and SDA connections directly with some stout solid wires.
Note that SDA, SCL, VCC, GND are physically close to each other.

If you used a proper Chinese Uno clone they often have the I2C pins in a neat group of holes.
The modules with round mounting holes have the pins in a "more convenient" SDA, SCL, VCC, GND order.
Your module seems to have elongated mounting slots with VCC, GND swapped..

David.

Well, it works when using pin 2 3 4 5 on a Pro mini. But not my work.
I just want to replicate that and how to do that.

I forgot to write that the wires you see in the pictures is coming from a smart battery with GND, VCC, SDA and scl. And the data from battery is displayed.

oled.png