Setup ESP32 - Beginner friendly tutorial - PlaformIO - LilyGO

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi this is involved Innovation YouTube channel in this video we will see about how to set up the esp32 S3 Lego development kit to your workstation we will see this following Topic in the video first we will see about unboxing the Lego aesp 32 s3d display and then we will reinstall python then we will install Visual Studio code then we will set up the platform IO plugin in the visual studio code this is our primary IDE for the development and here we will set up the esp32 S3 platform here in platform IO then we will build and deploy the sample project in the liligo esp32 and for this we will use a project in the GitHub repository we will also resolve some issues like platform IO IDE build not found issue first we will see about unboxing liligote display comes with a nice box and secured with sponge this development kit comes with USBC Port which really good considering the USBC data cable is most prevalent now for this we need a USBC data cable connect the USBC data cable to the laptop and to the liligo esp32s3 this comes pre-loaded with a code which you can find in the GitHub repository this code will list all the Wi-Fi connectivity available and then it will connect to the predefined Wi-Fi connectivity which is specified in the code after that we will get a error stating connection time mode since this Wi-Fi is not recent the board looks really nice in the side when the LCD is glowing the resolution of the LCD is 170 into 320 pixels this also comes with a battery connector plus wire this comes with a three button one the key button next the boot button and then we have a reset button so for this liligote display it uses esp32 S3 board first we will install python go to the python.org and navigate to downloads and select the operating system of your choice in the download page click the link python 3.10.7 this will initiate the python 3.10.7.exe download click customize installation then click next check everything including pre-compile standard Library download debugging symbols and download debug binaries change the installation location to a desired folder and then click install once the installation is completed click disable path length limit check and then click close now we have installed the python to verify if the python installed correctly open the command prompt click the Windows button and enter the command CMD and enter the command python here we can able to see the python version as 3.10.7 python is installed successfully now we need to install the visual studio code installing the visual studio code is pretty simple and straightforward Visual Studio code is an open source project from the Microsoft go to the website code.visualstudio.com and select the operating system of your choice here I select the download for Windows link this will initiate the visual studio code installer for Windows double click the installer exe this will initiate the visual studio code installation in my case I have already installed the visual studio code so I skipped the installation if you have any queries or if you have any issues I have a video tutorial for installing the visual studio code the link of which I have provided in the description now open the visual studio code and click the extensions in the left navigation bar and enter platform IO in the search bar select the platform IDE plugin and click install this will initiate the platform IDE plugin installation in the visual studio code once it is done restart the visual studio code now you can able to see a new platform ID button in the left navigation bar now click the platform IO IDE button now go to the platforms under Pio home and select the embedded tab and in the filter section enter esp32 iPhone S3 space devil kit C iPhone 1 and click install button now we will build and deploy a sample project from the GitHub Now navigate to the directory where you want to place the sample code now if you have git installed in your machine then you can use the git clone command to get the sample code if you are not having it installed in your machine then you can download the zip directly from the GitHub I recommend using the kit I have a video where I have installed the git the link of which I have provided in the description now enter the command git clone followed by the repo link I have provided the drapo link in the description this will download the code from the Repository now go to the visual studio code and select the platform IO button in the left navigation bar it will open the platform IO IDE here go to the home and click open project I navigate to the folder where you have downloaded the sample project fill my GitHub and navigate to example folder then to TFT folder and click open TFT button this will open the project in the platform IO IDE if you click the tick symbol in the bottom we will get a error command stating platform IDE build not found this is because the platform IO is still loading the task which you can see in the bottom status bar so wait till it completes loading the task you can also see the detailed error by navigating to the help and then toggle developer tools in the drop down menu this will be very handy if you have other issues and if you want to understand the detailed error in some instances the visual studio code might still use the old version of python to get part version of python the visual studio code uses go to the terminal and start new terminal and here enter the command python here the python version is 3.6.0 we have installed the latest version as 3.10.7 here the python version doesn't match here it still uses the old version if you don't have this issue then skip this section here it uses the python installation from conda to update the python version in the conda enter the command conda update iPhone all and enter y when it prompts proceed yes or no once the installation is done restart the visual studio code once the visual studio code is restarted enter the command python to validate if the python is updated successfully now the python is updated successfully we can able to see the python version as 3.10.7 now wait till the platform IO loading task completes once done make sure you have connected the esp32 to a laptop through the data cable one good thing with the platform IO IDE is it will automatically identify the plugged in device and you can see that by going to the device tab in the left navigation bar now click the tick button in the status bar this will build the project once the project build is successful press the boot Button in the esp32 and hold while keeping the boot Button pressed click the upload button in the status bar which is a right arrow now your esp32 will get this updated code and once it is done it will get restarted and this code will be uploaded and started in esp32 now we can able to see the modified code gets booted in the esp32 now we can do some modifications in the code go to the tft.imo file and modify the string in the line number 31 32 and 33. I'm modifying the string as involved innovation in line number 31 and YouTube channel line number 32 and subscribe for more technical content in line number 33. now click the build button in the status bar which is a tick button once it is built press and hold the boot Button in the esp32 and while holding the boot Button in the esp32 click the upload button in the status bar and this is the right arrow button this will push the code to the esp32s3 now the esp32 will get restarted and we can able to see our changes once it is booted again thanks for watching this video for more videos on computer science topics subscribe to this channel like this video if you feel this content is helpful share it with your friends
Info
Channel: InvolveInInnovation
Views: 24,897
Rating: undefined out of 5
Keywords: esp32, s3, iot, platformio, arduino, raspberrypi, easy, tutorial, setup, complete, Beginner, visual, studio, code, vscode
Id: wbf24XywM10
Channel Id: undefined
Length: 9min 46sec (586 seconds)
Published: Wed Oct 12 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.