ESP32 Dual Core with FreeRTOS and Arduino IDE

ESP32 dual core with FreeRTOS and Arduino IDE example

In this tutorial, we will learn how to use ESP32 dual-core using FreeRTOS and Arduino IDE. The ESP32 development board consists of 2 Xtensa 32-bit LX6 microprocessors which makes it a dual-core microcontroller. This core0 and core1 are included for better performance and efficiency. When programming ESP32 using Arduino IDE, by default core1 is used … Read more

FreeRTOS Scheduler: Learn to Configure Scheduling Algorithm

FreeRTOS Preemptive scheduling algorithm example

In this tutorial, we will learn about the FreeRTOS scheduler. What type of scheduler FreeRTOS Kernel uses and how to configure it with different scheduling policy. First, we will define the term scheduler and how scheduling policy selects tasks from all available tasks which are in a ready state. Recommended Components The following are recommended … Read more

FreeRTOS Software Timer: Change Period and Reset Timer

FreeRTOS Software timer period change example with Arduino

In this post, we will learn how to change the FreeRTOS software timer period and how to reset the software timer. we will demonstrate examples with Arduino. In the last tutorials, we have learned to use FreeRTOS software timer with Arduino and we have learned how to update or query software timer ID.  Recommended Components … Read more

Arduino FreeRTOS Queue Management – How to use Queues

FreeRTOS queue example with LCD and ADC circuit diagram

In the last tutorial, we have seen the tasks management process of FreeRTOS with Arduino Uno. But today, we will learn how to create Queues using FreeRTOS API. In the last post, we have seen how to create tasks. But individual tasks cannot create an efficient and complete application. Because these independent tasks are smaller … Read more

How to use FreeRTOS with Arduino – Real-time operating system

FreeRTOS with Arduino

This is a getting started tutorial on FreeRTOS using Arduino. To demonstrate examples and use of various features of the FreeRTOS operating system, we will use Arduino Uno board and Arduino IDE for writing programs. But you can also use other development boards such as ESP32 and ESP8266. In this article, you will learn how … Read more