---+ 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: * [[https://github.com/pfalcon/picoweb][picoweb ]]with nice tutorials on how to use it: [[https://techtutorialsx.com/2017/09/01/esp32-micropython-http-webserver-with-picoweb/][Tutorial 1]], [[https://icircuit.net/make-esp32-http-webserver-using-micropython/2152][Tutorial 2]] * [[https://microwebsrv2.hc2.fr/][MicroWebSrv2]] Since picoweb is used in a tutorial on [[https://lemariva.com/blog/2019/09/micropython-how-about-taking-photo-esp32][how to make a WebCam work on ESP32 !MicroPython ]]we will start with the installation of picoweb and a few tests. -- %USERSIG{UliRaich - 2020-01-14}% ---++ Comments %COMMENT%
This topic: AFNOG
>
WebHome
>
AFNOGWorkshop2020
Topic revision: r1 - 2020-01-14 - UliRaich
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback