Display went out randomly 128x32 I2C OLED LCD SSD1306 [SOLVED]

i hooked up:

128x32 i2c oled lcd ssd1306

https://www.aliexpress.com/item/0-91-inch-128x32-iic-i2c-serial-blue-white-oled-lcd-display-diy-module-ssd1306-driver/32843196641.html?spm=a2g0s.9042311.0.0.4em9a4

to a 3.3 volt keyestudio arduino micro pro

https://www.aliexpress.com/item/keyestudio-pro-micro-atmega32u4-5v-16mhz-development-board-with-2-row-pin-header-for-leonardo-for/32824183077.html?spm=a2g0s.9042311.0.0.1jx1uc

i'm also using a 3.3 volt step down converter

https://www.aliexpress.com/item/1pc-dc-dc-12v-5v-to-3-3v-step-down-voltage-regulator-power-module-board-wholesale/32821338953.html?spm=a2g0s.9042311.0.0.1jx1uc

the oled screen
worked great right out of the box.
i just changed the code to change font format.
it displayed great over a two day period.
i even had it outside on a sunny day for a few hours.
it was displaying results just fine.

when i went back out to get everything the screen stopped displaying anything.
i had the whole setup powered with a 6 volt solar panel.
to ensure i was getting enough power to the screen
i even hooked it up to a variable voltage dc power supply and still no luck.

i didn't have to use any i2c scanner to get it started.

http://playground.arduino.cc/main/i2cscanner

i used the link above to troubleshoot it.
it said no i2c device found...

i didn't use any pull up resistors based on what i read on other posts.

i've confirmed that the
step down converter
3.3 volt arduino pro micro are in working order.
also 3.3 volts are being sent to the screen itself.
i've confirmed all this by measuring voltage via my multimeter.

i've confirmed that it's plugged into the correct wiring as shown in pictures.
ironically enough maybe i was seeing things
but i had the sda and scl wires switched backwards and it was working before.
the screen went out during this time.
i had bought two screens just in case and the 2nd one isn't working either.
i've tried both configurations:

  1. i had the sda and sdl wires backwards
  2. the sda and scl wires are in correction orientation.

can anyone assist as to what the issue may be?
thanks.

if anyone wants the cad models for using on their projects
the
3.3 volt step down converter
enclosure
bts7960 h-bridge motor driver
are here:

KEYESTUDIO PRO MICRO PINOUT.png

KEYESTUDIO PRO MICRO PINOUT.png

knightridar:
I WOULD DISAGREE

dual axis solar tracker via 4 photoresistors and dc motors code cycling issue - Programming Questions - Arduino Forum

WHEN YOU WORK ON A PC AT WORK 7 TO 8 HOURS A DAY AT WORK WITH A SMALL MONITOR

OR USE A SMALL SCREEN LIKE ON A CELL PHONE OR TABLET OR SMALL LAPTOP IT IS EASIER FOR ME TO READ AND PERHAPS OTHERS TOO.

YOU CAN DERIVE ANY OTHER OF YOUR ASSUMPTIONS THAT YOU MAY WANT TO.

Z O O M I N G is a feature implemented on most internet enabled devices. Use it.

Ok, so I wanted to try this on another Arduino just to see if something didn't fry on the Keyestudio 3.3V Arduino pro micro.

Based on what this post says about the MKR Vcc output current:
https://forum.arduino.cc/index.php?topic=396162.0

The current supplied by the Vcc pin should be enough to power the OLED screen.
I used the code below and powered the screen with the Vcc and ground pin of the Arduino MKR1000.
Have the MKR1000 hooked up to pc via USB port.

The code is working and the led screen is displaying properly.

#include <Arduino.h>
#include <U8g2lib.h>
#include <SPI.h>
#include <Wire.h>

U8G2_SSD1306_128X32_UNIVISION_F_HW_I2C u8g2(U8G2_R0); 

 void setup(void) {
   u8g2.begin();
}

  void loop(void) {
   u8g2.clearBuffer();					// clear the internal memory
   u8g2.setFont(u8g2_font_logisoso28_tr);  // choose a suitable font at https://github.com/olikraus/u8g2/wiki/fntlistall
   u8g2.drawStr(8,29,"MYBOTIC");	// write something to the internal memory
   u8g2.sendBuffer();					// transfer internal memory to the display
   delay(3000);

   u8g2.clearBuffer();         // clear the internal memory
   u8g2.setFont(u8g2_font_logisoso28_tr);  // choose a suitable font at https://github.com/olikraus/u8g2/wiki/fntlistall
   u8g2.drawStr(31,24,"your");  // write something to the internal memory
   u8g2.sendBuffer();         // transfer internal memory to the display
   delay(800);

   u8g2.clearBuffer();         // clear the internal memory
   u8g2.setFont(u8g2_font_logisoso28_tr);  // choose a suitable font at https://github.com/olikraus/u8g2/wiki/fntlistall
   u8g2.drawStr(10,29,"robotic");  // write something to the internal memory
   u8g2.sendBuffer();         // transfer internal memory to the display
   delay(800);

   u8g2.clearBuffer();         // clear the internal memory
   u8g2.setFont(u8g2_font_logisoso28_tr);  // choose a suitable font at https://github.com/olikraus/u8g2/wiki/fntlistall
   u8g2.drawStr(4,29,"solution");  // write something to the internal memory
   u8g2.sendBuffer();         // transfer internal memory to the display
   delay(2000);

   
}

Also I'm not trying to bother anyone intentionally by typing in caps.
Don't want to get banned if it seems to be against forum rules.
It really is nicer for me to read.

Can't zoom text on my laptop inside of Arduino 1.8.3 program on Windows 10 while I code. :slight_smile:
Maybe someone knows how other than magnifying glass Windows accessibility option on Windows 10.

Can't zoom text on my laptop inside of Arduino 1.8.3 program on Windows 10 while I code

In your Arduino IDE go to menu File->Setup (or configuration, my IDE is in Italian so I don't know the right English term used) and choose a bigger font size. If you like you can even choose your favorite text editor, just mark the "use external editor".

Ciao, Ale.

Thanks that helped. I will increase the font size in Arduino IDE.