-->
Page 1 of 1

a china old 128x64 display to work with an esp8266 e12

PostPosted: Fri Nov 25, 2016 3:58 pm
by Lxx33
My ESP8266 E12 (CH340G) had arrived including a 126x64 Oled 0.96 IIC.

I can only get it the display to work with the ACROBOTIC library. With the adafruit (with 0x3C instead of 0X3D) won't make it work. It will upload the file, but the display will not light up.

I really would love to have the u8glib library working on it.
The u8glib example code ask to uncomment one of the instructor calls. The SSD 1306 have 3 options.

//U8GLIB_SSD1306_128X64 u8g(13, 11, 10, 9); // SW SPI Com: SCK = 13, MOSI = 11, CS = 10, A0 = 9
//U8GLIB_SSD1306_128X64 u8g(10, 9); // HW SPI Com: CS = 10, A0 = 9 (Hardware Pins are SCK = 13 and MOSI = 11)
//U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_NONE); // I2C / TWI

I tried all and get a good upload the the board (also with the adafruit libraries, but still not display.

Does somebody have some tips what I can try. I believe it's connected properly cause the Acrobotic library does do the trick.

P.S. I2C scanner will show indeed 0x3C

Re: a china old 128x64 display to work with an esp8266 e12

PostPosted: Tue Nov 29, 2016 12:01 pm
by mrburnette
I have a few projects using that display:
https://www.hackster.io/rayburne/projects

In my experience, you really should try and keep the graphic library simple. In my projects, I avoid those overly complex libraries.

Ray