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

i hooked up:

128x32 i2c oled lcd ssd1306

to a 3.3 volt keyestudio arduino micro pro

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:

https://grabcad.com/has-2/projects

KEYESTUDIO PRO MICRO PINOUT.png

knightridar:
I WOULD DISAGREE

http://forum.arduino.cc/index.php?topic=485544.new;topicseen#new

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:

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.