EmbeddedEngineer
EmbeddedEngineer
  • 4
  • 21 743
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
Переглядів: 630

Відео

How to make a GUI for ESP32 7 inch Display from Waveshare with Squareline Studio and LVGL
Переглядів 16 тис.5 місяців тому
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....

КОМЕНТАРІ

  • @avitia0330
    @avitia0330 10 годин тому

    Thank you so much, I was close to quit trying to make this hmi work, but now it is done

  • @embedengineer
    @embedengineer 10 днів тому

    UPDATE: New Driver with clean main.c and with deactivated Lottie

  • @nikolatesla3232
    @nikolatesla3232 14 днів тому

    Did You prepare also something for Arduino on ESP32-S3?

  • @vthangachiebigfan3862
    @vthangachiebigfan3862 16 днів тому

    hello, i face partition error do you have any idea how to solve it ?

  • @22721854
    @22721854 26 днів тому

    Hello, Can you make a video that show how to connect through UART interface with this LCD?\Thanks,

  • @bennguyen1313
    @bennguyen1313 29 днів тому

    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

  • @midou_mc
    @midou_mc Місяць тому

    thank you so much !

  • @2kilhun
    @2kilhun Місяць тому

    thank you

  • @LiamHorsfield-m8s
    @LiamHorsfield-m8s Місяць тому

    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.

    • @abinantony404
      @abinantony404 2 дні тому

      How you solved that issue

    • @abinantony404
      @abinantony404 2 дні тому

      I too have the same issue a black display what to do

    • @liamhorsfield6018
      @liamhorsfield6018 2 дні тому

      I got distracted with another esp project and a new 3D printer so didn't resolve it ... Will be retrying with the help of AI in the next week or so

  • @PE-Grenier
    @PE-Grenier Місяць тому

    C'est impressionnant , tout a fonctionner de mon coté en suivant votre vidéo. Un gros merci.

  • @Gdenich
    @Gdenich Місяць тому

    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.

    • @embedengineer
      @embedengineer Місяць тому

      I had the same problem when using the Arduino IDE when I uploaded it with the eclips ide it worked

    • @Gdenich
      @Gdenich Місяць тому

      @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.

  • @Gdenich
    @Gdenich Місяць тому

    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.

    • @embedengineer
      @embedengineer Місяць тому

      Can you pls open an issue on GitHub ?

  • @milosradovic3387
    @milosradovic3387 Місяць тому

    I did everything, everything passed and the code was recorded without problems, but it's just a black screen, no apps

    • @embedengineer
      @embedengineer Місяць тому

      Maybe something wrong with the square line instance ?

    • @embedengineer
      @embedengineer Місяць тому

      Open an issue on GitHub pls than I can look it up !

  • @murugesh9338
    @murugesh9338 2 місяці тому

    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!

    • @embedengineer
      @embedengineer 2 місяці тому

      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

    • @murugesh9338
      @murugesh9338 Місяць тому

      ​@@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!

  • @joseandrespereztalamantes5643
    @joseandrespereztalamantes5643 2 місяці тому

    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

    • @embedengineer
      @embedengineer 2 місяці тому

      Estoy haciendo un vídeo al respecto. Pronto estará en línea PD: Google traducido

  • @joseandrespereztalamantes5643
    @joseandrespereztalamantes5643 2 місяці тому

    Muchas gracias, dure un dia entero queriendo cargar interfaz

  • @ludovicdestrebecq6417
    @ludovicdestrebecq6417 2 місяці тому

    Amazing job Bro! It looks so simple with your explanations

  • @embedengineer
    @embedengineer 2 місяці тому

    hi, i made a video for those who want to know how to install the ESPRESSIF IDE -> ua-cam.com/video/726Hj0VDrk8/v-deo.html

  • @terlumunjoseph6779
    @terlumunjoseph6779 2 місяці тому

    please use open source software like eez studio

  • @PietervandenBroek-e2x
    @PietervandenBroek-e2x 2 місяці тому

    You did what Waveshare should have done! Excellent tutorial!

  • @apaczenko1993
    @apaczenko1993 2 місяці тому

    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?

    • @apaczenko1993
      @apaczenko1993 2 місяці тому

      About my question, i sovle it. Read about creating custom partition on csv file. This is information for other people :)

  • @radekva
    @radekva 3 місяці тому

    Can you please explain how to change label text or action to push button in Espressif IDE? Some basics. Thank you

  • @andrewboggis3174
    @andrewboggis3174 3 місяці тому

    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?

    • @embedengineer
      @embedengineer 3 місяці тому

      I didn't have to press any buttons. Make sure Squarline's project isn't too big

    • @andrewboggis3174
      @andrewboggis3174 3 місяці тому

      @@embedengineer ok I just kept getting ‘No such option: -p’

    • @andrewboggis3174
      @andrewboggis3174 3 місяці тому

      Also on the colour depth should it be 32 or 16 for this panel

    • @radekva
      @radekva 3 місяці тому

      Maybe you have a gap in the path to workspace

  • @JaiisTiips
    @JaiisTiips 3 місяці тому

    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...

    • @embedengineer
      @embedengineer 3 місяці тому

      I had that problem too, you only can do small pictures. It's trial and error

  • @thetraveller3840
    @thetraveller3840 3 місяці тому

    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?

    • @embedengineer
      @embedengineer 3 місяці тому

      I2C is a standard and is supported by the display (ESP32S3) so you can do more complex things with it

  • @trosato128
    @trosato128 3 місяці тому

    Thank you!! Fantastic tutorial got it up and running in no time. You're a legend.

  • @murugesh9338
    @murugesh9338 3 місяці тому

    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.

    • @embedengineer
      @embedengineer 3 місяці тому

      I make a video about it, but it is taking some time

    • @murugesh9338
      @murugesh9338 3 місяці тому

      @@embedengineer great thanks

  • @hungsolo5562
    @hungsolo5562 3 місяці тому

    How easy would it be to communicate the touch screen inputs to a mega 2560 controlling a bunch of motors??

    • @embedengineer
      @embedengineer 3 місяці тому

      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

  • @samvanroy4921
    @samvanroy4921 3 місяці тому

    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.

    • @embedengineer
      @embedengineer 3 місяці тому

      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

    • @samvanroy4921
      @samvanroy4921 3 місяці тому

      @@embedengineer You got a suggestion for a lcd which is easier to get working with ArduinoIDE? Crowpanel perhaps?

  • @Printer-CR
    @Printer-CR 3 місяці тому

    can i use these same settings for waveshare lcd 4.3?

    • @Bondango
      @Bondango 3 місяці тому

      @embeddedengineer I also have the 4.3 it's same hardware as 7inch.... Will this work

    • @embedengineer
      @embedengineer 3 місяці тому

      I look that up!

    • @user-or4ny1tu1r
      @user-or4ny1tu1r 3 місяці тому

      did you figure it out? I have the same model and this is the only driver I could find

    • @user-or4ny1tu1r
      @user-or4ny1tu1r 3 місяці тому

      @@embedengineer pls let us know if it works

    • @pascallinder7754
      @pascallinder7754 2 місяці тому

      @@user-or4ny1tu1r Yes it worked for me! Thanks for the great guide @lucasEmbedded !

  • @m4l490n
    @m4l490n 4 місяці тому

    I have a question about the driver. Did you create it? Or where does it come from?

    • @embedengineer
      @embedengineer 4 місяці тому

      Hi the driver itself comes from Espressif and I then modified it for squareline

  • @jjsoberanes-1
    @jjsoberanes-1 4 місяці тому

    Excelente, gracias por el tutorial, me funcionó a la perfección!

  • @disijumper
    @disijumper 5 місяців тому

    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.

  • @budsakorn3049
    @budsakorn3049 5 місяців тому

    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.

    • @embedengineer
      @embedengineer 5 місяців тому

      I had many faults with the Arduino IDE that’s why I don’t use it for this display

    • @Price_Frank
      @Price_Frank 3 місяці тому

      @@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. :(

  • @SinuheZubieta
    @SinuheZubieta 5 місяців тому

    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)

    • @embedengineer
      @embedengineer 5 місяців тому

      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.

    • @SinuheZubieta
      @SinuheZubieta 5 місяців тому

      @@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

    • @budsakorn3049
      @budsakorn3049 5 місяців тому

      How did you solve this problem in the Arduino IDE?

  • @anshulchawla1347
    @anshulchawla1347 5 місяців тому

    Hello, can you make a video showing how to use the esp to update values on screen, maybe using the onscreen slider

    • @embedengineer
      @embedengineer 5 місяців тому

      I'll try to finish a video about it this week

    • @anshulchawla1347
      @anshulchawla1347 5 місяців тому

      @@embedengineer I've been stuck on this for a bit, that will help a lot, thanks so much

    • @m4l490n
      @m4l490n 4 місяці тому

      I'm also looking forward to know this. Are there any updates about this?

  • @gabrywbr99
    @gabrywbr99 5 місяців тому

    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.

    • @embedengineer
      @embedengineer 5 місяців тому

      Then you are in the wrong folder! There are two folder watch under user, not under the Program folder.

  • @Waveshare_Ruan
    @Waveshare_Ruan 5 місяців тому

    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!

    • @embedengineer
      @embedengineer 5 місяців тому

      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!

    • @Waveshare_Ruan
      @Waveshare_Ruan 5 місяців тому

      @@embedengineer Fine,You can contact me anytime, anywhere.

  • @alexisolivan7712
    @alexisolivan7712 5 місяців тому

    Thank you for this very valuable video that has helped me a lot in advancing my project. Keep up the good work. Thank you.

  • @alexisolivan7712
    @alexisolivan7712 5 місяців тому

    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)

    • @embedengineer
      @embedengineer 5 місяців тому

      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

    • @alexisolivan7712
      @alexisolivan7712 5 місяців тому

      @@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.

    • @embedengineer
      @embedengineer 5 місяців тому

      The Video is now Online, sorry for the late upload. It took longer then I thought it would be.

  • @embedengineer
    @embedengineer 6 місяців тому

    When you want to know how I make it work subscribe and stay tuned, I am going to make a video about it!

  • @derechtedev9411
    @derechtedev9411 7 місяців тому

    Looks great! Always wanted to start a project like this

    • @embedengineer
      @embedengineer 7 місяців тому

      Go for it! It is fun and when you have questions write it here and I will try to help you 👍🏻