The objective of this post is to explain how to check in which core of the ESP32 a certain FreeRTOS task is executing. Introduction The objective of this post is to explain how to check in which core of the ESP32 a certain FreeRTOS task is executing. One of the characteristics of the ESP32 is …
ESP32 Arduino: Getting FreeRTOS tasks priority
The objective of this post is to explain how to get the priorities of FreeRTOS tasks, using the ESP32 and the Arduino environment. Introduction The objective of this post is to explain how to get the priorities of FreeRTOS tasks, using the ESP32 and the Arduino environment. Task priorities are a very important concept for FreeRTOS because they …
Continue reading "ESP32 Arduino: Getting FreeRTOS tasks priority"
ESP32 Arduino: Passing a variable as argument of a FreeRTOS task
The objective of this post is to explain how to pass a variable as argument of a function implementing a FreeRTOS task. Introduction The objective of this post is to explain how to pass a variable as argument of a function implementing a FreeRTOS task. In order to understand this code, we will analyse first …
Continue reading "ESP32 Arduino: Passing a variable as argument of a FreeRTOS task"
ESP32 Arduino: Creating a FreeRTOS task
The objective of this post is to explain how to launch tasks with the FreeRTOS functions. Introduction The objective of this post is to explain how to launch tasks with the FreeRTOS functions. Since this will introduce some complex concepts, we will start by a very simple example where we will create two tasks that …
ESP32 Arduino: Using FreeRTOS functions
The objective of this post is to introduce some basic concepts of FreeRTOS on the ESP32. Introduction The objective of this post is to introduce some basic concepts of FreeRTOS on the ESP32. First of all, it's important to take in consideration that we can use functions from the FreeRTOS libraries when coding for the …
ESP32: Sending JSON messages over MQTT
The objective of this post is to explain how to send JSON messages over MQTT using the ESP32. Introduction The objective of this post is to explain how to send JSON messages over MQTT using the ESP32. To do so, we will be using two libraries that handle the low level details and expose us …
ESP32: Parsing JSON
The objective of this post is to explain how to parse JSON messages with the ESP32 and the ArduinoJson library. Introduction The objective of this post is to explain how to parse JSON messages with the ESP32 and the ArduinoJson library. We assume a previous installation of the ESP32 support for the Arduino IDE. If …
ESP8266: Flash chip information functions
The objective of this post is to explain how to get some information about the flash chip of an ESP8266 board, using the Arduino IDE libraries functions. Introduction The objective of this post is to explain how to get some information about the flash chip of an ESP8266 board, using the Arduino IDE libraries functions. …
Continue reading "ESP8266: Flash chip information functions"
ESP8266: Setting an access point
The objective of this post is to explain how to configure the ESP8266 to work as an access point. Additionally, we will also set a webserver to work on top of it. Introduction The objective of this post is to explain how to configure the ESP8266 to work as an access point. Additionally, we will …