ESP32 SPI Master Slave Communication with ESP-IDF

In this tutorial, we will learn about SPI communication and how to perform master slave communication between two ESP32 development boards using ESP-IDF. We will use SPI Slave and SPI Master drivers to demonstrate SPI master (Host) and SPI slave (Device) communication between each other. Before we move ahead, make sure you have the latest … Read more

ESP32 UART Communication using ESP-IDF

In this ESP32 ESP-IDF tutorial, we will look at UART communication ports of ESP32. Firstly, we will discuss some important UART driver library provided in ESP-IDF and then demonstrate example projects to transmit and receive data over UART. Through the example project we will learn how configure the UART settings and install UART driver to … Read more

ESP32 ESP-IDF FreeRTOS Queue Tutorial

In this ESP32 ESP-IDF FreeRTOS Queue tutorial, we will learn to create FreeRTOS Queues with ESP32 ESP-IDF. Previously we learned how to create FreeRTOS tasks with ESP32 ESP-IDF. However, creating separate tasks does not sufficient for a complete RTOS-based application because these independent tasks are smaller programs having their own stack, memory, and execution jobs. … Read more

ESP32 ESP-IDF FreeRTOS Tutorial: Learn to Create Tasks

In this ESP32 ESP-IDF FreeRTOS tutorial, we will learn to use FreeRTOS with ESP32 using ESP-IDF framework. The good thing about ESP-IDF is that it already has a port of FreeRTOS for ESP32. Therefore, we do not need to install additional libraries and drivers. ESP-IDF FreeRTOS is based on Vanilla FreeRTOS v10.4.3 In this tutorial, … Read more

ESP32 Push Button with ESP-IDF (Digital Input)

In this tutorial, we will learn to interface a push button with ESP32 using ESP-IDF. We will see how to configure GPIO pins as digital input pins. In other words, we will see how to read digital input from ESP32 and control a digital output. For demonstration purposes, we will build an ESP32 project in … Read more

Getting Started with ESP32 using ESP-IDF

In this getting started tutorial on ESP32 using ESP-IDF, we will introduce you to some basic concepts while programming ESP32 using ESP-IDF in VS Code. This will include examples of logging, generating delays, keyboard input and blinking the onboard LED of ESP32. If you have not installed esp-idf on your Windows or Linux machine, you … Read more

ESP32 GPIO with ESP-IDF with LED Blinking example

ESP32 LED Blinking project demo

The most fundamental process in any embedded development is the usage of GPIO (general-purpose input/output) pins. In this tutorial, we will learn about ESP32 GPIO pins and how to program them as digital output pins. For demonstration purposes, we will build an ESP32 LED blinking project in VS Code with ESP-IDF extension. The project will … Read more

Install ESP32 ESP-IDF on Linux Ubuntu

This is a step-by-step tutorial, which will show you how to install ESP32 ESP-IDF in Linux Ubuntu and then build and flash an example code to an ESP32 development board. The official IoT Development Framework for the ESP32, ESP32-S, and ESP32-C line of SoCs is known as ESP-IDF. It offers an independent SDK for creating … Read more

Install ESP32 ESP-IDF on Windows and Integrate with VS code

In this tutorial, we will show you how to install ESP-IDF in Windows and then configure it with VS Code. The official IoT Development Framework for the ESP32, ESP32-S, and ESP32-C line of SoCs is known as ESP-IDF. It offers an independent SDK for creating any type of generic application on various platforms using C … Read more