Blinky ESP32-S3 with PlatformIO on VS Code

dev board ESP32-S3-DevKitC-1
chip ESP32-S3-WROOM-1-N8R2
features blinky led serial esp32s3 platformio

Before starting

Dependancies

Ensure the following requirements are available:

Buy the components

Description

  1. Create new project with PlatformIO on VS Code editor
  2. Edit file src/main.cpp with blinky Arduino code
  3. Edit platform.ini to other configurations
  4. Click Build ✅ to compile the code
  5. Click Upload ➡️ to flash the firmware on the board
  6. Click Serial monitor 🔌 to view the serial prints

TODO: SERIAL PRINT NOT WORKING

Code

Download code
#include <Arduino.h>

void setup() {
  pinMode(LED_BUILTIN, OUTPUT);
  digitalWrite(LED_BUILTIN, LOW);

  Serial.begin(115200);
  Serial.println("Start blinky");
}

void loop() {
  Serial.println("LED ON");
  digitalWrite(LED_BUILTIN, LOW);
  delay(200);

  Serial.println("LED OFF");
  digitalWrite(LED_BUILTIN, HIGH);
  delay(200);
}

Prototype

A photo of the actual setup.

Blinky ESP32-S3 with PlatformIO on VS Code prototype

References