Page 1 of 1
Choose a display... (GLCD/colour) with touch?
Posted: Sat Jul 16, 2022 11:54 pm
by MJU20
I'm looking for a (cheap) display to show some results of a measurement.
Now I'm using a (cheap) SSD1306 monochrome 0.96" display and this nearly can show everything I want.
But I want to upgrade
Colour! YEAH!

And slightly larger then 128*64 pixels.
But there are some questions before I ask China to send me some.
- I'm thinking of using an ILI9341 display is this the same as ST7735? Displays on Ali..ss mention this the same with "ILI9225 ILI9341"
- How can I with, for instance the ILI9341 macro use multiple colours on the display? I see only parameters in the component macro for foreground/background colours. How can I print several things in different colours?
- Is there a simple (cheap) display recommended with touch capability that will work with a ESP32?
- What component can I use to use the touchscreen?
More questions to come...
Re: Choose a display... (GLCD/colour) with touch?
Posted: Mon Jul 18, 2022 8:55 am
by stefan.erni
Hi MJU20
Here a info about the color. Its working also in the simulation
Just set the front color before you print a text, line or circle.
regards
Stefan
Demo:

- code_2022-07-18_9-49-48.jpg (27.98 KiB) Viewed 3854 times

- screen_2022-07-18_9-49-27.jpg (9.75 KiB) Viewed 3854 times
Re: Choose a display... (GLCD/colour) with touch?
Posted: Mon Jul 18, 2022 5:16 pm
by MJU20
Thanks stefan.erni!
Does anyone use these type of displays?
Ever used the touchpanel versions?
I have ordered a few 2.4" display's (with and without touch)..
Re: Choose a display... (GLCD/colour) with touch?
Posted: Tue Jul 19, 2022 10:07 am
by stefan.erni
Hi MJU20
I use some color display and its working fine with FC9
LCD_SSD1351 SPI Display
GLCD_ILI9341_SPI1
You can post your order so we can see which display and touchscreen you will use.
regards
Stefan
Re: Choose a display... (GLCD/colour) with touch?
Posted: Tue Jul 19, 2022 2:33 pm
by jgu1
Hi Mju20
I have used the Ili9341 SPI touch with ESP32 it is working Perfect and Ben managed to speed it up so it is really fast.
Lately Ben also get the Ili9488 working,also Perfect
If you want I can send you some exambles of mit project, then you can copy and paste
Br Jorgen
Re: Choose a display... (GLCD/colour) with touch?
Posted: Tue Jul 19, 2022 5:17 pm
by MJU20
Hey guys,
Thanks for your reactions!
Happy to hear that you've got experience with these displays (and are happy with them)
Some of the display's I've ordered:
https://www.aliexpress.com/item/1005003943508410.html
https://www.aliexpress.com/item/1005001423263081.html
https://www.aliexpress.com/item/1005001636468878.html
@JGU: you can always share a file so I can prepare and learn.
Re: Choose a display... (GLCD/colour) with touch?
Posted: Wed Jul 20, 2022 7:16 pm
by jgu1
Hi MJU20!
"Better late than never"
Hereby as promised. The "Standard " examble is one I use as startup when I make a new project, then I know the display working correctly and config and connection is ok. When this is done I begin to build up the project and rename the new project.
In the comment in the beginning you can see how I have connect the display. If you enable or disable the macro touchtest. When enable the display show the X and Y coordinate when you press on the display. And of course you need to have a display with touch.
The "KoreCompStort Disp" Is a project I have made to help me everyday. In my work I drive a lot so I have to registre my driving time, km and working time. I use it every day.
Please, I am sure someone will say this could be done easyer, so don“t laugh
Hope this can help you a little in your project and maybe you find the "ligth" and you can copy. Remember first time you compile, it take a while. These display work well with ESP32 and FC9.
Br jorgen
Re: Choose a display... (GLCD/colour) with touch?
Posted: Thu Jul 21, 2022 10:47 pm
by MJU20
Thank you jgu1!
As soon as I receive the display's I will start test them with you files!
Cheers