Replies: 4 comments 3 replies
-
I Have the same issue, but worse, because I don't get a serial response |
Beta Was this translation helpful? Give feedback.
-
Hi, First of all, the However, the esp32-smartdisplay is a library. This is only to test if it compiles. You have to include it somewhere to use it. Goog luck! |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Take a look here: rzeldent/esp32-smartdisplay-demo#43 |
Beta Was this translation helpful? Give feedback.
-
HI
my issue : the ESP32-3248S035C BOARD can't run with the esp32-smartdisplay-demo code.
help need : how to make this board run as proper
I am very new on the platformio and esp32-smartdisplay/sunton. I try clone this link https://github.com/rzeldent/esp32-smartdisplay-demo and I keep them in my local Github folder "esp32-smartdisplay-demo". I open VSC-platformio and open the project by choose the "esp32-smartdisplay-demo" folder which I downloaded . Every thing look good for me but the vsc-platformio show only esp32-1932S019C file in the folder "../.pio/libdeps/" after I open the project for few minute.
I think there is something wrong ,There is no ESP32-3248S035C board which I plan to test on the demo code.
Therefore I think that I should select my boards ESP32-3248S035S in the the .ini file.
So I change some line in the platformio.ini file at the project level by remove the # from that line to be "default envs = esp32-3248S035C".
In the SRC/main.cpp I add "#define BOARD_HAS_RGB_LED 1 and #define BAORD_HAS_CDS 1" on top of main.cpp. I build the project again at this moment there are the additional folder "esp32-3248S035C" made in the .pio/build and .pio/libdeps .There are somes file inside these 2 folders.
After that I think they should be OK to go so I upload to my board, anyway there are nothing display("dark") on the screen , there are no RGB led blinks and they can't show any QR pic, flag pic or any CDS sensor value.
I need help/advise from the community how can I make this board work properly.
Note : I test this board alone by use the TFT_ESPI basic graphic on arduino ,the display work well and all RGB also work well.
//////////////////////////
other test : I test the cloned esp32-smartdisplay-demo with the other boards by remove # from the platformio.ini file. for the esp32-2432S028Rv3 board and the esp32-4880S07C board ,both of them can build , upload and run as the demo code should be.
For the esp32-2432S028Rv3 , it show the RGB-LED blink and the CDS also work in order when I put the hand on the sensors, the sensor value was changed . The display show the count button , rotate button , QR code pic and the flag pic , the screen can rotate when I touch the rotate button.
///////////////////////////////////////////////
my platformio.ini file
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[platformio]
#default_envs = esp32-1732S019C
#default_envs = esp32-1732S019N
#default_envs = esp32-2424S012C
#default_envs = esp32-2424S012N
#default_envs = esp32-2432S022N
#default_envs = esp32-2432S022C
#default_envs = esp32-2432S024C
#default_envs = esp32-2432S024N
#default_envs = esp32-2432S024R
#default_envs = esp32-2432S028R
#default_envs = esp32-2432S028Rv2
#default_envs = esp32-2432S028Rv3
#default_envs = esp32-2432S032C
#default_envs = esp32-2432S032N
#default_envs = esp32-2432S032R
default_envs = esp32-3248S035C
#default_envs = esp32-3248S035R
#default_envs = esp32-4827S043C
#default_envs = esp32-4827S043N
#default_envs = esp32-4827S043R
#default_envs = esp32-4848S040CIY1
#default_envs = esp32-4848S040CIY3
#default_envs = esp32-8048S043C
#default_envs = esp32-8048S043N
#default_envs = esp32-8048S043R
#default_envs = esp32-8048S050C
#default_envs = esp32-8048S050N
#default_envs = esp32-8048S050R
#default_envs = esp32-8048S070C
#default_envs = esp32-8048S070N
#default_envs = esp32-8048S070R
#default_envs = esp32-s3touchlcd7
[env]
platform = espressif32
framework = arduino
monitor_speed = 115200
monitor_rts = 0
monitor_dtr = 0
monitor_filters = esp32_exception_decoder
build_flags =
-Ofast
-Wall
'-D BOARD_NAME="${this.board}"'
'-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_INFO'
#'-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG'
#'-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_VERBOSE'
'-D LV_CONF_PATH=${platformio.include_dir}/lv_conf.h'
lib_deps =
https://github.com/rzeldent/esp32-smartdisplay#develop
[env:esp32-1732S019C]
board = esp32-1732S019C
[env:esp32-1732S019N]
board = esp32-1732S019N
[env:esp32-2424S012C]
board = esp32-2424S012C
[env:esp32-2424S012N]
board = esp32-2424S012N
[env:esp32-2432S022N]
board = esp32-2432S022N
[env:esp32-2432S022C]
board = esp32-2432S022C
[env:esp32-2432S024C]
board = esp32-2432S024C
[env:esp32-2432S024N]
board = esp32-2432S024N
[env:esp32-2432S024R]
board = esp32-2432S024R
[env:esp32-2432S028R]
board = esp32-2432S028R
[env:esp32-2432S028Rv2]
board = esp32-2432S028Rv2
[env:esp32-2432S028Rv3]
board = esp32-2432S028Rv3
[env:esp32-2432S032C]
board = esp32-2432S032C
[env:esp32-2432S032N]
board = esp32-2432S032N
[env:esp32-2432S032R]
board = esp32-2432S032R
[env:esp32-3248S035C]
board = esp32-3248S035C
[env:esp32-3248S035R]
board = esp32-3248S035R
[env:esp32-4827S043C]
board = esp32-4827S043C
[env:esp32-4827S043R]
board = esp32-4827S043R
[env:esp32-4827S043N]
board = esp32-4827S043N
[env:esp32-4848S040CIY1]
board = esp32-4848S040CIY1
[env:esp32-4848S040CIY3]
board = esp32-4848S040CIY3
[env:esp32-8048S043C]
board = esp32-8048S043C
[env:esp32-8048S043N]
board = esp32-8048S043N
[env:esp32-8048S043R]
board = esp32-8048S043R
[env:esp32-8048S050C]
board = esp32-8048S050C
[env:esp32-8048S050N]
board = esp32-8048S050N
[env:esp32-8048S050R]
board = esp32-8048S050R
[env:esp32-8048S070C]
board = esp32-8048S070C
[env:esp32-8048S070N]
board = esp32-8048S070N
[env:esp32-8048S070R]
board = esp32-8048S070R
[env:esp32-s3touchlcd7]
board = esp32-s3touchlcd7
[env:esp32-2432W328C]
board = esp32-2432W328C
[env:esp32-8048S550C]
board = esp32-8048S550C
////////////////////////////////////////////////////////////
Some result after build
Resolving esp32-3248S035C dependencies...
Library Manager: Installing git+https://github.com/rzeldent/esp32-smartdisplay#develop
git version 2.46.0.windows.1
Cloning into 'C:\Users\Admin.platformio.cache\tmp\pkg-installing-ciua22_y'...
Submodule 'boards' (https://github.com/rzeldent/platformio-espressif32-sunton.git) registered for path 'boards'
Cloning into 'C:/Users/Admin/.platformio/.cache/tmp/pkg-installing-ciua22_y/boards'...
Submodule path 'boards': checked out 'ae8d611a0ed8dacc744246bcaabd6711ccf793e9'
Library Manager: [email protected]+sha.08d0ce2 has been installed!
Library Manager: Resolving dependencies...
Library Manager: Installing lvgl/lvgl @ ^9.2.0
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Library Manager: [email protected] has been installed!
Updating metadata for the vscode IDE...
Project has been successfully updated!
//////////////////////////////////
the response from boards on serial
--- Terminal on com10 | 115200 8-N-1
--- Available filter ............. bababa
---- More detail ...... bababa
---- Quit.......bababa
[5030][I][main.cpp:30] setup(): Boards;esp32-3248S035C
[5036][I][main.cpp:31] setup(): CPU;ESP32-D0WD-V3 rev3,CPU Freq 240 MHz,
2 cores
[5044][I][main.cpp:32] setup(): Freeheap : 277652 bytes
[5050][I][main.cpp:33] setup(): FreePSRAM : 0 bytes
[5054][I][main.cpp:34] setup(): SDK version : v4.4.7-dirty
Beta Was this translation helpful? Give feedback.
All reactions