ESP32 MicroPython: Serving HTML from the file system in Picoweb

The objective of this post is to explain how to serve HTML content from the MicroPython file system, on a Picoweb app. The tests were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this post is to explain how to serve HTML content from the MicroPython file system, on a Picoweb app. …

ESP32 MicroPython: Changing the HTTP response content-type of Picoweb route

The objective of this post is to explain how to change the content-type of the HTTP answer of a request made to a Picoweb route. The tests were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this post is to explain how to change the content-type of the HTTP answer of a …

ESP32 MicroPython: HTTP Webserver with Picoweb

The objective of this post is to explain how to install Picoweb, a HTTP Micro web framework for MicroPython. The tests were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this post is to explain how to install Picoweb, a Micro web framework for MicroPython. This framework allows us to create an …

ESP32 / ESP8266 MicroPython: Working with dictionaries

Introduction The objective of this post is to explain how to use dictionaries in MicroPython. Naturally, the functionalities that we will see here also apply to Python, since dictionaries are one of its basic data structures. Please note that this should be an introductory tutorial about MicroPython dictionaries. Thus, we will not be covering the …

ESP32 Arduino: Getting available messages and free spaces of FreeRTOS queue

The objective of this post is to explain how to check how many messages are available on a FreeRTOS queue, without consuming them. We will also check how to use the API to get how many free spaces are still available on the same queue. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device …

ESP32 Arduino: Inserting in front and back of FreeRTOS queues

The objective of this post is to explain how to insert content in the front and back of a FreeRTOS queue. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this post is to explain how to insert content in the front and back of …

ESP32 / ESP8266 MicroPython: Applying filter function to lists

The objective of this post is to explain how to use the filter function with lists in MicroPython. This tutorial was tested both on the ESP32 and on the ESP8266. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this post is to explain how to use …

ESP32 / ESP8266 MicroPython: Applying map function to lists

The objective of this post is to explain how to use the map function to perform operations over MicroPython lists. This tutorial was tested both on the ESP32 and on the ESP8266. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction The objective of this post is to explain how …

ESP32 / ESP8266 MicroPython: Lambda functions

Introduction The objective of this post is to explain how to use lambda functions in MicroPython and their difference regarding regular functions. Lambdas are a concept supported in many other programming languages, such as JavaScript and C#, and in a more formal definition they correspond to anonymous functions. So, in MicroPython, this means that we …