1.3" 128x64 SPI OLED behaving weirdly!

Hello guys. Is this a bad oled display or SRAM issue? I have another 128x64 0.96" which works perfectly but is on I2C. Is this a SRAM issue? I used a leonardo and a nano (328p) and they have similar problems. Both Adafruit and U8glib libraries. Please check these videos and you will see what is the problem:

p.s. My 0.96" oled is white but a more yellowish white (compared to the 1.3" oled), is it just how the display is made?

Kind regards,
Ken

Please check these videos and you will see what is the problem:

Yes, a big problem. Youtube does not show anyting to me. Please attach a picture to the thread directly.

Oliver

olikraus:
Yes, a big problem. Youtube does not show anyting to me. Please attach a picture to the thread directly.

Oliver

Sorry stupid Youtube uploaded the videos in private. Fixed that now so you can watch it and tell me what you think.

Also i did some more static tests. Here is a pic of some 4x4 checkboxes (but centred) drawn:


It shows like a scan line everytime it refreshes. If it draws a page there is a chance it could be ok, but most of the times shows weird defects.
If i fill the whole screen with a box, the first column will show some pixels turning off, and then coming back on, just almost randomly everytime the program redraws.

Maybe there is an issue with the transfer speed.Did you use SW SPI with u8glib? Maybe SW SPI works better.

Oliver

I've tried both sw and hw spi, and it is the exact same problem. I've tried different u8glib setups from the list but i have the same problem with all of them (even the new heltec white setup which is for this exact oled). Plus tried both SSD1306 and SH1106 and SH1106 just shifts the lines since this oled has SSD1306 which less buffer.

Hi

Because the Adafruit Lib and U8glib show the same artefacts, i would say it is a hardware problem. Maybe the OLED has an issue.

Oliver

Thanks for your reply!

Small update! The reason i had this problem was that i was using 5V. Where most oled displays work normally at 5V it required 3.3V. Not sure if vcc or signalling but i bet is just signaling since it's SPI! I just powered by 5v arduino with 3.3v and works normally. HW and SW SPI.

ok, glad to read you solved the problem. Still this sounds strange to me.

Oliver