Problem with TFT ILI9341
Moderators: grovkillen, Stuntteam, TD-er
Problem with TFT ILI9341
Hi,
I would like use this LCD, but I have problem...
When I connect the LCD and send example tft,txtfull,120,60,HelloWorld or tft,txtfull,50,50,2,RED,BLUE,%ip% display make what you see in pic...
Any idea, what is wrong ? Wedos D1 mini, TFT working great in other aplication
I would like use this LCD, but I have problem...
When I connect the LCD and send example tft,txtfull,120,60,HelloWorld or tft,txtfull,50,50,2,RED,BLUE,%ip% display make what you see in pic...
Any idea, what is wrong ? Wedos D1 mini, TFT working great in other aplication
Re: Problem with TFT ILI9341
Is the "other application" running on that same hardware and wiring, or using another controller?
/Ton (PayPal.me)
Re: Problem with TFT ILI9341
Is the hardware actually an ILI9341 or a different type?
When switching between ESPEasy and weatherduino, was the unit power-cycled? As the weatherduino software may use a different initialization, that may only be reset by a power-cycle.
/Ton (PayPal.me)
Re: Problem with TFT ILI9341
Yes, it is ILI9341, I tested 5 the sames LCD but different date of buy, the same issue...
Yes, bettwen flashing was be all switch off
FW is latest...
Re: Problem with TFT ILI9341
My current ILI9341 is working nicely.
I needed another display, so I ordered a similar 2.8" ILI9341 display from Aliexpress, but it will take a few weeks to arrive. After it arrives I'll do some tests.
I needed another display, so I ordered a similar 2.8" ILI9341 display from Aliexpress, but it will take a few weeks to arrive. After it arrives I'll do some tests.
/Ton (PayPal.me)
Re: Problem with TFT ILI9341
Can you post setup page of lcd ? Maybee somethig have wrong..
Thank
Re: Problem with TFT ILI9341
If your hardware setup would be wrong you wouldn't get anything useful on your screen, so I'm quite confident it's not that.
Just be sure the GPIO pins are not (also) configured at another task.
Only the generic SPI pins (MISO, MOSI, CLK) can be shared with other SPI devices, like the XPT2046 touch screen, but they both require separate CS, DC and RST pins. Backlight can either be controlled from the plugin or pulled high.
There are several options for display type, you could try different options there.
Just be sure the GPIO pins are not (also) configured at another task.
Only the generic SPI pins (MISO, MOSI, CLK) can be shared with other SPI devices, like the XPT2046 touch screen, but they both require separate CS, DC and RST pins. Backlight can either be controlled from the plugin or pulled high.
There are several options for display type, you could try different options there.
/Ton (PayPal.me)
Re: Problem with TFT ILI9341
Problem solved... I try other MCU and working... The same FW, the same wiring, the same LCD, pfffAth wrote: ↑09 Feb 2023, 08:35 If your hardware setup would be wrong you wouldn't get anything useful on your screen, so I'm quite confident it's not that.
Just be sure the GPIO pins are not (also) configured at another task.
Only the generic SPI pins (MISO, MOSI, CLK) can be shared with other SPI devices, like the XPT2046 touch screen, but they both require separate CS, DC and RST pins. Backlight can either be controlled from the plugin or pulled high.
There are several options for display type, you could try different options there.
So one question about rule...
When try this, all working, on lcd is example -8.0C
tft,txtfull,40,185,2, white,black,Home
tft,txtfull,15,210,3, white,black,[analog2#Analog]C
But I need make space bettwen [analog2#Analog] and C, when i make this, on LCD show only C without the value before, i would like on LCD -8.0 C
tft,txtfull,40,185,2, white,black,Home
tft,txtfull,15,210,3, white,black,[analog2#Analog] C
The same problem is with text before [analog2#Analog]
For example:
tft,txtfull,40,185,2, white,black,Home
tft,txtfull,15,210,3, white,black,Home[analog2#Analog]C
wotking but next one show only value without "home"
tft,txtfull,40,185,2, white,black,Home
tft,txtfull,15,210,3, white,black,Home [analog2#Analog]C
Where is problem ?
Thank
Re: Problem with TFT ILI9341
I didn't suggest that yet, because of first exploring the more common causes.
Great that it's solved.
You need to add quotes around the part that contains spaces or commas, see: https://github.com/letscontrolit/ESPEasy/issues/2724mra2ko wrote: ↑09 Feb 2023, 12:43 So one question about rule...
When try this, all working, on lcd is example -8.0C
tft,txtfull,40,185,2, white,black,Home
tft,txtfull,15,210,3, white,black,[analog2#Analog]C
But I need make space bettwen [analog2#Analog] and C, when i make this, on LCD show only C without the value before, i would like on LCD -8.0 C
tft,txtfull,40,185,2, white,black,Home
tft,txtfull,15,210,3, white,black,[analog2#Analog] C
Code: Select all
tft,txtfull,15,210,3, white,black,"[analog2#Analog] C"
// Alternatively
tft,txtfull,15,210,3, white,black,"[analog2#Analog]{D}C" // with the degrees symbol included, no quotes required here
/Ton (PayPal.me)
Re: Problem with TFT ILI9341
Ath wrote: ↑09 Feb 2023, 13:08I didn't suggest that yet, because of first exploring the more common causes.
Great that it's solved.
You need to add quotes around the part that contains spaces or commas, see: https://github.com/letscontrolit/ESPEasy/issues/2724mra2ko wrote: ↑09 Feb 2023, 12:43 So one question about rule...
When try this, all working, on lcd is example -8.0C
tft,txtfull,40,185,2, white,black,Home
tft,txtfull,15,210,3, white,black,[analog2#Analog]C
But I need make space bettwen [analog2#Analog] and C, when i make this, on LCD show only C without the value before, i would like on LCD -8.0 C
tft,txtfull,40,185,2, white,black,Home
tft,txtfull,15,210,3, white,black,[analog2#Analog] C
Code: Select all
tft,txtfull,15,210,3, white,black,"[analog2#Analog] C" // Alternatively tft,txtfull,15,210,3, white,black,"[analog2#Analog]{D}C" // with the degrees symbol included, no quotes required here
I didnt think to change it either, when it worked with another fw, haha
Super, thank to info about the " " " " "
I have set timer to 10s now, is it normal that the entire page "flashes" when loading the values?
Re: Problem with TFT ILI9341
That depends partly on the "Text print mode" setting.
But you might want to:
- Use a single command to write the text and the data, instead of label and data separate, that should execute faster, and only clear the line once
- or, only update the display if it has changed
- or, only update the changing parts of the data (the numbers).
/Ton (PayPal.me)
Re: Problem with TFT ILI9341
Ok, I know now, thank !Ath wrote: ↑09 Feb 2023, 15:02That depends partly on the "Text print mode" setting.
But you might want to:
- Use a single command to write the text and the data, instead of label and data separate, that should execute faster, and only clear the line once
- or, only update the display if it has changed
- or, only update the changing parts of the data (the numbers).
Who is online
Users browsing this forum: No registered users and 38 guests