• sales

    +86-0755-88291180

1.8inch TFT LCD User Guide

1.8inch TFT LCD 128X160 (st7735S)

The file corresponding to the upper script package is:
\script\demo\ui\color_standard_spi_st7735.lua Used with SPI bus
\script\demo\ui\color_lcd_spi_st7735.lua Used with LCD bus

Select ST7735 driver in lcd.lua


Color_standard_spi_st7735.lua is the screen parameter configuration file.


FAQ

White edges appear on the screen, which is mainly caused by different batches of screens, such as V1.1 version of M_TFT_LCD_128X160_8P module, and the screen driver is actually ST7735S.


1. Development and presentation using Hezhou communication module and lua's demo are shown as follows:


Modify the axis offset parameter in the color_lcd_spi_st7735.lua script file and set the offset to 0, as shown in the following figure.


2. A white edge appears when the demo of STM32 is burned in, as shown in the figure below:


Modify the LCD_Address_Set function of lcd_init.c so that x1, y1, x2 and y2 can be displayed normally without adding or subtracting any numbers, as shown below:

Display effect after modification:


TAG: 10-Axis DOF ROS IMU (A) Sensor UART ARM 32 DSP Processor BLE 5.3 Bluetooth / Accelerometer / Gyroscope / Magnetometer / Temperature & Pressure ESP32-S3 Display DDSM400 Direct Drive Servo Motor All-In-One Design Hub Serial -LIN Bus Motor Mini TOF Time-of-Flight Laser Ranging Radar Sensor Compatible UART with Arduino Raspberry Pi ESP32 and Pico Raspberry Pi MLX90640 Spotpear Raspberry Pi PCF8591 expansion board LED GPIO IO test ADC/DCA Sensor Beginner board ESP32-S3 IR Infrared Thermal Imaging Camera B 45/90 80×62 ESP32-S3-WROOM 101M-8001280-IPS-CT-K User Guide MPS2280D Raspberry Pi 5 PCIe to M.2 NVMe Dual SSD Adapter Board HAT Pi5 Double 2280 4.2 inch e-Paper Display G Red/Yellow/Black/White 4.2inch E-link Screen For Arduino /Raspberry Pi /Jetson Nano /STM32 X1200 Raspberry Pi 5 UPS Board Uninterruptible Power Supply For 18650-Li-Battery (NOT includ) ESP32 Thermal imaging camera DPI Interface MPUUART Raspberry Pi 5 PCIe to ISO 2-CH RS485 /2-CH RS232 / USB /UART / TTL Raspberry Pi ESP32 C3 1.44inch LCD Raspberry Pi 5 Camera User Guide 3key Keyboard DeepSeek AI Voice Chat Robot ESP32 S3 Development Board 2.8 inch Display 2.8inch Screen