ESP32 Web Server - Async Micropython Tutorial

Publicado el: 19 marzo 2022
en el canal de: Bhavesh Kakwani
13,356
319

Learn how to use the Microdot library to run an asynchronous web server on your ESP32, in Micropython!
We dive into advanced usage of uasyncio and async/await so the ESP32 can display complex Neopixel animations while still serving web requests with high performance.

Written article version of this tutorial:
https://bhave.sh/micropython-microdot

Starter files:
main.py: https://github.com/bhavesh-k/micropyt...
boot.py: https://github.com/bhavesh-k/micropyt...

Final main.py (no peeking!):
https://github.com/bhavesh-k/micropyt...

Software:
Microdot library source files: https://github.com/miguelgrinberg/mic...
Thonny IDE: https://thonny.org/
Micropython WebREPL repository: https://github.com/micropython/webrepl
WebREPL setup instructions: https://docs.micropython.org/en/lates...

More awesome MicroPython tutorials: https://bhave.sh
Twitter:   / beyond_sol  

Banner design and video editing by Natalie Plociennik: https://natalie.gallery

0:00 Intro
0:50 Installing Microdot
2:28 Summary of Neopixel code
4:18 'Hello world' web server
9:19 RGB web API
13:50 HSV web API
17:40 Async web & LED animation
31:32 Control from iOS
32:33 Control from Android
33:00 Outro


En esta página del sitio puede ver el video en línea ESP32 Web Server - Async Micropython Tutorial de Duración hora minuto segunda en buena calidad , que subió el usuario Bhavesh Kakwani 19 marzo 2022, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 13,356 veces y le gustó 319 a los espectadores. Disfruta viendo!