IOT-Solution examples on ESP-wrover-kit V3
IOT-Solution examples on ESP-wrover-kit V3
Hi,
i need to know if it is possible to run IOT-Solution examples on ESP-wrover-kit V3?
i like to run HMI-->lvgl_example with TFT lcd that is already installed on ESP-wrover-kit V3
thank you
i need to know if it is possible to run IOT-Solution examples on ESP-wrover-kit V3?
i like to run HMI-->lvgl_example with TFT lcd that is already installed on ESP-wrover-kit V3
thank you
Re: IOT-Solution examples on ESP-wrover-kit V3
any comment?
-
- Posts: 47
- Joined: Thu Dec 20, 2018 9:47 am
Re: IOT-Solution examples on ESP-wrover-kit V3
As a general rule it will not be possible to assume that each and every example will run unmodified on an ESP-WROVER-KIT V3. It will depend on whether the required hardware is present and connected to the ESP-WROVER-KIT V3 the way the software wants it to be connected.i need to know if it is possible to run IOT-Solution examples on ESP-wrover-kit V3?
With a few modifications it's possible to get the lvgl_example to run on an ESP-WROVER-KIT V3. Here's what I did:i like to run HMI-->lvgl_example with TFT lcd that is already installed on ESP-wrover-kit V3
- Run make menuconfig and in "LVGL Settings" turn "LittlevGL Touch Screen Enable" off as the ILI9341 display on a ESP-WROVER-KIT V3 isn't a touch screen.
- Run make menuconfig and in "LVGL Settings >> Config Driver" set the screen driver to "Choose Screen Driver (ILI9341)"
- Run make menuconfig and in "LVGL Settings >> Config Driver >> ILI9341 Screen Pin Configuration" set all the GPIO numbers to the correct values.
A few software changes are also needed.
Because the ILI9341 display on a ESP-WROVER-KIT V3 isn't a touch screen the following lines in app_main.cpp were commented out:
this one:
Code: Select all
lv_indev_drv_t indevdrv = lvgl_indev_init(); /*Initialize your indev*/
Code: Select all
lvgl_calibrate_mouse(indevdrv);
Code: Select all
.bckl_active_level = 1,
Code: Select all
.bckl_active_level = 0,
Re: IOT-Solution examples on ESP-wrover-kit V3
thank you, but i still have problem the screen is black and if i press EN (SW1) the screen comes up with trend for a second and goes back to black screen
-
- Posts: 47
- Joined: Thu Dec 20, 2018 9:47 am
Re: IOT-Solution examples on ESP-wrover-kit V3
The same thing happened to me too the first time I tried it
Did you modify the correct line ILI9341_adapter.cpp?
The line to modifiy looks like this:
This line appears twice in ILI9341_adapter.cpp. The first occurance is for µGFX and the second occurance is for LittlevGL. It's the second occurance that needs to be modified to:
Please ensure that you have modified the correct line.
Did you modify the correct line ILI9341_adapter.cpp?
The line to modifiy looks like this:
Code: Select all
.bckl_active_level = 1,
Code: Select all
.bckl_active_level = 0,
Re: IOT-Solution examples on ESP-wrover-kit V3
yep you were correct, got it, working now
i like to run the full feature of littleVGL on touch screen with my esp-wrover-kit v3, any touch screen that you recommend i buy to connect to this board?
thanks again with your help on this
i like to run the full feature of littleVGL on touch screen with my esp-wrover-kit v3, any touch screen that you recommend i buy to connect to this board?
thanks again with your help on this
-
- Posts: 132
- Joined: Thu Nov 15, 2018 2:06 am
Re: IOT-Solution examples on ESP-wrover-kit V3
Hi, you can buy the xpt2046 touch screen because its driver is already in the iotsolution.This can help you develop quickly
Re: IOT-Solution examples on ESP-wrover-kit V3
thanks, any capacitance touch with bigger screen?
-
- Posts: 47
- Joined: Thu Dec 20, 2018 9:47 am
Re: IOT-Solution examples on ESP-wrover-kit V3
I was also going to suggest an LCD module with an ILI9341 LCD driver chip and an XPT2046 touch screen controller.
One like this that actually has the XPT2046 touch screen controller soldered on.
And not one like this that looks more or less identical but doesn't have the XPT2046 touch screen controller soldered on.
That being said, I'm not sure if you'll face issues connecting a second LCD to the ESP32-WROVER_KIT. It's not something I've tried.
One like this that actually has the XPT2046 touch screen controller soldered on.
And not one like this that looks more or less identical but doesn't have the XPT2046 touch screen controller soldered on.
That being said, I'm not sure if you'll face issues connecting a second LCD to the ESP32-WROVER_KIT. It's not something I've tried.
-
- Posts: 132
- Joined: Thu Nov 15, 2018 2:06 am
Re: IOT-Solution examples on ESP-wrover-kit V3
Iotsolution provides a ft5x06 touchscreen driver for larger screens.
Who is online
Users browsing this forum: No registered users and 32 guests