Replies: 21 comments 50 replies
-
I get this error when I try to compile: "InvalidProjectConfError: Invalid '/workspace/openHASP/platformio.ini' (project configuration file): 'No section: 'sunton-esp32-s3-tft''" What lib_deps did you add to your platformio.ini? |
Beta Was this translation helpful? Give feedback.
-
Worked for me following this guide: And afterward adding the ini in user_setups/esp32s3/.ini Then in the override file (see the guide) set
and
restarting VS code, wait a long time, then build and flash Thanks @jan1678 for the ini, helped me a lot. Would be great if deactivating backlight will work at some point in future (but is looks like that's a bit complicated on this board). |
Beta Was this translation helpful? Give feedback.
-
Thanks for sharing! Working like a charme for me. I checked and could not find an example of how to handle an io expander via i2c for a dedicated board. This would be needed to use back light without soldering... One idea is to write a custom thing and somehow listen to the event and init i2c and control the back light from there. Also only on/off would work but better than no back light control at all. |
Beta Was this translation helpful? Give feedback.
-
Hi, some good and bad news ;) Here is the link to the waveshare page and file: Seems that someone should commit the code, before we can use it! Waveshare? dunno how wrote it... I copied the lib and initialized it in a my_custom.cpp file, and turn of the backlight if sleep !=0... not perfect but working. |
Beta Was this translation helpful? Give feedback.
-
Can you share a working .bin file? |
Beta Was this translation helpful? Give feedback.
-
After deep look in schematic from our display I've found solution (not perfect) to get PWM Backlight and when we mix "wire solution" (thanks to tuct ) , driver solution to control EXIO2 (thanks to tuct) and remove two components, (resistor and capacitor) then we get full solution to display ON, OFF and DIM. Because on our display, EXIO2 control not only LED driver but also DISP signal on LCD Display, then simple PWM on EXIO2 will lower voltage also on DISP and as effect will switch off display logic - display to standby. Separating backlight driver (removing resistor) from DISP signal we can get DIM function - Display setting - GPIO6. Removing capacitor is necessary because BACKLIGHT driver need PWM and not analogue signal. B.R. Adam |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for posting this! I just received this board today, flashed it and am working on my configuration. I also got a 1500 mAh battery and the board seems to work fine with it (I had to reverse the wires of the battery). The board has a charging circuit in it so hopefully I can use it wirelessly. Note that if you want to charge a battery, read the specs about what it supports and connect the USB-C port labeled UART. The other USB-C port won't charge the battery. My wishlist:
Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Hi guys, Best |
Beta Was this translation helpful? Give feedback.
-
have you made any changes to the ini file? or the one you posted last month is the latest version? |
Beta Was this translation helpful? Give feedback.
-
Hi All, What works is the fix already mentioned above => de-couple the backlight and display pin by removing 2 components and than add a wire to use PIN6 of the MCU (=Sensor AD) to control the PWM signal for the backlight. This works for me now without issues and just the default config for display on openHasp + home assistant can also control the backlight. |
Beta Was this translation helpful? Give feedback.
-
hi guys, I can't make the program work, it always gives me the error InvalidProjectConfError: Invalid '/workspace/openHASP/platformio.ini' (project configuration file): 'No section: 'sunton-esp32-s3-tft''" someone can you explain each step? |
Beta Was this translation helpful? Give feedback.
-
I managed to compile the firmware. the brightness of the display works perfectly. Thank you |
Beta Was this translation helpful? Give feedback.
-
20240301_183012.mp4 |
Beta Was this translation helpful? Give feedback.
-
This also works for the 7 inch version, esp32-s3-touch-lcd-7 thank you, managed to compile using gitpod and uploaded with esp flash tool. This board also has the IO_Expander, connecting GPIO6 to the control pin of the AP3032 seems to work fine even dimming. |
Beta Was this translation helpful? Give feedback.
-
Great job, can someone upload his bin for me? I'm too stupid to create |
Beta Was this translation helpful? Give feedback.
-
Hi Jan1678, |
Beta Was this translation helpful? Give feedback.
-
the code above works on my own waveshare panel. |
Beta Was this translation helpful? Give feedback.
-
Can someone plz link a.bin file for my 3.4inch version? ill do the backlight mod too, but want to check, if its working before i update. i can create my own bin, its not working. is there a tutorial, how to make this bin file? i tried this: https://openhasp.haswitchplate.com/0.7.0/firmware/compiling/local/ but i dont know, where to put all that stuff, there written into vscode |
Beta Was this translation helpful? Give feedback.
-
I loaded the linked bin here and modded my display with GPIO6 - works like a charm. very nice. thx u all ;) PS: Im using my Andonstar Microskope - and it was easy https://www.amazon.de/gp/product/B09VPPS96M But i need to ask. how do i manage, that my display goes off, after a few? in the display settings i checked all, but its not sleeping. if im using "invert BL", it goes off, so it should work ^^ Edit: Found is, u can use the idle scripts. https://www.openhasp.com/0.7.0/commands/scripts/ Put in: backlight {"brightness":x} - where X is a value between 0-255. BUT.....its making noise, when not 100% brightness - i think, its because of the PWM signal ^^ |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi, I try to install on a waveshare ESP32-S3-Touch-LCD-7 with multiple variants from the nigthly, at least sunton 8084S070C show something in console, but I am not able to install a version, where I can see openhasp configuration on the display. I also try some rc13 files. If I understand it correct, soldering is necessary for dimming or switch of, without soldering backlight should be on. Board version is VER1.1. Any hints how I can get it running? Update:
|
Beta Was this translation helpful? Give feedback.
-
Hi together,
just in case it might be useful for anybody: I managed to compile openHASP 0.7 using the proposed workflow on gitpod.io for the new
Waveshare ESP32-S3 4.3inch Capacitive Touch Display Development Board, 800×480, 5-point Touch, 32-bit LX7 Dual-core Processor
using the information in the documentation (https://www.waveshare.com/esp32-s3-touch-lcd-4.3.htm and https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-4.3) by adapting the makerfabs-s3-tft4x-rgb.ini
Here is my ini-File. I'm not claiming to understand every bit of it, but it works :-) Enjoy :-)
Beta Was this translation helpful? Give feedback.
All reactions