Waveshare ESP32-S3 1.8inch Knob Display (ST77916 Display, CST816 Touch) #23737
Replies: 6 comments 7 replies
-
|
Most displays can be supported without any Tasmota code modification, by constructing a suitable display descriptor file, indeed And the CST816 touch controller chip is already supported. |
Beta Was this translation helpful? Give feedback.
-
|
So far I've tried to create a Original Pin Definitions
Arduino Example (Manufacturer) #define EXAMPLE_PIN_NUM_LCD_CS 14
#define EXAMPLE_PIN_NUM_LCD_PCLK 13
#define EXAMPLE_PIN_NUM_LCD_DATA0 15
#define EXAMPLE_PIN_NUM_LCD_DATA1 16
#define EXAMPLE_PIN_NUM_LCD_DATA2 17
#define EXAMPLE_PIN_NUM_LCD_DATA3 18
#define EXAMPLE_PIN_NUM_LCD_RST 21
#define EXAMPLE_PIN_NUM_BK_LIGHT 47According to the datasheet and the source code display library the display should actually support regular SPI. The Readme in this repo from ESP leads me to believe that in SPI mode
The problem is that I could not find out what pins corespond to I used the following line in my Here is the complete display.ini
Debug-Log
|
Beta Was this translation helpful? Give feedback.
-
|
You can find the resources including the schematics on https://www.waveshare.com/wiki/ESP32-S3-Knob-Touch-LCD-1.8 I came up to your thread while I have a Waveshare Touch LCD (https://www.waveshare.com/esp32-s3-touch-lcd-1.69.htm) as well. My display has a different display controller but the same touch controller. I am using the Universal Display Driver successfully but I can not get the touch to work with Tasmota, but it works well with the examples. Did you get the touch to work with Tasmota? If so, how did you do that? |
Beta Was this translation helpful? Give feedback.
-
|
@t-muehlberger, @TheKilroy Are you also planning to get the "Waveshare ESP32-S3 5" Display Development Board" running with Tasmota? I'm interested, but unfortunately I don't have the knowledge to create the appropriate Display.ini file. |
Beta Was this translation helpful? Give feedback.
-
|
I have the https://www.waveshare.com/product/esp32-s3-touch-lcd-1.85c.htm which has same display IC as the OP and is also wired for QSPI. The interface mode for this chip is set by hardwiring three of its pins, however (at least for my display) these pins are very difficult to access. The Tasmota universal display driver doesn't support QSPI currently and it's likely a bit of work to implement (previous similar request #19204). |
Beta Was this translation helpful? Give feedback.
-
|
This is for all users using a Waveshare display with a CST816 touch controller and Universal Driver. After trying hours and hours with the definition of the Universal Touch Descriptor I found that the problem is the reset procedure in the Universal Touch Driver. After I changed the reset procedure in uDisplay.cpp, in function uDisplay::utouch_Init(char **name) from a timing of HIGH=10 ms, LOW=5 ms, HIGH=10 ms to HIGH=10 ms, LOW=10 ms, HIGH=50 ms for the reset line, I was able to succesfully initialize the controller. Here is my commented part of the display.ini for the universal touch: Please strip the comments when using the commands in your display.ini If you have another variant than the CST816T please change the CHIP-ID in the init sequence. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I recently purchased this (wiki) new Knob-Touch-Display from Waveshare. If somehow possible I would like to run Tasmota on the device. I already managed to get
tasmota-lvgl(development) running on the ESP32-S3.So far my research has pointed me to to the
display.iniFile which I would have to create for the Disply/Toch to work. Is that correct?My knowledge of embedded displays is not very firm, so I do not even know if this can be done with reasonable effort or if it would require major modifications of Tasmota itself.
Are the Display IC (
ST77916) and Touch (CST816) even compatible/supported in Tasmota?Some hints in the right direction about how I could get started with this would be greatly appreciated.
Thank you:)
Beta Was this translation helpful? Give feedback.
All reactions