【2024 DigiKey Creative Contest】Post 7 LCD Display
[Copy link]
The LCD display of the car uses an ALIENTEK 2.8-inch TFT LCD module, which uses a TFTLCD panel and can display 16-bit true color images. In this chapter, we will use the LCD interface on the Battleship STM32 development board to light up the TFTLCD and realize the display of ASCII characters and colors on the LCD.
Take the 2.8-inch ALIENTEK TFTLCD module as an example. This module supports 65K color display, the display resolution is 320×240, and the interface is a 16-bit 80 parallel port.
Software flow of using TFTLCD module
STM32's FSMC divides external devices into three categories: NOR/PSRAM devices, NAND devices, and PC card devices. They share address data bus and other signals, and they have different CS to distinguish different devices. TFTLCD uses FSMC_NE4 as chip select, which actually controls TFTLCD as SRAM.
LCD is mainly used to indicate the action status of the car
When the car is moving forward, it displays: The car forward
When the car stops, it displays: The car stop
When the car is cleaning, it will display: The car is clearing
When the car turns left, it will display: The car foward left
When the car turns right, it displays: The car forward right
The results are as follows:
Displays FORWARD when the car is moving forward
c0610cf7ab0332deb93dff7cfc0ffbf9
|