(Sponsored) ESP32 Programming Tutorial for Custom Hardware (GPIO,Serial,SPI,WiFi) - Phil's Lab #91

Published at : 23 Dec 2025

How to write firmware for custom ESP32-based hardware. Example features an ESP32-C3 MCU with QSPI flash memory, SPI inertial measurement unit (sensor), USB, LEDs, and PCB antenna (WiFi). PCBs by PCBWay https://www.pcbway.com (AD: This video includes a paid promotion for PCBWay and Altium).

[SUPPORT]
Free trial of Altium Designer: https://www.altium.com/yt/philslab (AD)

Patreon: https://www.patreon.com/phils94

Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education

Advanced Hardware Design Course Survey
https://forms.gle/X4jwvtZeJ1jTXh7r9

[GIT]
https://github.com/pms67/ESP32-USB-Dongle

[LINKS]
Instagram: https://instagram.com/philslabyt

ESP32 Hardware Design Video: https://youtu.be/yxU_Kw2de08

Additional board manager URLS: http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json

[TIMESTAMPS]
00:00 Introduction

02:02 Altium Designer Free Trial (Ad)
02:27 PCBWay (Ad)

03:04 Hardware Overview

05:30 Arduino IDE Set-Up for ESP32
06:35 Board Set-Up
09:00 Flashing Firmware
10:27 LED GPIOs
12:57 USB Serial
14:02 SPI Sensor Interface, Basic Set-Up
18:34 SPI Protocol Basics, Read Register Implementation
24:50 SPI Test (Chip ID and Temperature Sensor)
28:06 WiFi Test (Basic Server to Toggle LED)

31:12 Outro