ESP32 HTTP Web Server With Content Served from SPIFFS Filesystem

Опубликовано: 17 Июнь 2026
на канале: atomic14
20,069
328

In this video, I demonstrate how to set up a web server on an ESP32 and serve content from the SPIFFS filesystem.

Platform.io have moved the Upload FS command and made it quite hard to find - see here if you are struggling -    • SPIFFS Upload in PlatformIO: Find the Hidd...  

We set up and endpoint so that we can switch an LED on and off. You can add WiFi control to any of your projects.

I show you how to build a simple User Interface using HTML and JavaScript.

And then we serve that UI directly from the ESP32 using files stored in the SPIFFS filesystem. This makes our device completely self-contained.

I also show how you can compress the content to save valuable space.

The GitHub repo with the sample code can be found here: https://github.com/atomic14/ESP32WebS...

If you enjoyed this video please subscribe to the atomic14 channel by clicking here:    / @atomic14