I am sorry if my explanation does not make much sense, this is a hobby I picked up recently, and this is my first post here.
I recently bought the oled display mentioned in the title. I changed/soldered the resistors needed for i2c operation and the display picture wise works fine with either U8g2 or the adafruit SSD1306 library. Whenever the display is connected my analog reads have a weird fluctuation. It's not all over the place as if I was reading a floating pin, but more like a supply voltage drop that messed with the ref. voltages. It doesn't even matter what kind of sketch I use and if it's an arduino nano, uno or a standalone 328p, the anomaly persists across all hardware and software as long as this thing is connected. With a Ssd1306 Oled everything works fine. Even a simple sketch that just outputs to serial the analog read of a 5v/3v regulated supply will have this issue.
If I use the display on a circuit with a standalone 328p powered by a 9v battery through a L7805, I get the same issue and regulator heats up significantly. If i reduce the contrast down to 20 of 255, it cools down but the voltage fluctuations remain. The circuit works perfectly with even two 1.3" oleds without any heat. It seems like the display draws way more current than it should.
Display in question;
link to the product & datasheet
Example:
Arduino nano powered through a usb wall wart, running a sketch that only displays a bmp covering half of the screen
Oled display, connected to A4 (4k7 pullup), A5 (4k7 pullup), 5v, gnd --> correctly displaying image
If I "measure" the 5v voltage of the said arduino on another unit connected to a different supply (Arduino grounds connected), i get the following results:
Note the integer values dropping to 879 in intervals
Analog Read = 963 Voltage = 4.70 V
Analog Read = 963 Voltage = 4.70 V
Analog Read = 895 Voltage = 4.37 V
Analog Read = 895 Voltage = 4.37 V
Analog Read = 962 Voltage = 4.70 V
Analog Read = 962 Voltage = 4.70 V
Analog Read = 919 Voltage = 4.49 V
Analog Read = 919 Voltage = 4.49 V
Analog Read = 956 Voltage = 4.67 V
Analog Read = 956 Voltage = 4.67 V
Analog Read = 960 Voltage = 4.69 V
Analog Read = 960 Voltage = 4.69 V
Analog Read = 879 Voltage = 4.29 V
Analog Read = 879 Voltage = 4.29 V
Analog Read = 959 Voltage = 4.68 V
Analog Read = 959 Voltage = 4.68 V
Analog Read = 963 Voltage = 4.70 V
Analog Read = 963 Voltage = 4.70 V
Analog Read = 893 Voltage = 4.36 V
Analog Read = 893 Voltage = 4.36 V
Analog Read = 956 Voltage = 4.67 V
Analog Read = 956 Voltage = 4.67 V
Analog Read = 963 Voltage = 4.70 V
Analog Read = 963 Voltage = 4.70 V
Analog Read = 952 Voltage = 4.65 V
Analog Read = 952 Voltage = 4.65 V
Analog Read = 957 Voltage = 4.67 V
Analog Read = 957 Voltage = 4.67 V
Analog Read = 963 Voltage = 4.70 V
Analog Read = 963 Voltage = 4.70 V
Analog Read = 955 Voltage = 4.66 V
Analog Read = 955 Voltage = 4.66 V
Analog Read = 959 Voltage = 4.68 V
Analog Read = 959 Voltage = 4.68 V
Analog Read = 962 Voltage = 4.70 V
Analog Read = 962 Voltage = 4.70 V
Analog Read = 957 Voltage = 4.67 V
Analog Read = 957 Voltage = 4.67 V
Analog Read = 962 Voltage = 4.70 V
Analog Read = 962 Voltage = 4.70 V
Analog Read = 963 Voltage = 4.70 V
Analog Read = 963 Voltage = 4.70 V
Analog Read = 879 Voltage = 4.29 V
Analog Read = 879 Voltage = 4.29 V
Analog Read = 958 Voltage = 4.68 V
Analog Read = 958 Voltage = 4.68 V
Analog Read = 961 Voltage = 4.69 V
Analog Read = 961 Voltage = 4.69 V
Analog Read = 957 Voltage = 4.67 V
Analog Read = 957 Voltage = 4.67 V
Analog Read = 959 Voltage = 4.68 V
Alternatively, if I use analog read on the nano with the oled and measure the other arduino's 3v3, I get the inverse result (below), but if I measure the 5v pin, I get a nice steady Analog Read of 1023 all the way.
Analog Read = 712 Voltage = 3.48 V
Analog Read = 712 Voltage = 3.48 V
Analog Read = 709 Voltage = 3.46 V
Analog Read = 709 Voltage = 3.46 V
Analog Read = 711 Voltage = 3.47 V
Analog Read = 711 Voltage = 3.47 V
Analog Read = 709 Voltage = 3.46 V
Analog Read = 709 Voltage = 3.46 V
Analog Read = 717 Voltage = 3.50 V
Analog Read = 717 Voltage = 3.50 V
Analog Read = 715 Voltage = 3.49 V
Analog Read = 715 Voltage = 3.49 V
Analog Read = 763 Voltage = 3.73 V
Analog Read = 763 Voltage = 3.73 V
Analog Read = 709 Voltage = 3.46 V
Analog Read = 709 Voltage = 3.46 V
Analog Read = 714 Voltage = 3.49 V
Analog Read = 714 Voltage = 3.49 V
Analog Read = 776 Voltage = 3.79 V
Analog Read = 776 Voltage = 3.79 V
Analog Read = 736 Voltage = 3.59 V
Analog Read = 736 Voltage = 3.59 V
Analog Read = 775 Voltage = 3.78 V
Analog Read = 775 Voltage = 3.78 V
Analog Read = 774 Voltage = 3.78 V
Analog Read = 774 Voltage = 3.78 V
Analog Read = 768 Voltage = 3.75 V
Analog Read = 768 Voltage = 3.75 V
Analog Read = 709 Voltage = 3.46 V
Analog Read = 709 Voltage = 3.46 V
Analog Read = 709 Voltage = 3.46 V
Analog Read = 709 Voltage = 3.46 V
Analog Read = 711 Voltage = 3.47 V
Analog Read = 711 Voltage = 3.47 V
I am unfortunately too ignorant to figure out whats going on and would be really thankful for some help.



