Qrome / Pi-hole-Monitor

ESP8266 and OLED Pi-hole Monitor
MIT License
78 stars 16 forks source link

Cant ged OLED display to work #11

Closed kruu51 closed 3 years ago

kruu51 commented 3 years ago

I've done everything as in description. I have 0,96 and 1,3 OLED, tried them. None of them gives me nothign.

What am I missing?

Displays are black, and on sign of anything on them.

Thanks

Qrome commented 3 years ago

Can you share some photos of your wiring? I assume you have double checked all that. I have not tested this, but someone mentioned to me the other day that they had to go to a slightly older OLED library for the 1.3 OLED. Maybe see if you can do that.

Nandox7 commented 3 years ago

@kruu51 what version of the OLED library are you using?

kruu51 commented 3 years ago

Yes double checked the wiring.

I have this installed: https://github.com/stblassitude/Adafruit_SSD1306_Wemos_OLED https://github.com/adafruit/Adafruit_SSD1306 https://github.com/remoteme/esp8266-OLED https://github.com/durydevelop/arduino-lib-oled

How to find out I2C address of the display?

https://www.dropbox.com/s/6ipxyx0lztk1obg/IMG_20210405_153331.jpg?dl=0 https://www.dropbox.com/s/ub1tmfkxb0h3t8t/IMG_20210405_153341.jpg?dl=0 https://www.dropbox.com/s/jg05mw2brf3208b/IMG_20210405_153720.jpg?dl=0

And also this is what I cant find:

**Set 1M SPIFFS** -- this project uses SPIFFS for saving and reading configuration settings. If you don't do this, you will get a blank screen after uploading. If you get a blank screen after loading -- check to see if you have 1M SPIFFS set in the Arduino IDE tools menu.

Arduino is 1.8.13 version.

kruu51 commented 3 years ago

I have flashed pre-compiled firmware from a binary file "piholemonitor.ino.d1_mini_SSH1106_v1.3.bin", and te screen works. When try to configure it it ask for password which I dont know, and it is not mine that I flashed with Arduino.

Again tried flashing with Arduino, and screen not working again.

Find it (admin/password) and did it that way. Flashed pre-compiled and it all works now

Qrome commented 3 years ago

Make sure you are using the version of the esp8266 Core platform version 2.5.2 -- as mentioned in the readme. Then you will see the 1M SPIFFS -- I have a feeling you are not running the correct versions as outlined in the readme.

Qrome commented 3 years ago

Also, this is the OLED library you should be using: https://github.com/ThingPulse/esp8266-oled-ssd1306

This is also mentioned in the Readme file.

Qrome commented 3 years ago

Update, you must use the 4.1.0 library https://github.com/ThingPulse/esp8266-oled-ssd1306/releases/tag/4.1.0 (version 4.1.0)