UTFT component? perfect for many graphic displays
Moderator: Benj
Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
Only feature requests will be considered here. General questions should not be posted in this forum.
-
- Posts: 528
- Joined: Sat Dec 01, 2012 1:23 pm
- Location: Sweden
- Has thanked: 49 times
- Been thanked: 101 times
- Contact:
UTFT component? perfect for many graphic displays
I would very much like to see UTFT from http://www.henningkarlsen.com/electronics/ made into a FC component.
It would make life a lot easier when using newer and more powerful graphic displays like the 5" touch screen I will be trying, with a resolution of 800x480 and integrated SDRAM for much faster refresh rates.
This is a video of their 7" model, but it is exactly the same as the 5" I have.
http://youtu.be/xvtA58D7uic
Maybe a lot of work is done already so it wouldn't be to hard or time consuming for the Matrix Staff to knock this one out?
Thanks.
/Daniel
It would make life a lot easier when using newer and more powerful graphic displays like the 5" touch screen I will be trying, with a resolution of 800x480 and integrated SDRAM for much faster refresh rates.
This is a video of their 7" model, but it is exactly the same as the 5" I have.
http://youtu.be/xvtA58D7uic
Maybe a lot of work is done already so it wouldn't be to hard or time consuming for the Matrix Staff to knock this one out?
Thanks.
/Daniel
-
- Posts: 528
- Joined: Sat Dec 01, 2012 1:23 pm
- Location: Sweden
- Has thanked: 49 times
- Been thanked: 101 times
- Contact:
- JonnyW
- Posts: 1230
- Joined: Fri Oct 29, 2010 9:13 am
- Location: Matrix Multimedia Ltd
- Has thanked: 63 times
- Been thanked: 290 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Hi.
We do read these forums, but sometimes things are not said as it is deemed no reply is necessary. It would be great for us to do components such as this one and I'm sure that once someone has completed (or attempted) it they would post their results here, but this takes time.
We have just come back from Christmas and are getting on with things from there, but for many of us your post has only been up for two office days. Please be patient and we will do what we can.
Cheers,
Jonny
We do read these forums, but sometimes things are not said as it is deemed no reply is necessary. It would be great for us to do components such as this one and I'm sure that once someone has completed (or attempted) it they would post their results here, but this takes time.
We have just come back from Christmas and are getting on with things from there, but for many of us your post has only been up for two office days. Please be patient and we will do what we can.
Cheers,
Jonny
-
- Posts: 528
- Joined: Sat Dec 01, 2012 1:23 pm
- Location: Sweden
- Has thanked: 49 times
- Been thanked: 101 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Any actions taken towards this? Many projects are just waiting for a nice and simple way to implement a fancy graphic OLED display
- JonnyW
- Posts: 1230
- Joined: Fri Oct 29, 2010 9:13 am
- Location: Matrix Multimedia Ltd
- Has thanked: 63 times
- Been thanked: 290 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Hi. I do not do many components personally but I am not sure if this will be done soon. For some time we have been trying to get a stable release we are all happy with - things keep piling up on that so I am not sure this will go out before a release is done I'm afraid.
Hopefully once the release is done we will have a bit of elbow room though!
Jonny
Hopefully once the release is done we will have a bit of elbow room though!
Jonny
-
- Posts: 528
- Joined: Sat Dec 01, 2012 1:23 pm
- Location: Sweden
- Has thanked: 49 times
- Been thanked: 101 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Ok I get it When time permits, I would actually rather see some components for the popular SSD1306, SSD1322 OLED drivers.
I got a SSD1306 128x32 0.91" OLED up and running (initialized, and displaying a square ) but it's all bit banged and I do not have the skills needed to make the routines and custom component stuff.
So many Arduino libraries available for all kinds of displays it should be a walk in the park for someone with more experience I reckon
I got a SSD1306 128x32 0.91" OLED up and running (initialized, and displaying a square ) but it's all bit banged and I do not have the skills needed to make the routines and custom component stuff.
So many Arduino libraries available for all kinds of displays it should be a walk in the park for someone with more experience I reckon
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Hello,
I'll get the UTFT, the SSD1306 and SSD1322 on the list for you and try and get them ticked off as and when I get some time. As you say they should be easy enough to roll out.
If you have known working Arduino code you can post or attach then that would likely speed things up a lot.
I'll get the UTFT, the SSD1306 and SSD1322 on the list for you and try and get them ticked off as and when I get some time. As you say they should be easy enough to roll out.
If you have known working Arduino code you can post or attach then that would likely speed things up a lot.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 528
- Joined: Sat Dec 01, 2012 1:23 pm
- Location: Sweden
- Has thanked: 49 times
- Been thanked: 101 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Great!
Here are some links:
Micro LCD (SSD1306, I2C, but it supports 4 wire SPI which is what I am using) http://arduinodev.com/new-microlcd-libr ... d-ssd1306/
Here are some more examples, but in Python mostly, but nice fonts! http://guy.carpenter.id.au/gaugette/201 ... r-ssd1306/
I have sent you a private message Ben, with a link to all datasheets for both drivers and actual displays (that I have bought so I can do testing on hardware), sample code, and my FC macros for SSD1306, and some photos of it in action.
Just to clarify, I have OLEDs with SSD1305, SSD1306 and SSD1322 and some larger 3" and 5.5" TFT displays that are supported by UTFT so any tests you want me to do, just let me know.
Here are some links:
Micro LCD (SSD1306, I2C, but it supports 4 wire SPI which is what I am using) http://arduinodev.com/new-microlcd-libr ... d-ssd1306/
Here are some more examples, but in Python mostly, but nice fonts! http://guy.carpenter.id.au/gaugette/201 ... r-ssd1306/
I have sent you a private message Ben, with a link to all datasheets for both drivers and actual displays (that I have bought so I can do testing on hardware), sample code, and my FC macros for SSD1306, and some photos of it in action.
Just to clarify, I have OLEDs with SSD1305, SSD1306 and SSD1322 and some larger 3" and 5.5" TFT displays that are supported by UTFT so any tests you want me to do, just let me know.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Hello,
Managed to make some headway with the SSD1306 component now. Hopefully it will work but have no hardware here to allow me to test.
I'm hoping your display has a read pin, the demo code didn't show a read function but it is required to get the pixel read modify write process working. I guessed at the code and hopefully it should work ok.
Managed to make some headway with the SSD1306 component now. Hopefully it will work but have no hardware here to allow me to test.
I'm hoping your display has a read pin, the demo code didn't show a read function but it is required to get the pixel read modify write process working. I guessed at the code and hopefully it should work ok.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 528
- Joined: Sat Dec 01, 2012 1:23 pm
- Location: Sweden
- Has thanked: 49 times
- Been thanked: 101 times
- Contact:
Re: UTFT component? perfect for many graphic displays
YEAH!!! This day just keeps getting better and better!
Unfortunately my SSD1306 display has no such pin.
I made this PCB some time ago in accordance with the display's datasheet and as you have seen, got it working with some example code and managed to draw a rectangle and writing A B C on it I'll sen you one (I have two more PCBs just laying around, not populated) if you think that will help. Just let me know.
Both mine and the one Adafruit currently sells, lack the read pin.
http://www.adafruit.com/products/661
Unfortunately my SSD1306 display has no such pin.
I made this PCB some time ago in accordance with the display's datasheet and as you have seen, got it working with some example code and managed to draw a rectangle and writing A B C on it I'll sen you one (I have two more PCBs just laying around, not populated) if you think that will help. Just let me know.
Both mine and the one Adafruit currently sells, lack the read pin.
http://www.adafruit.com/products/661
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Also tried the SSD1305 but the example code for these looks less likely to work, most of the code is as is for the 1306 device so fingers crossed it will work ok.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Hello,
That was fast, Is that picture using your existing code or the new v6 component??!
Right without the read pin it is possible to draw stuff but each write is a vertical block of 8 pixels so if you say draw a horizontal line then it is likely that the other 7 pixels in the 8-pixel block will be corrupted (cleared).
If you can live with this then I can mod the 1306 component for you so it operates without the read pin and you may have to be a bit clever about the data you write to the screen. I'll make available the WriteDataByte macro so you can call it direct which will allow you to send pre-formatted data to the display. This does mean that nice things like draw line will not work and print text will need some modification to allow it to work at all in some y locations.
That was fast, Is that picture using your existing code or the new v6 component??!
Right without the read pin it is possible to draw stuff but each write is a vertical block of 8 pixels so if you say draw a horizontal line then it is likely that the other 7 pixels in the 8-pixel block will be corrupted (cleared).
If you can live with this then I can mod the 1306 component for you so it operates without the read pin and you may have to be a bit clever about the data you write to the screen. I'll make available the WriteDataByte macro so you can call it direct which will allow you to send pre-formatted data to the display. This does mean that nice things like draw line will not work and print text will need some modification to allow it to work at all in some y locations.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Scratch that, you can get the displays to work without the read function but you need around 1K of RAM memory to maintain a buffer of the pixel values.
I'll have a go at a buffered version of the component and see how I get on.
I'll have a go at a buffered version of the component and see how I get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 528
- Joined: Sat Dec 01, 2012 1:23 pm
- Location: Sweden
- Has thanked: 49 times
- Been thanked: 101 times
- Contact:
Re: UTFT component? perfect for many graphic displays
No that's with my own code. And yes, it does seem a bit "weird" that they chose to address the pixels this way.
Ok, I'll go ahead and make a revised version of the PCB as well and get that orders. That way I (and anyone who want to try these displays) can use the version best suited for the application. Sometimes it might work just fine without the read pin if you have a lot of spare RAM. One might be faster than the other so that might be a deciding factor for choosing which version to use.
I'll make the PCBs available to order straight from OSH park once I have tested them, should anyone want to use them.
Thanks!
Ok, I'll go ahead and make a revised version of the PCB as well and get that orders. That way I (and anyone who want to try these displays) can use the version best suited for the application. Sometimes it might work just fine without the read pin if you have a lot of spare RAM. One might be faster than the other so that might be a deciding factor for choosing which version to use.
I'll make the PCBs available to order straight from OSH park once I have tested them, should anyone want to use them.
Thanks!
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Here's a go at the buffered SSD1306 component.
Let me know how you get on.
Also does your SSD1305 have a RW pin?
Let me know how you get on.
Also does your SSD1305 have a RW pin?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 528
- Joined: Sat Dec 01, 2012 1:23 pm
- Location: Sweden
- Has thanked: 49 times
- Been thanked: 101 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Thanks, I will.
I have not yet made a PCB for the SSD1305 so I guess I could do one version with and one without for that one as well.
I have not yet made a PCB for the SSD1305 so I guess I could do one version with and one without for that one as well.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: UTFT component? perfect for many graphic displays
I messed up a bit and overwrote the read version with the buffer version. Anyway using a bit of mercurial magic here are the two components so you can test them both out independently.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 528
- Joined: Sat Dec 01, 2012 1:23 pm
- Location: Sweden
- Has thanked: 49 times
- Been thanked: 101 times
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Here are the SSD1305 equivalents,
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: UTFT component? perfect for many graphic displays
I'm looking now at the SSD1322 device, Can you confirm if your I/O control pins is like this?
8 x data pins
RD, WR, DC, Reset, CS
An alternate setup might look something like this.
8 x data pins
SD, SC, RW, DC, Reset, CS
8 x data pins
RD, WR, DC, Reset, CS
An alternate setup might look something like this.
8 x data pins
SD, SC, RW, DC, Reset, CS
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 528
- Joined: Sat Dec 01, 2012 1:23 pm
- Location: Sweden
- Has thanked: 49 times
- Been thanked: 101 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Here is the pinout of one of the SSD1322 displays:
-
- Posts: 528
- Joined: Sat Dec 01, 2012 1:23 pm
- Location: Sweden
- Has thanked: 49 times
- Been thanked: 101 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Unfortunately I can't get the SSD1306 to work. It won't show anything on the display, not even the "static" or "stars" you get after it is initialized but before it's cleared.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Hello,
Right thanks I will have another pass through and see if I can find any problems compared to your example macros.
Right thanks I will have another pass through and see if I can find any problems compared to your example macros.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 528
- Joined: Sat Dec 01, 2012 1:23 pm
- Location: Sweden
- Has thanked: 49 times
- Been thanked: 101 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Sounds good. I'll try to get you the displays as soon as possible.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: UTFT component? perfect for many graphic displays
Whoops, found there was a loop to transfer the data in all 4 components which was waiting for the index to equal 8 but the index variable was never being incremented!!
Should be better now.
Should be better now.
- Attachments
-
- gLCD_SSD1306_buffered.fcpx
- (7.19 KiB) Downloaded 384 times
-
- gLCD_SSD1306.fcpx
- (6.77 KiB) Downloaded 388 times
-
- gLCD_SSD1305_buffered.fcpx
- (7.21 KiB) Downloaded 368 times
-
- gLCD_SSD1305.fcpx
- (6.8 KiB) Downloaded 374 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel