Tag Archives: ESP32

ESP8266 or ESP32 I2C LCD display Interface

In IoT, LCD is rarely required, but some times its useful to monitor errors and connection related issues. In this tutorial we are interfacing I2C LCD with ESP8266 or ESP32. Both code examples are given.

We have very few IOs on ESP8266 and ESP32. I2C based display interface uses only two IO lines.

ESP8266 I2C LCD Interface
ESP8266 and ESP32 I2C LCD Interface

Continue reading ESP8266 or ESP32 I2C LCD display Interface

ESP32: DHT11/22 Humidity Temperature Sensor Interfacing Example

In this tutorial we are interfacing DHT11 or DHT22 Humidity temperature sensor with ESP32 DevKit.

The DHT11 (or DHT22 and similar) are cheap temperature and humidity sensors. The communicate with a ESP32 is over a single wire, but unfortunately it is not compatible with the 1-Wire protocol defined by Dallas Semiconductors.

The electric connection to the ESP32 DevKit is very simple, as the DHT series can be powered direct with 3.3V. Only 3 wires are needed: VCC, GND and the data line. Data Line is connected to GPIO15 (D15).

Continue reading ESP32: DHT11/22 Humidity Temperature Sensor Interfacing Example

ESP32 OLED Library Display Example

This tutorial demonstrate how to use 0.96″ small I2C based Display with ESP32 DevKit using only two IO lines. Interfacing of large 16×2 LCD is difficult with ESP32, as it requires 6 IO Lines. This is shown in this post How to Interface 16×2 LCD with NodeMCU ESP8266 with only three wires?

Components Required

  1. OLED Display 0.96″ Four Wire I2C Type Display
  2. DevKit ESP32
  3. Connecting Wires
  4. USB Cable and Laptop

Continue reading ESP32 OLED Library Display Example

Connecting ESP32 to WiFi Network

Connecting ESP32 to WiFi is first step when using ESP32. In all projects of ESP32 Connecting to WiFi and then accessing other thing is must. ESP32 can operate in three different modes: Wi-Fi station, Wi-Fi access point, and both at the same time. Let’s Connect ESP32 DevKit to WiFi.

Things you’ll need

  • ESP32 DevKit
  • A WiFi router/modem, or You can use your mobile hot spot.
  • Your WiFi network name (SSID) and password (WPA). If you need to set up, check or change the WiFi network name or password, you’ll need to check your modem’s setup guide or user manual for instructions on how to do this.
  • A computer, laptop or other device with a built-in WiFi adapter or a plugin USB WiFi adapter.

Continue reading Connecting ESP32 to WiFi Network