SSD1305 Display with I2C interface

Post here to discuss any new features, components, chips, etc, that you would like to see in Flowcode.
Post Reply
Sasi
Posts: 107
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 12:11 pm
Has thanked: 37 times
Been thanked: 14 times

Flowcode v10 SSD1305 Display with I2C interface

Post by Sasi »

Hello,
I have a few of these displays and I would like to use them with Flowcode
but I missed that there is no Component Macro for the SSD1305 that supports I2C interface.
I would be happy if it could be solved to work with Flowcode.
DISPLAY SSD1305.jpg
DISPLAY SSD1305.jpg (35.08 KiB) Viewed 238 times
Regards,
Sasi

BenR
Matrix Staff
Posts: 1936
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 506 times
Been thanked: 688 times

Re: SSD1305 Display with I2C interface

Post by BenR »

Hi Sasi,

It might work as is with the SSD1306 I2C component. I would give that a go and let us know how you get on.

BenR
Matrix Staff
Posts: 1936
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 506 times
Been thanked: 688 times

Re: SSD1305 Display with I2C interface

Post by BenR »

Having a look now and it looks like the main difference is the I2C device address.

I've made a new component for the SSD1305 I2C now and pushed to the library updates. You will need to do a full database update to get it.

Let us know how you get on. It might not be totally compatible with the SSD1306 commands so we may need your help with getting it spot on.

Sasi
Posts: 107
Joined: Wed Dec 02, 2020 12:11 pm
Has thanked: 37 times
Been thanked: 14 times

Flowcode v10 Re: SSD1305 Display with I2C interface

Post by Sasi »

Hi Ben,
I was really curious about the display image and tried it with the SSD1306 Component Macro,
but I had to overwrite the Initialization data to get a correct image.
In the SSD1306 Component Macro, I had to set the I2C device address to 0x78.
You can find the test project here: viewtopic.php?t=3165
I copied the Initialization values ​​from the example at the end of the display datasheet.
AOM12832A1-2.23WW-spec.pdf
(3.4 MiB) Downloaded 7 times
Thanks for your help.


I also tried the gLCD_SSD1305_i2c macro.
If I set the address to 0x78, the display worked, but the image was distorted.

BenR
Matrix Staff
Posts: 1936
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 506 times
Been thanked: 688 times

Re: SSD1305 Display with I2C interface

Post by BenR »

Hello,
I also tried the gLCD_SSD1305_i2c macro.
If I set the address to 0x78, the display worked, but the image was distorted.
Great sounds like we're close. Can you attach an image of the simulation vs the hardware so I can see the distortion, that might give me a clue as to what's wrong.

I've also just pushed an updated version of the component which might help, just tweaked the init commands a bit to match the other SSD1305 displays.

Sasi
Posts: 107
Joined: Wed Dec 02, 2020 12:11 pm
Has thanked: 37 times
Been thanked: 14 times

Re: SSD1305 Display with I2C interface

Post by Sasi »

Hi,
I installed the updates and tested it.
The device address 0x78 cannot be selected from the interface yet.
SSD1305_I2C Display_test1.jpg
SSD1305_I2C Display_test1.jpg (29.8 KiB) Viewed 153 times
SSD1305_I2C Display_test1_sim.jpg
SSD1305_I2C Display_test1_sim.jpg (13.67 KiB) Viewed 153 times
SSD1305_I2C Display_test1.fcfx
(11.84 KiB) Downloaded 10 times

BenR
Matrix Staff
Posts: 1936
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 506 times
Been thanked: 688 times

Re: SSD1305 Display with I2C interface

Post by BenR »

Aha ok that's looking promising.

There is an interlace property, does changing that make a difference?

Looking at the datasheets 0x78 is an SSD1306 device address.

Sasi
Posts: 107
Joined: Wed Dec 02, 2020 12:11 pm
Has thanked: 37 times
Been thanked: 14 times

Re: SSD1305 Display with I2C interface

Post by Sasi »

If I turn on Interlaced mode it looks pretty good.
SSD1305_I2C Display_test1 interlaced_ON.jpg
SSD1305_I2C Display_test1 interlaced_ON.jpg (25.4 KiB) Viewed 144 times

Post Reply