Add support for waveshare s3 knob (JC3636K518) with ST77916 #3253
Replies: 7 comments 4 replies
-
i got it working but im not totally sure if its alright. but the screen and touch works. also i needed to add to the demo arduino code part i used for init_sequence this near the end, or else the display seems odly:
so here is the code which currently works:
for the rotary i tried to create a external component since nothing worked for me, its still not good, it can count correclty for left/right but only if i do it slow, faster movement is counted as just 1 step
|
Beta Was this translation helpful? Give feedback.
-
Try mipi_spi, it has that model preset. The encoder should work with the built in rotary_encoder sensor |
Beta Was this translation helpful? Give feedback.
-
Hello, i already tried the rortay encoder sensor but that didnt work for me, i cant remember if it just wasnt counting right or didnt work at all. for the mipi spi which model du you mean? The JC3636W518? i already tried a couple from the list and they didnt work, the JC3636W518 listed there is also a different from mine the JC3636K518 like i already mentionied in the first post. |
Beta Was this translation helpful? Give feedback.
-
50MHz is not an available SPI data rate on the ESP32, it has to be a submultiple of the CPU clock, so use 40MHz.
So works as in you get a sensible display? What does "light flicker" mean? Are you using lambda display drawing or LVGL? Also you don't need all those CONFIG and platformio options. |
Beta Was this translation helpful? Give feedback.
-
those options, or at least the important ones, are set by the ESPHome config you already have. Remove the Try changing the frequency of the backlight and see if that affects the flickering. |
Beta Was this translation helpful? Give feedback.
-
ok i removed the buffer_size and played a bit with the frequency but i still see this flickering. |
Beta Was this translation helpful? Give feedback.
-
Thanks for looking into this! I just got one of these dev kits and am similarly stuck, except I can't get even a peep out of the board. @KrX3D, would it be possible for you to post the full YAML of your currently flickering config? I've been unable to reconstruct it through the conversation. Thanks so much! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the component you'd like
Hello,
i got one of those waveshare knob displays ESP32 S3 model JC3636K518:
https://www.waveshare.com/esp32-s3-knob-touch-lcd-1.8.htm
i saw that the JC3636W518 is already present but the display doesnt work, i also found this https://github.com/clowrey/esphome-guition-360x360-jc3636w518/blob/main/guition-360x360-jc3636w518-lvgl.yaml
and tried it out and after it didnt work i tried some changes
i tried it with:
but i get
i foudn here some example code for it http://pan.jczn1688.com/1/HMI%20display and it works with arduino ide so i picked from scr_st77916.h the part and added it in init_sequence
and it kind of works:
it would be nice if the display, touch and "rotary" would work
What are your use cases for this component?
ESP32 S3 with display and "rotary" knob
Is there a public datasheet, documentation and/or schematics?
http://pan.jczn1688.com/1/HMI%20display -> the zip for JC3636K518CN_knob_EN
from that code:
pincfg.h:
scr_st77916.h:
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions