ESP32 communicate with I2C devices

Hardware connectionOn the ESP32 microcontroller, there are several pairs of GPIO pins that can be used for I2C communication. The default I2C pins on the ESP32 are GPIO 21 (SDA) and GPIO 22 (SCL), but...
ESP32 SPI Communication

Hardware protalThe ESP32 microcontroller has two hardware SPI (Serial Peripheral Interface) controllers, which means it can communicate with up to two SPI devices simultaneously. Each SPI controller h...
ESP32/Arduino Scan Device I2C Address

ESP32/Arduino finds the address of I2C deviceWhen uses I2C devices, it often needs to check whether the I2C device communicates rightly, or the device's I2C address is set wrong.This code will scan th...
How to Connect ESP32 to Wi-Fi?

There are serval ways to connect ESP32 to Wi-Fi, in this article we will intorduce it.Provide Wi-Fi ID and password in the codeThis is the simplest way, but the disadvatage of this way is user not abl...
ESP32 WiFi Configuration Tutorial

IntroductionThe ESP32 is a powerful microcontroller that comes with built-in WiFi capabilities. With this feature, it is possible to connect the ESP32 to the internet and even use it to create a WiFi ...