A WEB server on the Microcontroller with MicroPython

Introduction

In the 2019 AFNOG course we have seen how to connect to sensors and actuators through Cayenne and MQTT. This works fine if the amount of data to be passed over the Internet is small. If however we want to transfer a bigger amount of data, e.g. an image stream from a WebCam, then this solution is not viable. In this case, running a WEB server on the microcontroller is the better solution.

In the following pages we will install a WEB server on an ESP32 running MicroPython.

Several WEB servers are available for MicroPython:

Since picoweb is used in a tutorial on how to make a WebCam work on ESP32 MicroPython we will start with the installation of picoweb and a few tests.

The most powerful and evolved Web server available under MicroPython is probably MicroWebSrv2. Here are step by step instructions to bring up MicroWebSrv2 on an ESP32.

-- Uli Raich - 2020-01-14

Comments

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2020-01-24 - UliRaich
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback