
This circuit features an ESP32-C6 microcontroller interfaced with a China ST7735S 160x128 TFT display. The ESP32-C6 controls the display via SPI communication, providing power, ground, and control signals to render graphics and text on the screen.

The ESP32-C6-LCD-1.3 is a compact display module manufactured by Waveshare (Part ID: ESP32). It features an ESP32-C6 microcontroller with integrated Wi-Fi 6 and Bluetooth 5.0 capabilities, making it ideal for IoT and embedded applications. The module includes a 1.3-inch LCD screen for visual output, enabling developers to create interactive and visually rich projects. Its small form factor and versatile connectivity options make it suitable for smart home devices, wearable electronics, industrial automation, and more.

This circuit features an ESP32-C6 microcontroller interfaced with a China ST7735S 160x128 TFT display. The ESP32-C6 controls the display via SPI communication, providing power, ground, and control signals to render graphics and text on the screen.

This circuit features an ESP8266 NodeMCU microcontroller connected to a 1.3-inch OLED display via I2C communication. The microcontroller initializes the display and renders basic graphics and text, demonstrating a simple interface for visual output.

This circuit connects an ESP8266 NodeMCU microcontroller to a 1.3" OLED display. The ESP8266's D1 and D2 pins are used for the SCL and SDA I2C communication lines, respectively, to interface with the OLED. The circuit is designed to display information or graphics on the OLED screen, controlled by the ESP8266.

This circuit connects an ESP32 microcontroller to an OLED 1.3" display. The ESP32 uses its I2C interface, with GPIO 21 and 22 serving as SDA and SCL lines, to communicate with the OLED display. The microcontroller is programmed to initialize the display and show the message 'Hello, world!' on the screen.
| Parameter | Specification |
|---|---|
| Microcontroller | ESP32-C6 |
| Wireless Connectivity | Wi-Fi 6, Bluetooth 5.0 |
| Display | 1.3-inch TFT LCD, 240x240 resolution |
| Operating Voltage | 3.3V |
| Power Supply | 5V via USB-C or external source |
| GPIO Pins | 14 (configurable for various functions) |
| Flash Memory | 4MB |
| SRAM | 512KB |
| Communication Interfaces | SPI, I2C, UART, PWM, ADC |
| Dimensions | 52mm x 25mm x 10mm |
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | 3.3V | Power input (3.3V) |
| 2 | GND | Ground connection |
| 3 | GPIO0 | General-purpose I/O pin, can be used for input/output |
| 4 | GPIO1 | General-purpose I/O pin, can be used for input/output |
| 5 | GPIO2 | General-purpose I/O pin, can be used for input/output |
| 6 | GPIO3 | General-purpose I/O pin, can be used for input/output |
| 7 | SPI_CLK | SPI clock signal |
| 8 | SPI_MOSI | SPI data output (Master Out Slave In) |
| 9 | SPI_MISO | SPI data input (Master In Slave Out) |
| 10 | I2C_SCL | I2C clock signal |
| 11 | I2C_SDA | I2C data signal |
| 12 | UART_TX | UART transmit signal |
| 13 | UART_RX | UART receive signal |
| 14 | RESET | Reset pin, used to restart the module |
Powering the Module:
Connecting the LCD:
Programming the ESP32-C6:
Communication Interfaces:
Below is an example of how to display text on the LCD using the Arduino IDE:
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_ST7789.h> // Library for the 1.3-inch LCD
// Define pins for SPI communication
#define TFT_CS 5 // Chip select pin
#define TFT_RST 4 // Reset pin
#define TFT_DC 2 // Data/command pin
// Initialize the display
Adafruit_ST7789 tft = Adafruit_ST7789(TFT_CS, TFT_DC, TFT_RST);
void setup() {
// Initialize serial communication for debugging
Serial.begin(115200);
// Initialize the LCD
tft.init(240, 240); // Initialize with 240x240 resolution
tft.setRotation(1); // Set screen rotation
// Display a welcome message
tft.fillScreen(ST77XX_BLACK); // Clear the screen
tft.setTextColor(ST77XX_WHITE); // Set text color
tft.setTextSize(2); // Set text size
tft.setCursor(10, 10); // Set cursor position
tft.println("Hello, ESP32-C6!"); // Print text
}
void loop() {
// Add your main code here
}
The LCD does not display anything:
Wi-Fi or Bluetooth is not working:
The module overheats:
Unable to upload code to the ESP32-C6:
Q: Can I power the module directly with 5V?
A: Yes, you can power the module via the USB-C port, which accepts 5V input.
Q: What is the maximum range of the Wi-Fi and Bluetooth?
A: The Wi-Fi range is approximately 30 meters indoors, while Bluetooth range is around 10 meters, depending on environmental factors.
Q: Can I use the module with other IDEs besides Arduino?
A: Yes, the module is compatible with ESP-IDF and other development environments that support ESP32.
Q: Is the LCD touchscreen-enabled?
A: No, the 1.3-inch LCD is not a touchscreen.
This concludes the documentation for the ESP32-C6-LCD-1.3. For further assistance, refer to the official Waveshare documentation or community forums.