How to Make ESP32 Built-In LED Blink
Hello.. As you can see in the title of this blog, we are going to make our ESP32 microcontroller built-in LED blink.
Here’s what you need to prepare in order to do that.
Requirements
- Any kind of ESP32 microcontroller board
- A PC or laptop
- Arduino IDE software installed on the PC
- Micro-USB to USB cable
And then, let’s do these steps one by one in order to complete our goal!
Steps
- Turn on your PC/laptop and open the Arduino IDE that we’ve installed before.
- Connect your ESP32 board to your PC using your Micro-USB to USB cable.
3. For the initial ESP32 board setup, in your Arduino IDE, go to Tools > Board > ESP32 Arduino > and choose what type of ESP32 board you are using, in my case I’m using “DOIT ESP32 DEVKIT V1”.
4. And then, again, in your Arduino IDE go to Tools > Port > and choose COM3.
5. After the initial setup, we can begin to write the code for our project. You can just put in the code as the image below.
6. Next, you just have to click upload (the arrow that points to the right, circled red).
7. Wait for the IDE to compile, and you have your built-in LED blink!
That’s it y’all, thanks for reading!