Go Down

Topic: 2.42" OLED SSD1309 with U8GLIB (Read 8190 times) previous topic - next topic

BoKKeR

#15
Mar 15, 2018, 06:49 pm Last Edit: Mar 15, 2018, 06:55 pm by BoKKeR
If anyone else has a problem to get this display to work with I2C I posted my own wiring on my blog: 2.42" I2C wiring

AndreK

So I bought one of those (2.4" display) :



I already have a project that works well with the U8X8_SSD1306_128X64 library and 0.96" displays. 

Removed R4 , jumped R3, R5

So far: I added the usual I2C Pullups and connected to an Arduino configures for the before mentioned 0.96"
also tried to pullup RES (2k2)  , pull up/down the DC (for address selection)

no success.
So I compiled it with RES support, and tried with , and without an 3k3 pullup for RES (to bring it up before arduino boots)

what else can I try ?



AndreK

So I bought one of those (2.4" display) :



I already have a project that works well with the U8X8_SSD1306_128X64 library and 0.96" displays.  

Removed R4 , jumped R3, R5

So far: I added the usual I2C Pullups and connected to an Arduino configures for the before mentioned 0.96"
also tried to pullup RES (2k2)  , pull up/down the DC (for address selection)

no success.
So I compiled it with RES support,(connected RES) and then tried with , and without an additional 3k3 pullup for RES (to bring it up before arduino boots)

what else can I try ?



68gt500

Thread is a little old, but for reference:

The  above 2.42" Oled with the jumpers set for I2C operation work when the reset  PIN is connected to the reset pin of the Arduino.

Used SH1109 driver in U8Gxx Lib and also dedicated SH1109 Libs

I2C:
R3 & R5 jumpered
R4 removed.

Also tested with ESP32. Just make sure to use "stickbreakers" updated wire - to avoid hangups.

Greets
Mike

chukovskij

#19
Nov 03, 2018, 08:29 pm Last Edit: Nov 03, 2018, 09:08 pm by chukovskij
@ 68gt500 

> The  above 2.42" Oled with the jumpers set for I2C operation work when the reset  PIN is connected to the reset pin of the Arduino.

Thanks, I've managed get it working, my config is slightly different:


My board is black one: Diymore 2,42" 128x64 OLED Display Module with I2C and SPI support
  • I2C: R4 smd resistor (4.6 kOhm) moved to R3
  • R5 jumpered
  • Reset pin connected to ESP8266 reset pin
  • driver settings:  U8G2_SSD1306_128X64_NONAME_1_HW_I2C u8g2(U8G2_R0, /* reset=*/ U8X8_PIN_NONE);


In my case display didn't respond (I thought it could be already dead) until I've connected reset pin to ESP8266 reset pin. If I disconnect it while it is working the screen turns off.
Also, somewhere was mentioned that instead of connecting reset pin to reset you could connect display reset pin to GND via resistor (10 kOhm or greater) and than to some digital pin of your board, so get reset pin low on startup and manually set pin high before lcd init cal)

Not sure what is better for R5: shortcut or resistor (4.6 kOhm similar to others), but shortcut works ok and it is easier to make.

Go Up