Project 1: ESP32 LED Blink
Hello! My name is Alvito Rizqi and this article is a tutorial on how to use ESP32 with Arduino and how to make a blink from ESP32.
Required Hardware and Software
- ESP32 Devkit V1

2. Micro USB cable
3. Arduino IDE
Steps

- First, you need to connect your ESP32 to your PC/laptop using the micro USB cable. There will be a red LED light from the ESP32 that indicate your board is powered and ready to use.
- Then, open Arduino IDE that you already installed. (You can install it with this link https://www.arduino.cc/en/main/software.)
- Open File > Preferences. In the Additional Boards Manager URLs, copy and paste this URL: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
- Open Tools > Board > Board Manager and find esp32 by Espressif Systems then install it.

5. If already installed, open Tools > Board > DOIT ESP32 DEVKIT V1.

6. Install USB to UART with this link https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers. Then check the port option (Tools > Port). If you still can’t click the option, open Sketch > Include Library > ESP32.

(Note: If you still can’t click the option after include library, the problem might be in your micro USB cable. Some of the cable just transmit only the power/electricity not including the data).
7. Finally, you can start the blink with your ESP32. Open File > Example > 0.1 Basics > Blink.

8. Then, click the Verify button to compile the code and upload it with the Upload button. This is a my video that shows blue LED blinking from ESP32.

9. There might be an error like this “A fatal error occurred: Failed to connect to ESP32: Timed out… Connecting…” after following step by step. If this message appear, just press the BOOT button in your ESP32 until you see Done Uploading message in the Arduino.
That’s all you have to do to make a blink from your ESP32. Thanks for reading!