printer-monitor icon indicating copy to clipboard operation
printer-monitor copied to clipboard

Screen does not work!

Open ISAndreiva opened this issue 6 years ago • 65 comments

Hello! The screen just doesn't work tried different pins added pull-up resistors 5v or 3.3v But if i use the adrafruit ssd1306 library it works. Any tips? TIA

ISAndreiva avatar Nov 04 '18 20:11 ISAndreiva

The project uses the ssd1306 library.

Qrome avatar Nov 05 '18 02:11 Qrome

I know but that library does not work with my oled

ISAndreiva avatar Nov 05 '18 06:11 ISAndreiva

Very odd, I have never seen a display that hasn't worked with this configuration. Not sure what to say.

Qrome avatar Nov 05 '18 06:11 Qrome

Might be because my display is blue with yellow instead of white? Or that it uses sck instead of scl? I believe that is not case but who knows ?

ISAndreiva avatar Nov 05 '18 07:11 ISAndreiva

How many pins are on your display?

Qrome avatar Nov 05 '18 13:11 Qrome

It is i2c also to answer your question it has 2 data pins and 2 power pins

ISAndreiva avatar Nov 05 '18 14:11 ISAndreiva

Yeah, just wanted to make sure. I have had others with the SPI try to use this. I have 2 of the blue and yellow displays though my pin is scl -- not sure why that would make a difference. Is it possible your board has a different address?

The default setting in the Settings.h file is:

const int I2C_DISPLAY_ADDRESS = 0x3c;

Maybe your board has a different display address.

Qrome avatar Nov 05 '18 14:11 Qrome

I tried 0x3d too and if i remember right it has the address 0x3c as i scaned it

ISAndreiva avatar Nov 05 '18 18:11 ISAndreiva

Any idea?

ISAndreiva avatar Nov 06 '18 17:11 ISAndreiva

Sorry, I have given you my ideas. Thousands of these have been made. I personally have made about 20 -- no issues. Maybe try another screen or another Wemos. Also, I have made some with the blue and yellow screens as well. No issues.

Qrome avatar Nov 06 '18 17:11 Qrome

Yeah thanks i do not have another wemos and I tried with every screen I have thanks for the given time

ISAndreiva avatar Nov 06 '18 19:11 ISAndreiva

For me it does not work as well. If I use the example SSD1306ClockDemo it works fine with the adress 0x3c and pins D2 and D5. But if I upload the printermonitor the screen does not update.

What are the library versions when this is known to work?

FischOderAal avatar Nov 12 '18 17:11 FischOderAal

have you tried D1 instead of D5? worked on my board.

Bazeone avatar Dec 04 '18 08:12 Bazeone

Tried that

ISAndreiva avatar Dec 04 '18 09:12 ISAndreiva

Hi have this problem. i change D5 for D1, and no work... :( But i only connect Red and Black wire, and display no work. is normal this? i see this display are shit..

Niil78 avatar Dec 10 '18 22:12 Niil78

Make sure you are using SP8266_and_ESP32_Oled_Driver_for_SSD1306_display version 4.

Qrome avatar Dec 15 '18 16:12 Qrome

Useing that one thanks anyway

ISAndreiva avatar Dec 15 '18 20:12 ISAndreiva

same Problem, everything else works by now but not the Display I tried the i2c scanner to see if my screen has a different address... but no, x 3c is correct... The bundle I bought contained 10 Diyplays, checked 3 and non of them worked. With the normal Adafruit and SSD1306 demo i get the demo loop working first try U_u

Tig3rch3n avatar Dec 16 '18 12:12 Tig3rch3n

I am willing to pay shipping to test one of these displays. First some questions.

Did you wire it up as shown in the wire diagram on the readme.md file? I know that seems silly, but you would be surprised how often this happens.

If there are displays out there that do not work with the drivers we are using, I would like to test one. I have yet to see one not work personally unless it was defective, cracked.

Qrome avatar Dec 16 '18 19:12 Qrome

I'm located in Berlin/Germany I'll send you one

Tig3rch3n avatar Dec 16 '18 22:12 Tig3rch3n

Hmmm, might be cheaper if you can send me a link to the ones you bought.

Qrome avatar Dec 16 '18 22:12 Qrome

I got these A5 10pcs White color 128X64 OLED LCD LED Display Module for arduino 0.96" I2C IIC 4pin Serial new original 1 https://s.click.aliexpress.com/e/00Ba9Lb

Tig3rch3n avatar Dec 17 '18 07:12 Tig3rch3n

Ok, I ordered one. Could you post a photo of your wiring and board for me?

Qrome avatar Dec 17 '18 13:12 Qrome

I have exactly the same problem. Started off using D1 and D2 and got it to work. Then I updated with the new precompiled BIN and the screen went black:( Then I deleted all flash and removed to the D5 pin instead - but this does not work either. I can't figure it out:(

jascdk avatar Dec 23 '18 16:12 jascdk

Hello! The screen just doesn't work tried different pins added pull-up resistors 5v or 3.3v But if i use the adrafruit ssd1306 library it works. Any tips? TIA

I think I got the trick now:) At least it worked for me the other day! Download the ESP Easy Firmware form github and extract the folder. Then download all the files for Qrome and put the right compiled Binary (for your screen type) over in the folder you extracted from ESP Easy.

Then connect the Qrome to the computer and open the ESP8266flash exe file . It should select the right com port, and then you select the compiled binary in the lowest drop down menu.

Then hit flash and it should work.

It looks like I had trouble with getting the right libraries through Arduino IDE:(

This method worked for me - let me hear how it works for you:)

jascdk avatar Dec 27 '18 11:12 jascdk

Hi All. I will be building this as soon as I get back from summer vacation in a week or so. I have a couple of d1 mini's and an oled or two lying around. If I may offer my 2c of advice, I know a lot of folks have moved away from arduino ide to platform io, myself included. From what i have read on other projects, the arduino ide can be somewhat shaky with some esp8266 libs. Also, PIO seems to be a bit more efficient in many cases. May be worth looking into. In any case, I plan to port this to platformio. Not too hard to do...

lekrom avatar Dec 27 '18 11:12 lekrom

@jascdk -- thanks for the update. I suspected it was coming down to incorrect libraries. I am going to consider packaging the required libraries with the release. Thanks for the update.

Qrome avatar Dec 27 '18 14:12 Qrome

I did some testing because i have the same problem oled 1306 not working. Did the same testing and oled is working with SSD1306ClockDemo it works fine with the adress 0x3c and pins D2 and D5 But i did have an old printermonitor still working version 2.1 i tried the screen on that version and it worked. I could not compile that version anymoe because then i did get this error with the timeclient seems a library problem

wesselah avatar Jan 04 '19 14:01 wesselah

did use the workarround jascdk did and that did work for me so just used the bin file. Had to rename the bin file to get it working with the flash.cmd file from espeasy so it must be a library issue. I tried to go backt to the 2.1 version but that did not compile anymore big issues with the timeclient lib. Tried 2.2 and 2.2a and that compiled but oled not working and wifimager did not start anymore. But i have to say that there where a lot of arduino updates and that could be the problem and had to go back to an older json lib to get it compile anyway. so again thanks for youre work but the espeasy way maybe should be the way foreward.

wesselah avatar Jan 05 '19 10:01 wesselah

Please provide the error messages you get. That will be a HUGE help.

Qrome avatar Jan 06 '19 19:01 Qrome