

The ESP32-S2-LCD-0.96 is a compact microcontroller module that combines the powerful ESP32-S2 chip with integrated Wi-Fi and Bluetooth capabilities. It features a built-in 0.96-inch LCD display, making it ideal for applications requiring visual output and user interaction. This module is designed for IoT projects, wearable devices, smart home systems, and portable electronics, offering a versatile platform for developers.








| Parameter | Value |
|---|---|
| Microcontroller | ESP32-S2 (Xtensa® 32-bit LX7 CPU) |
| Clock Speed | Up to 240 MHz |
| Flash Memory | 4 MB |
| RAM | 320 KB |
| Wi-Fi | 802.11 b/g/n |
| Bluetooth | BLE 5.0 |
| Display | 0.96-inch TFT LCD (80x160 pixels) |
| Operating Voltage | 3.3V |
| Input Voltage Range | 3.0V - 3.6V |
| GPIO Pins | 27 |
| Communication Interfaces | I2C, SPI, UART, ADC, PWM |
| Power Consumption | Ultra-low power modes available |
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | 3V3 | 3.3V power supply input |
| 2 | GND | Ground |
| 3 | GPIO0 | General-purpose I/O, boot mode selection |
| 4 | GPIO1 | General-purpose I/O, UART TX |
| 5 | GPIO2 | General-purpose I/O, UART RX |
| 6 | GPIO12 | SPI MOSI |
| 7 | GPIO13 | SPI MISO |
| 8 | GPIO14 | SPI SCK |
| 9 | GPIO15 | SPI CS |
| 10 | SDA | I2C Data Line |
| 11 | SCL | I2C Clock Line |
| 12 | LCD_RST | LCD Reset Pin |
| 13 | LCD_DC | LCD Data/Command Control |
| 14 | LCD_CS | LCD Chip Select |
| 15 | LCD_BL | LCD Backlight Control |
Below is an example of initializing the LCD and displaying text using the Arduino IDE:
#include <TFT_eSPI.h> // Include the TFT library for ESP32-S2
TFT_eSPI tft = TFT_eSPI(); // Create an instance of the TFT library
void setup() {
tft.init(); // Initialize the LCD
tft.setRotation(1); // Set display orientation
tft.fillScreen(TFT_BLACK); // Clear the screen with black color
tft.setTextColor(TFT_WHITE, TFT_BLACK); // Set text color and background
tft.setTextSize(2); // Set text size
tft.setCursor(10, 10); // Set cursor position
tft.println("Hello, ESP32-S2!"); // Display text on the screen
}
void loop() {
// Add your main code here
}
Note: Ensure the
TFT_eSPIlibrary is installed and configured for the ESP32-S2-LCD-0.96 module.
LCD Not Displaying Anything
tft.init() function is called in the setup.Wi-Fi or Bluetooth Not Working
Module Not Powering On
GPIO Pins Not Responding
Q: Can I use the ESP32-S2-LCD-0.96 with a 5V power supply?
A: No, the module operates at 3.3V. Using a 5V supply can damage the module.
Q: Is the LCD backlight adjustable?
A: Yes, you can control the backlight brightness using the LCD_BL pin with PWM.
Q: What is the maximum range for Wi-Fi?
A: The Wi-Fi range is typically up to 50 meters indoors and 200 meters outdoors, depending on the environment.
Q: Can I use the ESP32-S2-LCD-0.96 with the Arduino UNO?
A: No, the ESP32-S2 is a standalone microcontroller and does not require an Arduino UNO. However, it can communicate with other microcontrollers via I2C, SPI, or UART.