JosephHewitt / wardriver_rev3

A portable ESP32-based WiFi/Bluetooth scanner for Wigle.net.
https://wardriver.uk
GNU General Public License v3.0
221 stars 19 forks source link

Text doesn't seem aligned on the OLED screen #144

Closed hyuma78 closed 2 months ago

hyuma78 commented 5 months ago

Hi, I just built my own wardriver, but I have some strange issue. When the texts appears on my oled 0.91 128x32px it seems like not aligned as you can see on the screenshot that I have attached here. I resoldered, change wires, test continuity between pads of the OLED but no luck. I also repogrammed 2-3 times the ESP32 but same result. I also tested the I2C protocol of the screen with an arduino sketch and it's "3c". I tried to replace the screen but I have the same issue. At this point I need your help to try to troubleshooting this. Thanks in advance!

IMG_20240126_144445 IMG_20240126_144511 IMG_20240126_144513

JosephHewitt commented 5 months ago

Hi,

I've not seen this before so I don't really have many suggestions. You could try installing from binary instead of compiling yourself (if you haven't already done so) to rule out any software issues caused by wrong libraries etc.

Have you already tried a different ESP32? Perhaps there is a fault with the one you are using.

hyuma78 commented 5 months ago

No, I don't have any other ESP32. Except for that problem, the rest seems to work, do you think it depends on some library that I installed? I'm using Arduino IDE 2.2.1, and I didn't tried by compiling myself yet.

The library I'm using for the screen are:

Adafruit GFX Library 1.11.9 Adafruit SSD1306 2.5.9

Seems like a sort of "sync" problem?

JosephHewitt commented 5 months ago

If you install from binary, it will rule out any problems caused by libraries etc.

My gut feeling is this is either a faulty ESP32 or a bad batch of LCDs.

hyuma78 commented 5 months ago

I've done a really insane thing :D ... I basically hot air desoldered every components of the esp32 (resistors, ic, etc...) and resoldered all together and now it seems that there are no problems, I also edited the code to works with 128x64 display. I will keep you updated if this issue is resolved

JosephHewitt commented 2 months ago

Hi,

Thanks for informing us on how you fixed the issue. Please feel free to reopen this issue if the problem comes back, but I am assuming this is fixed now based on your last comment.