GLCD SSD1306 i2C - Display Artifacts

Use this section to discuss your embedded Flowcode projects.
Post Reply
jay_dee
Posts: 204
http://meble-kuchenne.info.pl
Joined: Sun Dec 20, 2020 6:06 pm
Has thanked: 77 times
Been thanked: 55 times

GLCD SSD1306 i2C - Display Artifacts

Post 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 380 times
but I get odd artifacts with the rectangle component,
20250515_132209 (Medium) (Small).jpg
20250515_132209 (Medium) (Small).jpg (113.59 KiB) Viewed 380 times
Staic NUmbers are not great,
20250515_162224 (Medium) (Small).jpg
20250515_162224 (Medium) (Small).jpg (120.41 KiB) Viewed 380 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?

medelec35
Matrix Staff
Posts: 1946
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 623 times
Been thanked: 655 times

Re: GLCD SSD1306 i2C - Display Artifacts

Post 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.
Martin

jay_dee
Posts: 204
Joined: Sun Dec 20, 2020 6:06 pm
Has thanked: 77 times
Been thanked: 55 times

Re: GLCD SSD1306 i2C - Display Artifacts

Post 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 247 times
I'll have a look at the roll-back. J.

jay_dee
Posts: 204
Joined: Sun Dec 20, 2020 6:06 pm
Has thanked: 77 times
Been thanked: 55 times

Re: GLCD SSD1306 i2C - Display Artifacts

Post 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.

medelec35
Matrix Staff
Posts: 1946
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 623 times
Been thanked: 655 times

Re: GLCD SSD1306 i2C - Display Artifacts

Post by medelec35 »

Thanks J, that's brilliant.
With your information, it will be sorted.
I hope your customer likes it :)
Martin

BenR
Matrix Staff
Posts: 1929
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 503 times
Been thanked: 686 times

Re: GLCD SSD1306 i2C - Display Artifacts

Post 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.

Post Reply