Replies: 3 comments 16 replies
-
|
Hi there, thanks for checking out openHASP. Which binary file have you uploaded to the board? The pins for the display are pre-defined in the firmware, so you probably need a custom build that uses the ILI9341 driver and these pins:
This translates to a openHASP configuration: ;region -- TFT_eSPI build options ------------------------
${lcd.ili9341}
-D TFT_MISO=25
-D TFT_MOSI=23
-D TFT_SCLK=19
-D TFT_DC=21
-D TFT_CS=22
-D TFT_RST=18 ; RESET
-D TFT_BCKL=5 ; Default, configurable via web UI (e.g. 21)
;endregionCustomizing the firmware and adding a custom display configuration with limited ESP knowledge is a bit like jumping in the deep-end! 😃 I'm sure this board can run openHASP, but without having access to the hardware the initial setup is going to be a bit trial-and-error. One of the reasons we don't have built-in support for this device is because there is no touch capability. |
Beta Was this translation helpful? Give feedback.
-
|
You can define a new config in ; -- Custom Environment configuration example -----------------
[env:my_custom_build]
extends = esp32
board = esp32dev
board_build.partitions = user_setups/esp32/partitions_4MB.csv ; default.csv
upload_port = COM3
monitor_port = COM3
monitor_filters = esp32_exception_decoder
debug_tool = esp-prog
debug_init_break = tbreak setup
build_flags =
${env.build_flags}
${esp32.build_flags}
;region -- TFT_eSPI build options ------------------------
${lcd.ili9341}
-D TFT_MISO=25
-D TFT_MOSI=23
-D TFT_SCLK=19
-D TFT_DC=21
-D TFT_CS=22
-D TFT_RST=18 ; RESET
-D TFT_BCKL=5 ; Default, configurable via web UI (e.g. 21)
;endregion
lib_deps =
${env.lib_deps}
${esp32.lib_deps}
lib_ignore =
${env.lib_ignore}
${esp32.lib_ignore}Make sure you have a file -D ILI9341_DRIVER=1
-D TFT_WIDTH=240
-D TFT_HEIGHT=320
-D TFT_ROTATION=0 ; Use default, see TFT_ROTATION values
-D SPI_FREQUENCY=40000000
-D SPI_READ_FREQUENCY=20000000
-D USER_SETUP_LOADED=1
-D SUPPORT_TRANSACTIONSIf it can't find ${lcd.ili9341}, then just replace the line with those extra defines in your |
Beta Was this translation helpful? Give feedback.
-
|
Ok I'll have to have a play and see if I can figure out how its done. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm looking for help in trying to get openHasp running on a Espressif ESP32 WROVER E KIT 4.1 https://www.adafruit.com/product/3384 I've tried everything I can think off and I just keep hitting a brick wall, I'm a newbe to ESP.
I've been using the detail from https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-wrover-kit.html for the pinouts for the LCD screen but the most I get is a blank white screen, the back end works ie captive portal.
Beta Was this translation helpful? Give feedback.
All reactions