ESP32 Arduino: Using structs as items in FreeRTOS queues

In this ESP32 tutorial we will check how to use structs as items in FreeRTOS queues. This will allow us to store more complex messages in queues, facilitating the process of inter-task communication. The tests were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board.   Introduction In this ESP32 tutorial we will check how to use …

ESP32 / ESP8266 Arduino: Initializer list

The objective of this post is to explain how to use an initializer list to initialize data members of a class. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. The tests on the ESP8266 were performed on a DFRobot’s ESP8266 FireBeetle board.   Introduction The objective of this post is to explain …

ESP32 / ESP8266: Class constructors

The objective if this post is to give an introduction on class constructors. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. The tests on the ESP8266 were performed on a DFRobot’s ESP8266 FireBeetle board. Introduction The objective if this post is to give an introduction on class constructors. Even tough this was …

ESP32 / ESP8266 Arduino: Bitwise shift operators

The objective of this tutorial is to explain how to use the bitwise operators shift left and shift right. The tests on the ESP32 were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. The tests on the ESP8266 were performed on a DFRobot’s ESP8266 FireBeetle board. Introduction The objective of this tutorial is to explain how to …

ESP32 Arduino Bluetooth: Finding the device with Python

The objective of this tutorial is to explain how to configure the ESP32 to act as a discoverable Bluetooth device and then find it using a Python program. 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 tutorial is to explain how to configure …

ESP32 / ESP8266 Arduino: The typedef keyword

In this tutorial we will check how to use the typedef keyword to create aliases for data types, on the Arduino core running 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. The tests on the ESP8266 were performed on a DFRobot’s ESP8266 FireBeetle board. …

ESP32 / ESP8266 Arduino: Using structs

The objective of this post is to explain how to define structures on the Arduino core. This 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. The tests on the ESP8266 were performed on a DFRobot’s ESP8266 FireBeetle board. Introduction The objective of …

ESP32 Arduino Serial over Bluetooth: Receiving data

In this tutorial we will check how to receive data on a serial connection operating over Bluetooth classic. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board.   Introduction In this tutorial we will check how to receive data on a serial connection operating over Bluetooth classic. This tutorial …

ESP32 Arduino: Getting the Bluetooth Device Address

In this ESP32 tutorial, we will check how to get the Bluetooth address of the device, using the Arduino core. The tests of this ESP32 tutorial were performed using a DFRobot’s ESP-WROOM-32 device integrated in a ESP32 FireBeetle board. Introduction In this ESP32 tutorial, we will check how to get the Bluetooth address of the device, using the Arduino core. …