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.
Regards,
Sasi
SSD1305 Display with I2C interface
-
- Posts: 107
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 02, 2020 12:11 pm
- Has thanked: 37 times
- Been thanked: 14 times
-
- 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
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.
It might work as is with the SSD1306 I2C component. I would give that a go and let us know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Re: SSD1305 Display with I2C interface
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. 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.
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. 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.
-
- 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
Hello,
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.
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 also tried the gLCD_SSD1305_i2c macro.
If I set the address to 0x78, the display worked, but the image was distorted.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- 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
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.
There is an interlace property, does changing that make a difference?
Looking at the datasheets 0x78 is an SSD1306 device address.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel