• 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: Desktop Raspberry Pi 5 Official Case Jetson Orin NX Industrial Isolated USB TO 4CH RS485 (B) Converter UART CH344L For Wall/Rail-Mount Type-C Power Adapter ESP32 S3 Development Board 1.85 inch Round LCD Display 360×360 QMI8658 Sensor / MIC / SD /MP3 Audio /Battery Port LVGL/HMI For Arduino i5-1135G7 2.13Inch E-Ink Raspberry Pi 3.5 inch LCD G Display Resistive TouchScreen 60fps ST7796 320x480 Also For Arduino/Pico2/ESP32/RP2040/RP2350 Raspberry Pi CM4 Raspberry Pi CM5 IO BASE A Mini Board a Base Development Platform Compute Module 5 IO Board ESP32 1.54 inch E-Paper Smart Watch display Screen 200x200 Ultra-low power For Arduino/Micropython/RTOS For Watchy Sipeed NanoCluster Mini Cluster Board mini data center For Raspberry Pi CM45 / Computer /LM3H /M4N Code Arduino Thermal imaging DeepSeek AI Voice Chat ESP32 C6 Development Board 1.69 inch LCD Display 240x280 1.69inch TouchScreen Programmable Watch ESP32-P4 DEV-KIT C6 WiFi6 MIPI DSI 7/10.1 inch Display/CSI Camera/Audio Speaker For AI Deepseek MAX9296 GMSL Camera Adapter Board 2-Ch High-Speed And Low-Latency Transmission For Jetson Orin Nano/NX Electronic EYE 0.71 inch Round Double LCD Display Dual Screen For Arduino Raspberry Pi ESP32 Pico ST Raspberry Pi 18.5inch FHD LCD 1920x1080 Capacitive TouchScreen Display For Raspberry Pi/Jetson Nano/