Page 1 of 1

GLCD SSD1306 i2C - Display Artifacts

Posted: Thu May 15, 2025 4:52 pm
by jay_dee
Hi Guy,
So my Customer chose a tiny WaveShare 128x32 Monochrome GLCD display, using the SSD1306 chip over i2C

As a minium, I only need to display a Dynamic number in a 32 pixel font.
I'm using a number only Font. Using the SevenSegment 32 would be great but any large font would do.

I'm getting odd artifacts when displaying a static Value. I created some FC to write circles over the whole area, this worked fine. So I'm assuming my i2C and Dispaly Hardware are OK.
20250515_130720 (Medium) (Small).jpg
20250515_130720 (Medium) (Small).jpg (111.57 KiB) Viewed 403 times
but I get odd artifacts with the rectangle component,
20250515_132209 (Medium) (Small).jpg
20250515_132209 (Medium) (Small).jpg (113.59 KiB) Viewed 403 times
Staic NUmbers are not great,
20250515_162224 (Medium) (Small).jpg
20250515_162224 (Medium) (Small).jpg (120.41 KiB) Viewed 403 times
If I make the value count I get even more artifacts.

It must be something to do with buffers etc but that is somewhat beyond me. :)

Any ideas on a relatively simple solution?

Re: GLCD SSD1306 i2C - Display Artifacts

Posted: Fri May 16, 2025 8:10 am
by medelec35
Hello there was an issue with this display.
There was an update to fix the issue you are seeing especially with the numbers.
If you open your project with the display, and select Help > library updates, does the display require updating?
The latest revision is 16. If you can't see the display you can select Show up-to-date files
If you have updated the library, you will need to reload your project for the updates to take effect.
If that does not work for you, then can you follow the instructions posted here.

Re: GLCD SSD1306 i2C - Display Artifacts

Posted: Fri May 16, 2025 1:13 pm
by jay_dee
Thanks Martin,
My component "gLCD_SSD1306_i2C" is version 16 and is shown as current.
Everything else shown is up to date.
FC V10.1.2.4
Using a PIC18F2585, tried with both hardware and software i2C.
i2c.JPG
i2c.JPG (23.39 KiB) Viewed 270 times
I'll have a look at the roll-back. J.

Re: GLCD SSD1306 i2C - Display Artifacts

Posted: Fri May 16, 2025 1:21 pm
by jay_dee
Oh...Brilliant. The roll back to 13 worked.
Thanks for the prompt support and FYI, the roll back and version selection in FC was very slick.
I'm off to stuff the demo hardware under the customers nose! J.

Re: GLCD SSD1306 i2C - Display Artifacts

Posted: Fri May 16, 2025 4:47 pm
by medelec35
Thanks J, that's brilliant.
With your information, it will be sorted.
I hope your customer likes it :)

Re: GLCD SSD1306 i2C - Display Artifacts

Posted: Wed May 21, 2025 3:05 pm
by BenR
Hello,

The latest version on the library update system should now also be fixed and good to go. It has the additional feature of the Refresh Mode property which allows you to redraw the entire display in one go which can be a lot faster and less flickery.

To use simply set the Refresh Mode property to Yes and then call the RefreshDisplay component macro whenever you want to draw the things you have written to the screen RAM.