Quay lại Trending
RepositoryC++GBVương quốc Anh
smford

smford/esp32-asyncwebserver-fileupload-example

Examples of how to upload files to an ESP32 using Asyncwebserver, SPIFFS and an Upload progress bar.

107sao
30fork
6issue
2lượt xem

📁 Upload file lên ESP32 với AsyncWebServer + SPIFFS

Hai ví dụ thực tế: từ upload đơn giản đến quản lý file đầy đủ với xác thực và thanh tiến trình.

Dự án cung cấp ví dụ minh họa cách tải file lên ESP32 sử dụng AsyncWebServer, lưu trữ trên SPIFFS và hiển thị thanh tiến trình upload. Tác giả tạo ra ví dụ vì các hướng dẫn có sẵn quá rối rắm.

✨ Điểm nổi bật

  • Giao diện web đơn trang: Tất cả chức năng trên một trang duy nhất.
  • Quản lý file: Liệt kê, tải xuống, xóa file và khởi động lại ESP32.
  • Upload có tiến trình: Thanh tiến trình hiển thị trạng thái tải file.
  • Xác thực web: Bảo vệ trang bằng tên người dùng và mật khẩu.
  • Cập nhật phần tử trang: JavaScript cập nhật giao diện mà không cần tải lại trang.
  • SPIFFS lưu trữ: File được lách lưu trữ trên bộ nhớ flash của ESP32.

💡 Vì sao đáng chú ý

Ví dụ 1 phù hợp cho người mới bắt đầu với upload file đơn giản. Ví dụ 2 mang trải nghiệm người dùng hoàn chỉnh với xác thực, quản lý file và khởi động lại. Cả hai đều dùng AsyncWebServer bất đồng bộ, tối ưu hiệu suất cho ESP32.


#ESP32 #AsyncWebServer #SPIFFS #FileUpload #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
donnemartin/system-design-primer

Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.

380.2k
Sep 15, 2026
RepositoryTypeScript
elysiajs/elysia

Ergonomic Framework for Humans

19.4k
Nov 25, 2026
RepositoryC
nodemcu/nodemcu-firmware

Lua based interactive firmware for ESP8266, ESP8285 and ESP32

8.0k
Nov 22, 2026
RepositoryTypeScript
chibisafe/chibisafe

Blazing fast file vault written in TypeScript! 🚀

2.8k
Dec 2, 2026
RepositoryPHP
UniSharp/laravel-filemanager

Media gallery with CKEditor, TinyMCE and Summernote support. Built on Laravel file system.

2.1k
Aug 9, 2026
RepositoryJavaScript
pqina/vue-filepond

🔌 A handy FilePond adapter component for Vue

2.0k
Jul 13, 2026
RepositoryJavaScript
pqina/react-filepond

🔌 A handy FilePond adapter component for React

2.0k
Jul 13, 2026
RepositoryC
pellepl/spiffs

Wear-leveled SPI flash file system for embedded devices

1.6k
Jul 16, 2026
RepositoryJavaScript
danielm/uploader

A lightweight and very configurable jQuery plugin for file uploading using ajax(a sync); includes support for queues, progress tracking and drag and drop.

1.2k
Jan 7, 2022