Welcome to the ESP32 Tutorial repository! This collection of small, self-contained examples is designed to introduce and demonstrate fundamental principles of embedded systems using the ESP32 microcontroller.
Aimed at beginners, these tutorials use the familiar Arduino framework, making it easy to get started with microcontroller programming. Each example is straightforward and focuses on a specific concept or functionality.
You can build and upload the examples to an ESP32 development board using the PlatformIO extension for VS Code. For those without hardware, the projects can also be simulated using the Wokwi extension within VS Code.
Getting started is quick and easy! This project includes a preconfigured VS Code workspace to streamline the setup. Just follow the steps below:
If you haven’t already, download and install Visual Studio Code.
Make sure the following extensions are installed in VS Code:
- PlatformIO IDE – for building and uploading code to your ESP32.
- Wokwi for VS Code – for simulating projects without hardware.
Tip: After opening the workspace, VS Code may prompt you to install any missing extensions.
- Clone or download this repository.
- Open the included
esp32-tutorial.code-workspace
file in VS Code.
code esp32-tutorial.code-workspace
- To build and upload to a physical ESP32 board, use the PlatformIO controls in the status bar or sidebar.
- To simulate with wokwi (requires account), build the project and start the Wokwi Simulator by opening the
diagram.json
and click the play button.
This project is licensed under the MIT License.