ESP32 Arduino: FreeRTOS queues performance test

In this post we will do a simple analysis of the performance of inserting and consuming items from a FreeRTOS queue. The tests were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction In this post we will do a simple analysis of the performance of inserting and consuming items from a FreeRTOS queue. Note that …

ESP32 Arduino: Communication between tasks using FreeRTOS queues

The objective of this post is to explain how to use FreeRTOS queues to communicate between two different tasks. 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 use FreeRTOS queues to achieve inter task communication, using the Arduino core. Besides communication amongst …

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 …