Adding a web based control panel to your Micropython project allows you much easier monitoring and control of your device. Just pull up a web browser and interact with your project on a fully graphical user interface.
This is part one of a three part series. We'll build the web server code so that you can connect to your device, get it to decode your request, action it and then send back any data or code files that you need.
The tutorial uses a Raspberry Pi Pico W but any Micropython, WiFi enabled device will work.
Check out the project page on my main website at
[ Ссылка ]
Download the code from my GitHub repository
[ Ссылка ]
0:00 Introduction
2:24 How a web server handles requests
4:06 The HTTP request message
11:45 The RequestParser code
15:58 HTTP response message
19:40 The ResponseBuilder code
23:52 Decoding the request and actioning it
27:43 What's next
Ещё видео!