My First Step To Play With ESP32

Hello guys ๐Ÿ‘‹๐Ÿ˜ƒ, welcome to my first chapter with ESP32. So this time I will show you my steps ๐Ÿฆถ in setting up ESP32 so that it can connect to a computer. After being connected to the computer ๐Ÿ’ป, I will show you how to make the ESP32 light blink.




Setup the ESP32

A.Download Arduino IDE

1.Open the arduino IDE downloader from here 

2.Click the text in the red box and adjust it to the OS system that you have. Because I use Windows 64 Bit with version 10, I choose the top part to download the Arduino IDE. Don't forget to always check for the latest version of the Arduino IDE. At the time this blog was created, the latest version of Arduino IDE is version 2.0.3


3.click just download if you just want to download it. But if you have excess money, you can support and give thanks to the Arduino IDE developers by clicking on the contribute & download section.


4.After clicking, there will be a download notification box like the part that is boxed in red and then a questionnaire box will appear which is expected to be filled in. Wait until the download is finished

5.after the download process is complete, then all you have to do is click the download notification that boxed in red earlier , then just click next until there is a finish button at the end of the process


B.Download ESP32 Package 

1.When you open the Arduino IDE application for the first time, you will see a display like the image above. The code is the default form of the Arduino IDE code.

2.To configure the Arduino IDE, click preferences on the file tab


3.Enter the text below into the box that has a red border as shown in the image :

https://dl.espressif.com/dl/package_esp32_index.json



4.Click OK 

5.Open the tools tab, and click board manager as picture shown below



6.Type the keyword esp32 into the search field (blue border in the image), then search for esp32 by Epressif System and click install if you haven't downloaded it (red border in the image). If you have downloaded it, it will say installed (orange border in the image). For this experiment, I used version 1.0.6 for the esp32 package . 


7.Wait until the installation process is complete


C.Download Driver USB to UART

1.Open the following link .

2.Go to the downloads tab and select the software with the latest version and adjust it to your OS system. In this experiment I used the CP210X Universal Windows Driver version 11.2.0.



3.Then a download notification box will appear as shown in the image with a red border

4.Right-click the download box, then select "show in folder"


5. You will be redirected to your own download folder. Create a new Folder called "Driver USB to UART" then move the file we just downloaded to that folder.


6.Right-click on the zip file that we downloaded before and select "extract here"



7.Then plug the Leonardo Wemos Mini NodeMCU Micro USB cable into your computer and your ESP32 . Make sure after plugging in, the ESP32 light is on





8.Then go to Device Manager



9.Click the arrow next to the words ports (COM & LPT)



10.Click → Browse my computer for drives


11.click browse then look for the folder where we extracted the USB to UART driver file before. For now we will select the Driver USB to UART folder which is in the downloads section of our file explorer.



12.click next then your ESP 32 is ready to use !




Make ESP32 Blink

1.Open the Arduino IDE Application

2. Hover into File tab → Example → 01.Basics → Click Blink



3.you will be redirected to a new window that looks like screen . Then add this code: 
#define LED_BUILTIN 2
as shown in the image to define the built in functions we use in this model .


4.Then click the checkmark button



5.Wait until the verification process is complete, then click the upload button



6.Wait a few seconds and the ESP32 light will blinking



FINALLY WE DID IT !!! 



Thank you guys ...... Stay tuned on my next Journey ๐Ÿ˜


Comments

Popular posts from this blog

Project 7 : Connecting ESP32 and our smartphone with bluetooth connection