I2C LCD with ESP32 using ESP-IDF

In this tutorial, we will learn how to interface I2C LCD with ESP32 and how to display simple text/numbers on the I2C LCD using ESP-IDF. This I2C LCD is a 16ร—2 device which means it can display 16 columns by two rows of alphanumeric characters on this display. The LCD has the usual type of … Read more

ESP32 PWM ESP-IDF LED Brightness Control Example

In this ESP32 PWM tutorial with ESP-IDF, we will learn how to generate PWM or pulse width modulation module with ESP32 using ESP-IDF. We will look at how to produce the PWM signals with LEDC hardware of ESP32 and attach those signals to any of the GPIO pins of the ESP board. For demonstration, we … 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

ESP32 ADC with ESP-IDF Measure Analog Inputs

In this tutorial, we will learn to use ADC of ESP32 using ESP-IDF. In other words, we will learn to read Analog values using Analog to Digital Converter module of ESP32 using VS Code with ESP-IDF extension. To provide an analog signal to ADC channel, we will interface a potentiometer with the ESP32 board and … 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