u8glib
u8glib copied to clipboard
1.3" OLED skipping lines
Hi there - bought an I2C SH1106 1.3" OLED from Creatron Inc in Canada (only OLED they sell). It worked fine so I removed it for a while. When I next hooked it up it seems to be skipping every other line. Am using Arduino IDE 1.6.7.
A 0.96" OLED substituted in it's place works perfectly, no skipped lines.
Here's a link: https://www.creatroninc.com/product/128x64-i2c-oled-display/
Anything I should check?
Hi,
I have the same issue with a SSD 0.96: it 128x64 using hardware SPI. Another similar module from another seller is working perfectly.
Initialised with:
U8GLIB_SSD1306_128X64 u8g(8, 9, 10);
Here is the image given:
A little search gave me this link: http://forum.espruino.com/conversations/269330/
Several tests showed me that the even lines are those not displayed. eg: u8g.drawHLine(0,34,128); // is not displayed
I cannont know if it is a lib issue or a module issue.
For me it is a harware issue: the lower left part of the module is damaged. Same as this post: https://forums.adafruit.com/viewtopic.php?f=47&t=34422
Thanks for that, flav1972. I'm in the same boat as you - I checked the display carefully and there is damage in the lower left so I suspect I, too, have severed traces.
hmm... so i guess this not a lib problem and the issue can be closed.
for me you can close
I think so as it did work before. I’ve ordered another so will know for sure when it arrives.
Thanks
Derek
From: olikraus [mailto:[email protected]] Sent: Sunday, February 7, 2016 12:36 PM To: olikraus/u8glib [email protected] Cc: derekr27 [email protected] Subject: Re: [u8glib] 1.3" OLED skipping lines (#385)
hmm... so i guess this not a lib problem and the issue can be closed.
— Reply to this email directly or view it on GitHub https://github.com/olikraus/u8glib/issues/385#issuecomment-181045305 .
Try to replace the sh1106 constructor with some ssd1306 constructor. I experienced 2 pixels shifting on the x axis, and replacing sh1106 woth ssd1306 worked for me
I have same issue. I have checked library for height and used around 4-5 other libraries other than adafruit. should I believe my cheap module to be faulty ? or coding problem, If i remember correctly, it worked when i bought it few months ago attached are adafruit and U8 library demos
@derekr27
Any updates on oled
Can you try this with u8g2? Better also create an issue there.
thanks, sure thing, rightaway
This problem usually occurs if the display is broken, especially the bottom part (where there is no screen but glass). If anyone have a solution, do not hesitate to share with us!
all the modules in the pictures are broken. => Hardware issue (the connections are transparent in the glass).
Guys, it's not broken. I just picked up my first OLED and it was skipping lines. Tutorials were telling me the library needs to be edited, but that's old pre-update information. Here's the real problem...
The Adafruit example sketch for 128x64 is broken. Use the 128x32 example sketch and change:
#define SCREEN_HEIGHT 32
to #define SCREEN_HEIGHT 64
and it works fine.
I really hope I'm not the first person to figure this out... People have probably been throwing away perfectly good OLEDs.
Mine was broken. And even new failed shortly. Horrible option to use in audio projects due to internal switching creating lot of noise. 2 bad experiences. Ill srick with 16x2 and nokia for now
On Thu, Jan 24, 2019, 9:52 PM jians5 <[email protected] wrote:
Guys, it's not broken. I just picked up my first OLED and it was skipping lines. Tutorials were telling me the library needs to be edited, but that's old pre-update information. Here's the real problem...
The Adafruit example sketch for 128x64 is broken. Use the 128x32 example sketch and change:
define SCREEN_HEIGHT 64 to #define SCREEN_HEIGHT 64 and it works fine.
I really hope I'm not the first person to figure this out and people have been throwing away perfectly good OLEDs.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/olikraus/u8glib/issues/385#issuecomment-457271237, or mute the thread https://github.com/notifications/unsubscribe-auth/AYhnd3vjCtIoSQfVTGTnDKKfPtM8IdmOks5vGeTkgaJpZM4HPoyZ .
OK - Just wanted to leave it here for future visitors looking for solutions.
BTW, Were you aware that you can put a 10k pullup resistor each the SCL and SDA ports to stabilize them? No more screen locking!
Indeed its broken I also fioud out the cause of mine skipping lines and it happened without me noticing after trying to fit the screen in a 3d printed case that it stuck into and i pulled it with force.
Yep, three years later and I've finally come across a broken one skipping lines. Not sure what I did to it, but replacing it fixed it without modifying the code.
However, even now, uploading the 128x64 example sketch causes my new OLEDs to skip lines. Maybe it's the nature of the cheap screens I have, but they need to be set to address 0x3C to work properly. The 128x64 example sketch has the address set to 0x3D which causes line skipping for these OLEDs.
It would be cool to know how "u8g2" behaves here. The skipped line problem has been addressed in u8g2 with a special constructor.