-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32-8048S043 screen #54
Comments
https://github.com/suchmememanyskill/CYD-Klipper/actions/runs/8070991249 Can you try this build? Grab the merged-firmware .bin from the github actions artifact firmware zip, install esptool and run |
Not lucky. After pressing enter the screen turn full black and not connect.
|
You are holding down the boot button when it's attempting to connect, right? Otherwise you can try to upload from visual studio code + the platformio plugin, but that's a lot trickier to set up |
Yes I tryed pressing and not pressing boot button ;) |
ummm will read how to do that. Thx |
Actually, isn't /dev/ttyS0 hardware uart/serial? You may want to hard specify which usb port it should use for communication. I also sadly have never flashed these on a unix based system, so i don't know how to identify which port is connected to the screen |
It's not too difficult.
|
Yes, I am successful in building and uploading. |
Building log (looks very correct to me):
|
Might be an issue with the smartdisplay driver or my implementation then. Can you try to compile https://github.com/rzeldent/esp32-smartdisplay-demo ? You may have to download this repository via the commandline: |
Im tryed, but getting compile errors: |
After some learning and dificulties I build the demo, but get same problem: White screen No error on monitor. |
Hello ! Good and bad news lol After a lot of reading, I found a thread that seems to solve the problem: rzeldent/esp32-smartdisplay-demo#21 For now I have edited the file esp32-8048S043C.json: ST7262_PANEL_CONFIG_TIMINS_PCLK_HZ=(12.5 *1000000) And now I can see the Wi-Fi screen selector (it's cool ;). But the screen flips to portrait and the touch screen doesn't work. Another question, is there a reason why you don't use rzeldent and lgvl original source? They seems more up to date, and they change very frequently hehehe |
I'm not really sure what I'm doing (I'm not good at C, lgvl and other coding hehehe), but I'll lay out my tests.
RESULT: Worked the same. Image is portraid and touch screen is not working. |
I used the one from the thread referenced above and put in your custom variables/parameters (not sure what it's called in C)
RESULT: Worked the same. Image is portraid and touch screen is not working. |
Trying to figure how to console log the touch inputs, to be sure that touch screen is activated or not. In the previous demo you posted it works great. |
I'll be watching this. Same display. |
ummm Noticed that touch screen is really working. After screen turns to sleep mode, If i touch the screen then it wake up. Then not sure why touch screen is not working to select a network. |
I just re-read the config. All other CYD screens are vertical screens, but this one is actually horizontal. That means i have misconfigured it. Will push out an update later today with your findings too to correct for this |
@themacboy just pushed a new build to the 4.3inch branch. Please try to compile and run via platformio |
Working great now! I review all the code you made! Really fast! Your effort is greatly appreciated!!! Now I'm trying some visual tweaks like a bigger sidebar, icons and font size. In the meantime I'm doing tests and I'll report the results. Thank you so much! (I'll try to learn some C coding and see if I'm able to help...a little) |
@themacboy Sick! Can you post a screenshot of the screen so i can try to make those ajustments for you? If you want to try yourself, these are the values you need to edit in the boards/.json file
To support different font sizes, enable them in src/conf/lv_conf.h /*==================
* FONT USAGE
*===================*/
/*Montserrat fonts with ASCII range and some symbols using bpp = 4
*https://fonts.google.com/specimen/Montserrat*/
#define LV_FONT_MONTSERRAT_8 0
#define LV_FONT_MONTSERRAT_10 1
#define LV_FONT_MONTSERRAT_12 1
#define LV_FONT_MONTSERRAT_14 1
#define LV_FONT_MONTSERRAT_16 1
#define LV_FONT_MONTSERRAT_18 0
#define LV_FONT_MONTSERRAT_20 0
#define LV_FONT_MONTSERRAT_22 0
#define LV_FONT_MONTSERRAT_24 0
#define LV_FONT_MONTSERRAT_26 0
#define LV_FONT_MONTSERRAT_28 1
#define LV_FONT_MONTSERRAT_30 0
#define LV_FONT_MONTSERRAT_32 0
#define LV_FONT_MONTSERRAT_34 0
#define LV_FONT_MONTSERRAT_36 0
#define LV_FONT_MONTSERRAT_38 0
#define LV_FONT_MONTSERRAT_40 0
#define LV_FONT_MONTSERRAT_42 0
#define LV_FONT_MONTSERRAT_44 0
#define LV_FONT_MONTSERRAT_46 0
#define LV_FONT_MONTSERRAT_48 0 If you found a nice combination, please show a screenshot and the accompanying configuration |
Oh ! Yes I noticed it before and just make a PR with changes. |
Thank you! Please do make sure to make a pull request to the 4.3inch branch, so i can merge it into dev when ready |
Supor.CYD.ESP32-8048S043C._.Part.Studio.1.-.Google.Chrome.2024-03-03.05-02-49.online-video-cutter.com.mp4 |
@suchmememanyskill love this project: |
Good morning,
I made a mistake and purchased a 4.3inch ESP32-8048S043 screen.
This is a capacitative IPS RGB screen with 800*480 pixels and 8m PSRAm and 16M Flash memory.
It is possible to uset with your code?
The text was updated successfully, but these errors were encountered: