STONE LCD Screen for Car Dashboard

Introduction: STONE LCD Screen for Car Dashboard

About: I am an embedded engineer working in Beijing. I like to share my projects with you.

With the rapid development of the economy and the gradual improvement of people's consumption power, cars have become the daily necessities of ordinary families, and everyone pays more attention to the comfort and safety of cars.

The automobile industry has developed for more than a hundred years now, and the automobile has become more and more intelligent with the change of time from the simple machinery at the beginning.How many parts does a car have?There is no specific figure yet.It is estimated that the average car is made up of more than 10,000 indivisible parts.Nowadays, the car has entered thousands of households and become an indispensable partner in daily travel.Therefore, in the process of daily use of the car, we need to always understand the state of their love car, to avoid causing damage to important parts of the car, but also to eliminate potential dangers.Generally, the information displayed on the dashboard is the way to know the status of the vehicle. I have a stone10.1-inch TFTLCD screen, and this time I plan to make an on-board display dashboard. As we all know, the development of STONE intelligent TFTLCD module screen is convenient and quick, without too many tedious instructions.This is not only suitable for the vast number of learning enthusiasts, but also in the actual project to speed up the development speed, save development time, quickly occupy the market. The effect picture is as follows:

I use the more commonly used RTL8762CJF SCM to develop, through IIC or serial port to achieve the purpose of uploading data to the TFT LCD screen.This time will also use voice broadcast function, to give the driver a better simulation experience.

Step 1: Lcd Screen Car Dashboard Project Function

Here we need to do a used car display project, the project mainly through touch regulation, microcontroller upload instructions manner, simulation with buttons, when the MCU button press, through a serial port command to STVC101WT - 01 serial interface screen instructions to upload data, the screen will automatically data parsing, and displayed in the LCD screen. At the same time, there is also a button function on the screen to achieve the serial port instruction, so as to control the MCU.

In summary, five functions:

(1) The serial port screen realizes the bitmap display function;

(2) to achieve the dial rotation function;

(3) to achieve the touch command issued;

(4) to achieve voice broadcasting;

(5) to achieve data instruction upload.

The function is determined, and then the module selection:

(1) Model of the touch screen;

(2) what kind of MCU module to use;

(3) voice broadcast module.

Hardware introduction and principle

Because the STONE serial port screen comes with an Audio driver and reserved the corresponding interface, so you can use the most common magnet loudspeaker, commonly known as horn. The loudspeaker is a kind of transducer that converts an electrical signal into a sound signal. The loudspeaker is one of the weakest components in sound equipment and one of the most important components for sound effects. There are many kinds of loudspeakers and the prices vary greatly. Audio electrical energy produces sound by making its paper basin or diaphragm vibrate and resonate (resonate) with the surrounding air through an electromagnetic, piezoelectric, or electrostatic effect. Purchase link:

Step 2: STVC101WT-01 serial LCD Screen Description

10.1-inch 1024x600 industrial-grade TFT panel and 4-wire resistive touch screen;

Brightness 300cd/m2;

LED backlight;

RGB color 65 k;

The visible area is 222.7mm * 125.3mm;

Visual Angle 70/70/50/60;

Working life 20,000 hours.

32-bit cortex-m4 200Hz CPU;

CPLD EPM240 tft-lcd controller;

128MB (or 1GB) of flash memory;

USB port (U disk) download;

Toolbox software for GUI design;

Simple and powerful hexadecimal instruction.

The basic function

8m-128m bytes Flash memory space, SDWe series 128M bytes, SDWa series 8M/16M bytes;

Support hardware JPG decoding, storage more efficient, faster display;

Support U disk offline batch download, effectively improve the efficiency of batch download, reduce the professional quality requirements of operators;

256-byte register space;

64K word (128K bytes) variable memory space, 8 channel curve storage, very fast (80ms) variable display

Response speed;

Support up to 128 display variables per page;

Integrated real-time clock RTC, touch buzzer sound function;

Support software 90 degrees, 180 degrees, 270-degree screen rotation, adjust the appropriate visual Angle;

Support backlight brightness adjustment, auto standby screensaver function;

Support external matrix keyboard;

Support audio and video playback;

Industry-leading electromagnetic radiation index, help you easily deal with ClassB;

The file name naming rule is simple, without corresponding to the Flash block number, also without tedious manual allocation Flash block l Function;

Support virtual serial screen function.

STONE STVC101WT - 01 display module is via a serial port communication with MCU, need to use it in this project, we need only through the PC to design good UI images through the menu bar options button, text box, background images, and logical page to add, then generate configuration files, download to the display screen can be run at last.

The data manual can be downloaded from the official website:

RTL8762C EVB Introduction
8762C evaluation board provides the hardware environment developed by the customer, including:

1) Power conversion module;

2) 6-axis motion sensor;

3) 4 LEDs and 6 buttons;

4) Button battery and lithium battery holder;

5) USB to UART conversion chip, FT232RL.

Evaluate board block and interface distribution

A detailed description of the evaluation board block

Evaluation board block and interface distribution, see the following figure:

The keys
There are a total of reset keys and 5 sets of independent keys, as shown in the following figure:

The main chip 8762c

Flexible GPIO design

Hardware Keyscan and decoder

Embedded IR transceiver

Real-time counter (RTC)

SPI master/from x two; Timer x 8; I2C x 2; PWM x 8; UART x 2

400ksps, 12bit, 8-channel AUXADC

I2S interface for external audio codecs

I8080 interface for LCD

Internal 32K RCOSC keeps BLE links

Embedded PGA and audio ADC with 5 band equalizer

Step 3: STONE TOOL Box Development Steps

In general, there are only three steps:

(1) using TOOL2019 upper computer software design;

(2) MCU and screen communication development;

(3) audio file production and import.

Installation of STONE TOOL

The TOOL can be downloaded on the website, as well as the relevant USB serial drivers. The software interface is as follows:

The installation of the KEIL
1、Download link:

2、Download after decompression

3、Open the folder after unzipping

4、Double-click the file c51v900. exe, and click Next in the dialog box.

Step 4:

STONE TOOL 2019 interface design

Using the installed TOOL 2019, click the new project in the upper left corner, and then click OK.

A default project is generated with a blue background by default. Select it, right-click, and select remove to remove the background. Next, right-click picture file and click add to add your own picture background, as: follows:

Select the corresponding background image. In the same way, we add bitmap files and audio files to the project.

Then add the required controls, here is mainly the button control, numeric add and subtract control, data variable control.

Then configure the variable address of each control, here we have the following configuration:
1. The air conditioning button address is configured as 0x000C;

2. High beam button address is configured as 0x000D;

3. speed dial address is configured as 0x001B;

4. electricity icon address is configured as 0x0018;

5. the PM2.5 address is configured as 0x001C;

When the button is configured, the following figure shows once:

(1) the configuration button press effect;

(2) configure the control of the variable address, used to write its value;

(3) configuration plus or minus operations;

(4) configure the value range.

When configuring the digital text box, the following figure is shown in turn:

① set the control variable address;

② set the number of digits;

③ set the size of the number;

④ set the number of alignment.

When configuring the speedometer, the following figure shows in turn:

⑤ Selected library file;

⑥ Which file to specify in the gallery file;

⑦ Set the center coordinates around the pointer icon;

⑧ Set the rotation range of the pointer. Set the rotation angle of the pointer.

Finally, we click on the build configuration tool.


Control buttons are associated with their corresponding bitmaps via variable addresses, so consistency is required to achieve proper control.

Therefore, serial port instruction is as follows:

Battery: 0xA5, 0x5A, 0x05, 0x82, 0x00, 0x18, 0x00, 0x00

Speed: 0xA5, 0x5A, 0x05, 0x82, 0x00, 0x1B, 0x00, 0x00

PM2.5: 0xA5, 0x5A, 0x05, 0x82, 0x00, 0x1C, 0x00, 0x00

The development of RTL8762C

Open KEIL and import our project file, as shown in the following figure:

Since it is the first time to use, the FLASH algorithm needs to be adjusted accordingly: Click the options button to go to the Flash Download configuration box and change the algorithm to look like the following figure.

Step 5: Code and Effect

Since the button control is used here, the following changes need to be made in the code:
/** * @file main.c

* @brief uart demo polling tx and rx.

* @details

* @author wangzex

* @date 2018-06-28

* @version v0.1 ********************************************************************************************************* */


Please contact me if you need a complete code:

I will reply to you within 12 hours.

Finally, just connect the MCU to the serial port LCD screen LCD for the car dashboard

and connect the speaker to demonstrate.

To learn more about this project please click here

Be the First to Share


    • Halloween Contest

      Halloween Contest
    • Fashion Challenge

      Fashion Challenge
    • Micro:bit Contest

      Micro:bit Contest