Introduction: How to Program ESP32 With VSC on Windows

About: i like microcontroller...

I wanted to programm the ESP32 Wroom board with ESP IDF.

I wanted to integrate it in Visual studio code.

So i checked the official documentation and ran a simple project.

For everybody who needs just another view on the official description, this tutorial may help

Supplies

ESP32 WROOM

Visual studio Code

Windows

Step 1: New Project

  • First create a new folder for your project.
  • Download the vsc extention: https://github.com/espressif/vscode-esp-idf-extension/blob/HEAD/docs/tutorial/install.md
  • You need to install or choose the esp idf drivers
  • so if not installed select a esp idf release for download
  • install !
  • It will take its time for downloading!
  • then it should be ready

Step 2:

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/


so how to program the esp?

with a usb micro cable and you need to open a example by espressif with

control P and then entering example

when they are loaded you can select a simple one

then you need to build the project and upload it with the extention tools

Step 3: USB Driver COM Ok?


But you need to make sure that the windows COM Driver is alright!

This is how it looked like...

Step 4: Choose the Right Target and FLASH

Then I chose the right esp32 target rebuilt and flashed it!