- 4
- 20 432
EmbeddedEngineer
Germany
เข้าร่วมเมื่อ 23 เม.ย. 2014
How to ESP32 | how to install the ESPRESSIF IDE - Guide
Hi, in this Video, I am going to show you how to install the ESPRESSIF IDE
links you might need:
- my GitHub : github.com/lucasriepe/embeddedProjects
- ESPRESSIF IDE Download : docs.espressif.com/projects/espressif-ide/en/latest/downloads.html#downloads
- Direct GIT to the IDE : github.com/espressif/idf-eclipse-plugin/blob/master/README.md
- cool ESP32 Dev Board* : amzn.to/3YDNqtA
- ESP32 Board* : amzn.to/3CdQCER
Thanks for watching and leave a like or comment 👍🏻
* affiliate Links
links you might need:
- my GitHub : github.com/lucasriepe/embeddedProjects
- ESPRESSIF IDE Download : docs.espressif.com/projects/espressif-ide/en/latest/downloads.html#downloads
- Direct GIT to the IDE : github.com/espressif/idf-eclipse-plugin/blob/master/README.md
- cool ESP32 Dev Board* : amzn.to/3YDNqtA
- ESP32 Board* : amzn.to/3CdQCER
Thanks for watching and leave a like or comment 👍🏻
* affiliate Links
มุมมอง: 562
วีดีโอ
How to make a GUI for ESP32 7 inch Display from Waveshare with Squareline Studio and LVGL
มุมมอง 15K5 หลายเดือนก่อน
Hi, in this Video, I am going to show you how you can make a working UI for the ESP32 S3 7 inch display from Waveshare. In this Video, I am using the ESPRESSIF IDE and Squareline Studio LVGL links you might need: - The Driver : github.com/lucasriepe/embeddedProjects - The Board (affiliate) : amzn.to/4d58Cii - ESPRESSIF IDE : docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/index....
UPDATE: New Driver with clean main.c and with deactivated Lottie
Did You prepare also something for Arduino on ESP32-S3?
I have a problem when I try to put a .png image. The built in VSC crashes in Ninja with exit code 1. Do you have a solution ?
hello, i face partition error do you have any idea how to solve it ?
Hello, Can you make a video that show how to connect through UART interface with this LCD?\Thanks,
I think the Espressif Eclipse IDE is the perfect fit for me.. Arduino IDE is too simple, it doesn't seem to like jtag-debugging a FreeRTOS project VS Code/PlatformIO is very confusing, way too many scripts, json files configuration, buttons everywhere, I think it's a mess. One question, whenever I building any of the sample projects from the list of templates, I always get a popup warning "Low Application Partition Size" : "Less than 30% of application partition size is free (275,072 of 1,048,576 bytes)" +--------------------------------------------------------------------------------+ | Memory Type/Section | Used [bytes] | Used [%] | Remain [bytes] | Total [bytes] | |---------------------+--------------+----------+----------------+---------------| | Flash Code | 582002 | 6.94 | 7806574 | 8388576 | | .text | 582002 | 6.94 | | | | DRAM | 107608 | 33.49 | 213688 | 321296 | | .text | 78798 | 24.53 | | | | .bss | 16992 | 5.29 | | | | .data | 11768 | 3.66 | | | | Flash Data | 100824 | 1.2 | 8287752 | 8388576 | | .rodata | 100568 | 1.2 | | | | .appdesc | 256 | 0.0 | | | | RTC SLOW | 536 | 6.54 | 7656 | 8192 | | .rtc_reserved | 24 | 0.29 | | | +--------------------------------------------------------------------------------+ The programs seem to work, or at least it downloads to the ESP32C3 device and can be stepped thru.. however, why do I get this error on the example projects, and what's a good way to fix it? I'm concerned that I will run out of space if I adding code (like MicroPython) to any of the examples! BTW, do you use MicroPython on the ESP32 IDE
thank you so much !
thank you
Massively appreciate this video - there's not many resources on this setup. I have created my GUI in Squareline, imported it into Espressif IDE and built successfully. It then ran to the board successfully but I now just have a blank black screen. I am getting a response in the Terminal stating "Hello World" so it must have transferred correctly as I can see in Main.c that that is what its meant to do.
C'est impressionnant , tout a fonctionner de mon coté en suivant votre vidéo. Un gros merci.
I have managed to rotate the screen by copying several files from default "08_lvgl_Porting" example folder (waveshare_rgb_lcd_port.h, waveshare_rgb_lcd_port.c, lvgl_port.h, lvgl_port.c and sdkconfig) to the exported Sqareline studio template folder, I have changed the rotation to 90 grades in the sdkconfig, and it works. There is still one question: do have any shadow-like artifacts on the imported png files? They are seen on dark background, and also seen on Sqareline Studio stock buttons with shadows (glow) effect, or when just pressing the button. On PNG images the shadow artifacts are constant. It is interesting, that these shadow artifacts are in one direction only, in landscape orientation they are on the right of the images, and in portrait orientation they are below the images. Can not understand, what can be the reason.
I had the same problem when using the Arduino IDE when I uploaded it with the eclips ide it worked
@embedengineer I am using ESP-IDF in Visual Studio now, and still have this artifacts, but i will try clear ESP-IDF with Eclypse based on your files.
Thank you for the video and Squareline studio files, I managed to make the project successfully for the 4.3B version of Waveshare ESP32 LCD. One question, that I am struggling at the moment: did you manage to rotate the screen from landscape to portrait orientation? Changing rotation in Squareline Studio does not help, and changing the resolution in main.c through "#define EXAMPLE_LCD_H_RES" & "#define EXAMPLE_LCD_V_RES" just gives flickering screen with lines and inverted colors.
Can you pls open an issue on GitHub ?
I did everything, everything passed and the code was recorded without problems, but it's just a black screen, no apps
Maybe something wrong with the square line instance ?
Open an issue on GitHub pls than I can look it up !
Thank you, bro! From your previous video, I tried to install and replicate it. However, I mistakenly installed the IDF instead of the IDE. After realizing it, I revisited your video and successfully completed the GUI setup. As I mentioned in your last video comment, it would be super helpful if you could teach us how to exchange data between an external microcontroller (MC) and the ESP device to display data and control actions, like sending data back to the external MC. An example with a button, LED, and an external MC would be perfect because there are very few tutorials on using Espressif IDE for such tasks. Your teaching style is clear, and it's easy to follow. Looking forward to it!
I am very pleased that it works directly with so many. I'm currently working on two videos 1. ESP32 display controls relay and ESP32 as usb accessory as stream deck
@@embedengineer I mean its my mistake. not yours and its a great use if we can control relay from display perfect! I dont understand ESP32 as usb accessory as stream deck but im excited. I will wait and follow your teachings thanks!
Una duda, sabes como detectar el botton, tengo conocido de que el botton es ui_button2 pero no se como detectarlo, no me se las funciones, solo quisiera tocar el boton y mostrar un log de que se pico
Estoy haciendo un vídeo al respecto. Pronto estará en línea PD: Google traducido
Muchas gracias, dure un dia entero queriendo cargar interfaz
Amazing job Bro! It looks so simple with your explanations
hi, i made a video for those who want to know how to install the ESPRESSIF IDE -> th-cam.com/video/726Hj0VDrk8/w-d-xo.html
please use open source software like eez studio
You did what Waveshare should have done! Excellent tutorial!
Glad it was helpful!
Great tutorial, after spend many hours with Arduino IDE, your metod works very well. Waiting for next videos. But i have question, i saw that after adding some images to LVGL the ESP IDE shows that bin file is too large. Does the ext flash memeory and psram are used while compiling?
About my question, i sovle it. Read about creating custom partition on csv file. This is information for other people :)
Can you please explain how to change label text or action to push button in Espressif IDE? Some basics. Thank you
I can build the project without errors but can’t seem to load the the display? Do I need to hold boot button or something?
I didn't have to press any buttons. Make sure Squarline's project isn't too big
@@embedengineer ok I just kept getting ‘No such option: -p’
Also on the colour depth should it be 32 or 16 for this panel
Maybe you have a gap in the path to workspace
good video but could you tell me how you managed to get an image to display (Your short) i've managed to load a project onto my display as shown here but as soon as i try to upload any images, i only get a black screen...
I had that problem too, you only can do small pictures. It's trial and error
Now i am trying to decide what to buy and you really helped a looot. So i can use this one with adafruit I2C sensors and also make a complex project?
I2C is a standard and is supported by the display (ESP32S3) so you can do more complex things with it
Thank you!! Fantastic tutorial got it up and running in no time. You're a legend.
Thanks a lot bro. how to get data from external MC to display and vice versa? some example with button, led and external MC would be helpful withit.
I make a video about it, but it is taking some time
@@embedengineer great thanks
How easy would it be to communicate the touch screen inputs to a mega 2560 controlling a bunch of motors??
Not that hard you just need to communicate over a bus like i2c or spi from the esp to the Arduino. Just have in mind that i2c is not that fast! But there are plenty of videos about that topic
Really appreciate the walkthrough! Very clear. I've been wrestling with getting this display to work with Arduino IDE. Have you tried this? I can't seem to find any help and the waveshare wiki walkthrough simply does not work.
Yes, I did that. I just had a lot of problems with the Arduino IDE: coil whine, long compile and bad config with the drivers
@@embedengineer You got a suggestion for a lcd which is easier to get working with ArduinoIDE? Crowpanel perhaps?
can i use these same settings for waveshare lcd 4.3?
@embeddedengineer I also have the 4.3 it's same hardware as 7inch.... Will this work
I look that up!
did you figure it out? I have the same model and this is the only driver I could find
@@embedengineer pls let us know if it works
@@user-or4ny1tu1r Yes it worked for me! Thanks for the great guide @lucasEmbedded !
I have a question about the driver. Did you create it? Or where does it come from?
Hi the driver itself comes from Espressif and I then modified it for squareline
Excelente, gracias por el tutorial, me funcionó a la perfección!
Thank you 👍🏻
Hello, I want to use the screen in portrait mode, so I need to rotate it by 90 degrees. What should I do for this? I am using the code you shared on GitHub.
In the Arduino IDE settings, how should I set up the libraries I'm using? Because right now I'm encountering an issue where the image cuts off by itself. Thank you in advance.
I had many faults with the Arduino IDE that’s why I don’t use it for this display
@@embedengineer What did you try with Arduino IDE? I get it running, runs now the same project i had on my elecrow 7 inch, but the waveshare is so slow, i get 4fps where i get 150 with the elecrow. Did you figure out saomething new with arduino? I cant find a correct esp panel and settings file. Also i have these weird screen drifting errors. Dont know how they cann sell this without the settings files to match the hardware. :(
What expressif idf do you use? Do you try arduino? I try lvgl_Porting example but don't work fine screen have weird behavior (images cuts and misplaced)
This is why I use the original IDE and idf from espressif. I got weird artifacts and coil whine with the arduino IDE. Trust me it is better to learn and use the IDE from espressif. I make a video this week about a little project with the IDE and this display.
@@embedengineer It's possible you make video how to install espressid IDE or a link I can't find the one you use in your video, thanks
How did you solve this problem in the Arduino IDE?
Hello, can you make a video showing how to use the esp to update values on screen, maybe using the onscreen slider
I'll try to finish a video about it this week
@@embedengineer I've been stuck on this for a bit, that will help a lot, thanks so much
I'm also looking forward to know this. Are there any updates about this?
Hi! I would like to ask you why in my square line studio boards folder I don't have any espressif folder where I can insert the waveshare screen driver. Can someone help me? Thanks a lot.
Then you are in the wrong folder! There are two folder watch under user, not under the Program folder.
I believe this video is very helpful for the ESP32 GUI project and is also beneficial for Waveshare's ESP32 7-inch users. It's impressive to see a creator like you put so much effort into making this video. Waveshare should offer you the best product discounts. If you have any ideas about incorporating other new Waveshare products in your future videos, I will definitely provide you with price support!
Thank you very much for the kind words and the offer. I will come back to the offer as soon as I need something for my next projects!
@@embedengineer Fine,You can contact me anytime, anywhere.
Thank you for this very valuable video that has helped me a lot in advancing my project. Keep up the good work. Thank you.
Here's the English translation: Hello, I just bought the same device, but I can't display anything from SquareLine studio. Can you help me? Thank you in advance. Alexis (I'm in France)
Hi I have written my own drivers for squareline studio for the espressif IDE . I am making a video that will probably come out on Monday
@@embedengineer Thank you, I look forward to it, as I'm unable to get it to work. This translation expresses your anticipation and the fact that you're still experiencing difficulties in making the code work. Is there anything specific about the code or the errors you're encountering that you'd like me to address or explain further? I'd be happy to provide more detailed assistance to help you resolve the issues you're facing.
The Video is now Online, sorry for the late upload. It took longer then I thought it would be.
When you want to know how I make it work subscribe and stay tuned, I am going to make a video about it!
Looks great! Always wanted to start a project like this
Go for it! It is fun and when you have questions write it here and I will try to help you 👍🏻