SlideShare una empresa de Scribd logo
1 de 17
Descargar para leer sin conexión
Dual-screen display with RGB and STONE Intelligent TFT
LCD Module
1. Background
Due to the needs of the project, dual-screen display is needed. The original project
uses STM32 + littlevgl + RGB screen display. The PCB board of this project has a
serial port to connect to the serial screen, so in order to complete the project quickly,
we use STONE Brand STVC050WT-01 serial port screen, this article will introduce
how to port littlevgl to the serial port screen and realize dual-screen display with RGB
displayer.
2. STONE Intelligent TFT LCD Module Description
The Intelligent TFT LCD Module with Cotex-M4 32bit CPU can be controlled by
Any MCU via simple Hex Instruction through UART port.
STONE supply the TOOL BOX Software for engineer to Easy & Visually set various
functions on Graphical User Interface, Such as Text, Number, Curve, Image switching,
Keyboard, progressbar, slider, Dial, Clock and Touch button, Data storage, USB
downloading, Video & Audio.
So it is much Easy for engineer to adopt TFT-LCD Colorful User Interface & Touch
control function on various industrial equipments, And it also can reduce much
Development Time and Cost.
Product Parameters:
Physical Parameter
Model STVC050WT-01
Size (Inch) 5.0 inch
Resolution 480×RGB×272
Color 65536 colors (16 bit)
Viewing Area 110.9mm× 62.8mm
Pixel Spacing 0.1905mm×0.0635mm (H×V)
Overall Dimension 140mm×80.9mm×13.9mm(N)/15.2mm(T)
Net Weight 195g(N)/200g(T)
TFT Panel A Class Industry Panel
Touch Screen
Industry Level 4 wire resistance
Or without touch screen is optional.
Performance Parameter
CPU CortexM4
LCD Controller CPLD EPM240
Refresh Rate 200MHz
Picture Switching Speed 19 ms/frame (53 images/s)
Flash Memory Standard 128MB, Extension 1GB
Memory Amount for picture
According to the capability of the image,
Suggest "JPG" format.
Interface RS232/ RS485/ TTL /USB Interface
Image downloading
USB2.0 (12Mbps) & U storage Disk
downloading
Voltage Range DC6.0V ~ 35V (typical value: 12V)
Power 1.3 W
3. littlevgl Description
The LVGL is a lightweight embedded library for displays and touchscreens providing
everything required to build a fully featured-embedded GUIs.
1. Small fooprint:64 kB flash and 8 kB RAM is enough for a simple user interface.
2. Many widgets: Choose from 30+ ready to use widgets and customize them with
ease.
3. Any platform: Use LVGL on any platforms, such as STM32, NXP LPC or i.MX,
PIC, Arduino, ESP32, Raspberry and so on.
4. MicroPython: Do you like Python? Create your UI in MicroPython with LVGL.
5. Any display: Drive monochrom, OLED, TFT displays, monitors or any other
displays.
6. Open source, free, c, LVGL is hosted on GitHub with MIT license, It's really free
to use
4. STM32F429 description
Core: Arm® 32-bit Cortex®-M4 CPU with FPU, Adaptive real-time accelerator (ART
Accelerator™) allowing 0-wait state execution from Flash memory, frequency up to
180 MHz, MPU, 225 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1), and DSP
instructions
1. Memories
– Up to 2 MB of Flash memory organized into two banks allowing
read-while-write
– Up to 256+4 KB of SRAM including 64-KB of CCM (core coupled memory)
data RAM
– Flexible external memory controller with up to 32-bit data bus: SRAM,
PSRAM, SDRAM/LPSDR SDRAM, Compact Flash/NOR/NAND memories
2. LCD parallel interface, 8080/6800 modes
3. LCD-TFT controller with fully programmable resolution (total width up to 4096
pixels, total height up to 2048 lines and pixel clock up to 83 MHz)
4. Chrom-ART Accelerator™ for enhanced graphic content creation (DMA2D)
5. Clock, reset and supply management
– 1.7 V to 3.6 V application supply and I/Os
– POR, PDR, PVD and BOR
– 4-to-26 MHz crystal oscillator
– Internal 16 MHz factory-trimmed RC (1% accuracy)
– 32 kHz oscillator for RTC with calibration
– Internal 32 kHz RC with calibration
6. Low power
– Sleep, Stop and Standby modes
– VBAT supply for RTC, 20×32 bit backup registers + optional 4 KB backup
SRAM
7. 3×12-bit, 2.4 MSPS ADC: up to 24 channels and 7.2 MSPS in triple interleaved
mode
8. 2×12-bit D/A converters
9. General-purpose DMA: 16-stream DMA controller with FIFOs and burst
support
10. Up to 17 timers: up to twelve 16-bit and two 32-bit timers up to 180 MHz, each
with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder
input
11. Debug mode
– SWD & JTAG interfaces
– Cortex-M4 Trace Macrocell™
12. Up to 168 I/O ports with interrupt capability
– Up to 164 fast I/Os up to 90 MHz
– Up to 166 5 V-tolerant I/Os
13. Up to 21 communication interfaces
– Up to 3 × I2C interfaces (SMBus/PMBus)
– Up to 4 USARTs/4 UARTs (11.25 Mbit/s, ISO7816 interface, LIN, IrDA,
modem control)
– Up to 6 SPIs (45 Mbits/s), 2 with muxed full-duplex I2S for audio class
accuracy via internal audio PLL or external clock
– 1 x SAI (serial audio interface)
– 2 × CAN (2.0B Active) and SDIO interface
14. Advanced connectivity
– USB 2.0 full-speed device/host/OTG controller with on-chip PHY
– USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA,
on-chip full-speed PHY and ULPI
– 10/100 Ethernet MAC with dedicated DMA: supports IEEE 1588v2 hardware,
MII/RMII
15. 8- to 14-bit parallel camera interface up to 54 Mbytes/s
16. True random number generator
17. CRC calculation unit
18. RTC: subsecond accuracy, hardware calendar
19. 96-bit unique ID
5. Hardware connection
First use solder to remove the place as shown in the figure, which means UART using
TTL level. If short it means RS232, as we are using TTL level, so we disconnect it.
Connect the displayer with the connector which provided by STONE, disconnect the
jumper cap, and connect the voltage to 12v DC voltage, the red wire is connected to
the RXD of STM32F429 and the yellow wire is connected to the TXD of
STM32F429, as shown in the figure below.
At this point, our hardware circuit has been connected.
5. Software Design
Open "STONE TOOL 2019.exe" and create a new project named STONE as flow
picture showing.
Then you will get the following window
click right key to remove the 0.jpg and add bkgd.jpg picture which create by
Photoshop with back background.
click compiling button to build the project. Then plug in USB port.
if you see these words on the screen, it means you can download the software now.
click download online button the it will show the Download Configuration File dialog,
you can see USB has been detected and click Download button.
So far, Stone module part has been finished. now we are going to design STM32 part,
as we have implement littltevgl, so here we only descript how the add support for the
intelligent TTF LCD module. ok let's go.
First new "drv_lcd_stone.c" and implement two interface, one is "lcd_stone_init" the
other is "lcd_stone_color_fill" the code are showing below:
/*********************************************************************
*
* MODULE NAME:
* drv_lcd_stone.c - [File Declaration]
*
* DESCRIPTION:
* [File Description]
*
* PUBLIC PROCEDURES:
* Name Title
* ----------------------- --------------------------------------
*
* PRIVATE PROCEDURES:
* Name Title
* ----------------------- --------------------------------------
*
* LOCAL PROCEDURES:
* Name Title
* ----------------------- --------------------------------------
*
* Copyright 2020 by SmallKun <284145919@qq.com>.
*********************************************************************/
/*--------------------------------------------------------------------
INCLUDES
--------------------------------------------------------------------*/
#include "system.h"
/*--------------------------------------------------------------------
LITERAL CONSTANTS
--------------------------------------------------------------------*/
/*--------------------------------------------------------------------
TYPES
--------------------------------------------------------------------*/
/*--------------------------------------------------------------------
MEMORY CONSTANTS
--------------------------------------------------------------------*/
/*--------------------------------------------------------------------
MACROS
--------------------------------------------------------------------*/
/*--------------------------------------------------------------------
PROCEDURES
--------------------------------------------------------------------*/
/*********************************************************************
*
* PROCEDURE NAME:
* lcd_stone_init - [Procedure Name]
*
* DESCRIPTION:
* [File Description]
*
*********************************************************************/
void lcd_stone_init(void)
{
uart_init(&uart2_hndl, 921600);
}
/*********************************************************************
*
* PROCEDURE NAME:
* lcd_stone_color_fill - [Procedure Name]
*
* DESCRIPTION:
* [File Description]
*
*********************************************************************/
void lcd_stone_color_fill(uint16_t sx,uint16_t sy,uint16_t ex,uint16_t
ey,uint16_t *color)
{
// Note: encoding with big-endian
uint8_t buffer[256];
uint8_t remain;
uint16_t i;
uint16_t j;
uint16_t k;
uint16_t x;
uint16_t *pcolor;
uint16_t width;
width = ex - sx + 1;
if(ex >= 480)
{
ex = 480;
}
else
{
ex = ex + 1;
}
if(ey >= 272)
{
ey = 272;
}
else
{
ey = ey + 1;
}
buffer[0] = 0xA5;
buffer[1] = 0x5A;
buffer[3] = 0x85;
buffer[4] = 0x00;
for(i = sy; i < ey; i++)
{
pcolor = color + width * (i - sy);
x = sx;
for(j = 0; j < (ex - sx) / 100; j++)
{
buffer[2] = 206;
buffer[5] = x >> 8;
buffer[6] = x & 0xff;
buffer[7] = i >> 8;
buffer[8] = i & 0xff;
for(k = 0; k < 100; k++)
{
buffer[9 + 2 * k] = (*pcolor) >> 8;
buffer[10 + 2*k ] = (*pcolor) & 0xff;
pcolor++;
}
uart_write(&uart2_hndl, buffer, 209);
x = x + 100;
}
remain = (ex-sx) % 100;
if(remain)
{
buffer[2] = 6 + 2 * remain;
buffer[5] = x >> 8;
buffer[6] = x & 0xff;
buffer[7] = i >> 8;
buffer[8] = i & 0xff;
for(k = 0; k < remain; k++)
{
buffer[9 + 2 * k] = (*pcolor) >> 8;
buffer[10 + 2*k ] = (*pcolor) & 0xff;
pcolor++;
}
uart_write(&uart2_hndl, buffer, 2 * remain + 9);
}
}
}
Then navigate to file "lv_port_disp.c"
static void disp_init(void)
{
/*You code here*/
lcd_stone_init();
}
/* Flush the content of the internal buffer the specific area on the display
* You can use DMA or any hardware acceleration to do this operation in the
background but
* 'lv_disp_flush_ready()' has to be called when finished. */
static void disp_flush(lv_disp_drv_t * disp_drv, const lv_area_t * area,
lv_color_t * color_p)
{
/*The most simple case (but also the slowest) to put all pixels to the
screen one-by-one*/
LTDC_Color_Fill(area->x1, area->y1, area->x2, area->y2, (uint16_t
*)color_p);
lcd_stone_color_fill(area->x1, area->y1, area->x2, area->y2, (uint16_t
*)color_p);
/* IMPORTANT!!!
* Inform the graphics library that you are ready with the flushing*/
lv_disp_flush_ready(disp_drv);
}
compile the code and download the software.
Now we have finished our project, it's only took a few hours to finish it. so the
STONE Intelligent TFT LCD Module is very efficient and convenient.

Más contenido relacionado

La actualidad más candente

Moving message display
Moving message displayMoving message display
Moving message display
viraj1989
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
Spitiq
 
8051 microcontroller and embedded system
8051 microcontroller and embedded system8051 microcontroller and embedded system
8051 microcontroller and embedded system
sb108ec
 
Unit 1 embedded systems and applications
Unit 1 embedded systems and applicationsUnit 1 embedded systems and applications
Unit 1 embedded systems and applications
Dr.YNM
 
microcontroller and embedded system
microcontroller and embedded systemmicrocontroller and embedded system
microcontroller and embedded system
pradeep rana
 

La actualidad más candente (16)

Moving message display
Moving message displayMoving message display
Moving message display
 
embedded systems and robotics on avr platform
embedded systems and robotics on avr platformembedded systems and robotics on avr platform
embedded systems and robotics on avr platform
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
2 unit-es-printed
2 unit-es-printed2 unit-es-printed
2 unit-es-printed
 
mini project
mini projectmini project
mini project
 
Introduction to embedded system
Introduction to embedded systemIntroduction to embedded system
Introduction to embedded system
 
8051 microcontroller and embedded system
8051 microcontroller and embedded system8051 microcontroller and embedded system
8051 microcontroller and embedded system
 
Report (2)
Report (2)Report (2)
Report (2)
 
Introduction in microcontroller
Introduction in microcontrollerIntroduction in microcontroller
Introduction in microcontroller
 
Presentation on Embedded system using micro controller by PARAS JHA
Presentation on Embedded system using micro controller  by PARAS JHAPresentation on Embedded system using micro controller  by PARAS JHA
Presentation on Embedded system using micro controller by PARAS JHA
 
utmippt
utmipptutmippt
utmippt
 
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERSPIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
 
Advertising Display System using LED and Graphical LED
Advertising Display System using LED and Graphical LEDAdvertising Display System using LED and Graphical LED
Advertising Display System using LED and Graphical LED
 
Implementation of usb transceiver macrocell interface
Implementation of usb transceiver macrocell interfaceImplementation of usb transceiver macrocell interface
Implementation of usb transceiver macrocell interface
 
Unit 1 embedded systems and applications
Unit 1 embedded systems and applicationsUnit 1 embedded systems and applications
Unit 1 embedded systems and applications
 
microcontroller and embedded system
microcontroller and embedded systemmicrocontroller and embedded system
microcontroller and embedded system
 

Similar a Tft touch screen manufacturers

2nd ARM Developer Day - NXP USB Workshop
2nd ARM Developer Day - NXP USB Workshop2nd ARM Developer Day - NXP USB Workshop
2nd ARM Developer Day - NXP USB Workshop
Antonio Mondragon
 
FRDM-KL46Z_Hands-On_Presentation_v02
FRDM-KL46Z_Hands-On_Presentation_v02FRDM-KL46Z_Hands-On_Presentation_v02
FRDM-KL46Z_Hands-On_Presentation_v02
Libor GECNUK
 
Real Time Atomization of agriculture system for the modernization of indian a...
Real Time Atomization of agriculture system for the modernization of indian a...Real Time Atomization of agriculture system for the modernization of indian a...
Real Time Atomization of agriculture system for the modernization of indian a...
SHAMEER C M
 
Report (Auto Capture Camera Sensing System)
Report (Auto Capture Camera Sensing System)Report (Auto Capture Camera Sensing System)
Report (Auto Capture Camera Sensing System)
Siang Wei Lee
 

Similar a Tft touch screen manufacturers (20)

Gl embedded starterkit_ethernet
Gl embedded starterkit_ethernetGl embedded starterkit_ethernet
Gl embedded starterkit_ethernet
 
Multipilot pres-ufficiale alpago 2011
Multipilot pres-ufficiale alpago 2011Multipilot pres-ufficiale alpago 2011
Multipilot pres-ufficiale alpago 2011
 
Multipilot pres-ufficiale def
Multipilot pres-ufficiale defMultipilot pres-ufficiale def
Multipilot pres-ufficiale def
 
2nd ARM Developer Day - NXP USB Workshop
2nd ARM Developer Day - NXP USB Workshop2nd ARM Developer Day - NXP USB Workshop
2nd ARM Developer Day - NXP USB Workshop
 
Multipilot pres-ufficiale last 2
Multipilot pres-ufficiale last 2Multipilot pres-ufficiale last 2
Multipilot pres-ufficiale last 2
 
MYD-YA15XC-T Development Board
MYD-YA15XC-T Development BoardMYD-YA15XC-T Development Board
MYD-YA15XC-T Development Board
 
FRDM-KL46Z_Hands-On_Presentation_v02
FRDM-KL46Z_Hands-On_Presentation_v02FRDM-KL46Z_Hands-On_Presentation_v02
FRDM-KL46Z_Hands-On_Presentation_v02
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
Real Time Atomization of agriculture system for the modernization of indian a...
Real Time Atomization of agriculture system for the modernization of indian a...Real Time Atomization of agriculture system for the modernization of indian a...
Real Time Atomization of agriculture system for the modernization of indian a...
 
Real time atomization of agriculture system for the modernization of indian a...
Real time atomization of agriculture system for the modernization of indian a...Real time atomization of agriculture system for the modernization of indian a...
Real time atomization of agriculture system for the modernization of indian a...
 
An hemmanur
An hemmanurAn hemmanur
An hemmanur
 
Lecture 5-Embedde.pdf
Lecture 5-Embedde.pdfLecture 5-Embedde.pdf
Lecture 5-Embedde.pdf
 
Report (Auto Capture Camera Sensing System)
Report (Auto Capture Camera Sensing System)Report (Auto Capture Camera Sensing System)
Report (Auto Capture Camera Sensing System)
 
Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 2/2
Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 2/2Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 2/2
Presentation for IoT workshop at Sinhagad University (Feb 4, 2016) - 2/2
 
8 bit microcontroller
8 bit microcontroller8 bit microcontroller
8 bit microcontroller
 
An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5An Overview on Programmable System on Chip: PSoC-5
An Overview on Programmable System on Chip: PSoC-5
 
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C ProtocolInterfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
 
OV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontrollerOV7670 Camera interfacing-with-arduino-microcontroller
OV7670 Camera interfacing-with-arduino-microcontroller
 
XBMC USB Controller for Media Center PCs
XBMC USB Controller for Media Center PCsXBMC USB Controller for Media Center PCs
XBMC USB Controller for Media Center PCs
 
Андрій Озгович “IoT Cypress solution. Low cost, low power” {R0boCamp}
Андрій Озгович “IoT Cypress solution. Low cost, low power” {R0boCamp}Андрій Озгович “IoT Cypress solution. Low cost, low power” {R0boCamp}
Андрій Озгович “IoT Cypress solution. Low cost, low power” {R0boCamp}
 

Último

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 

Tft touch screen manufacturers

  • 1. Dual-screen display with RGB and STONE Intelligent TFT LCD Module 1. Background Due to the needs of the project, dual-screen display is needed. The original project uses STM32 + littlevgl + RGB screen display. The PCB board of this project has a serial port to connect to the serial screen, so in order to complete the project quickly, we use STONE Brand STVC050WT-01 serial port screen, this article will introduce how to port littlevgl to the serial port screen and realize dual-screen display with RGB displayer. 2. STONE Intelligent TFT LCD Module Description The Intelligent TFT LCD Module with Cotex-M4 32bit CPU can be controlled by Any MCU via simple Hex Instruction through UART port. STONE supply the TOOL BOX Software for engineer to Easy & Visually set various functions on Graphical User Interface, Such as Text, Number, Curve, Image switching, Keyboard, progressbar, slider, Dial, Clock and Touch button, Data storage, USB downloading, Video & Audio. So it is much Easy for engineer to adopt TFT-LCD Colorful User Interface & Touch control function on various industrial equipments, And it also can reduce much Development Time and Cost.
  • 2. Product Parameters: Physical Parameter Model STVC050WT-01 Size (Inch) 5.0 inch Resolution 480×RGB×272 Color 65536 colors (16 bit) Viewing Area 110.9mm× 62.8mm
  • 3. Pixel Spacing 0.1905mm×0.0635mm (H×V) Overall Dimension 140mm×80.9mm×13.9mm(N)/15.2mm(T) Net Weight 195g(N)/200g(T) TFT Panel A Class Industry Panel Touch Screen Industry Level 4 wire resistance Or without touch screen is optional. Performance Parameter CPU CortexM4 LCD Controller CPLD EPM240 Refresh Rate 200MHz Picture Switching Speed 19 ms/frame (53 images/s) Flash Memory Standard 128MB, Extension 1GB Memory Amount for picture According to the capability of the image, Suggest "JPG" format. Interface RS232/ RS485/ TTL /USB Interface Image downloading USB2.0 (12Mbps) & U storage Disk downloading Voltage Range DC6.0V ~ 35V (typical value: 12V) Power 1.3 W 3. littlevgl Description The LVGL is a lightweight embedded library for displays and touchscreens providing everything required to build a fully featured-embedded GUIs. 1. Small fooprint:64 kB flash and 8 kB RAM is enough for a simple user interface. 2. Many widgets: Choose from 30+ ready to use widgets and customize them with ease. 3. Any platform: Use LVGL on any platforms, such as STM32, NXP LPC or i.MX,
  • 4. PIC, Arduino, ESP32, Raspberry and so on. 4. MicroPython: Do you like Python? Create your UI in MicroPython with LVGL. 5. Any display: Drive monochrom, OLED, TFT displays, monitors or any other displays. 6. Open source, free, c, LVGL is hosted on GitHub with MIT license, It's really free to use 4. STM32F429 description Core: Arm® 32-bit Cortex®-M4 CPU with FPU, Adaptive real-time accelerator (ART Accelerator™) allowing 0-wait state execution from Flash memory, frequency up to 180 MHz, MPU, 225 DMIPS/1.25 DMIPS/MHz (Dhrystone 2.1), and DSP instructions 1. Memories – Up to 2 MB of Flash memory organized into two banks allowing read-while-write – Up to 256+4 KB of SRAM including 64-KB of CCM (core coupled memory) data RAM – Flexible external memory controller with up to 32-bit data bus: SRAM, PSRAM, SDRAM/LPSDR SDRAM, Compact Flash/NOR/NAND memories 2. LCD parallel interface, 8080/6800 modes 3. LCD-TFT controller with fully programmable resolution (total width up to 4096 pixels, total height up to 2048 lines and pixel clock up to 83 MHz) 4. Chrom-ART Accelerator™ for enhanced graphic content creation (DMA2D) 5. Clock, reset and supply management – 1.7 V to 3.6 V application supply and I/Os – POR, PDR, PVD and BOR – 4-to-26 MHz crystal oscillator – Internal 16 MHz factory-trimmed RC (1% accuracy) – 32 kHz oscillator for RTC with calibration – Internal 32 kHz RC with calibration
  • 5. 6. Low power – Sleep, Stop and Standby modes – VBAT supply for RTC, 20×32 bit backup registers + optional 4 KB backup SRAM 7. 3×12-bit, 2.4 MSPS ADC: up to 24 channels and 7.2 MSPS in triple interleaved mode 8. 2×12-bit D/A converters 9. General-purpose DMA: 16-stream DMA controller with FIFOs and burst support 10. Up to 17 timers: up to twelve 16-bit and two 32-bit timers up to 180 MHz, each with up to 4 IC/OC/PWM or pulse counter and quadrature (incremental) encoder input 11. Debug mode – SWD & JTAG interfaces – Cortex-M4 Trace Macrocell™ 12. Up to 168 I/O ports with interrupt capability – Up to 164 fast I/Os up to 90 MHz – Up to 166 5 V-tolerant I/Os 13. Up to 21 communication interfaces – Up to 3 × I2C interfaces (SMBus/PMBus) – Up to 4 USARTs/4 UARTs (11.25 Mbit/s, ISO7816 interface, LIN, IrDA, modem control) – Up to 6 SPIs (45 Mbits/s), 2 with muxed full-duplex I2S for audio class accuracy via internal audio PLL or external clock – 1 x SAI (serial audio interface) – 2 × CAN (2.0B Active) and SDIO interface 14. Advanced connectivity – USB 2.0 full-speed device/host/OTG controller with on-chip PHY – USB 2.0 high-speed/full-speed device/host/OTG controller with dedicated DMA, on-chip full-speed PHY and ULPI – 10/100 Ethernet MAC with dedicated DMA: supports IEEE 1588v2 hardware,
  • 6. MII/RMII 15. 8- to 14-bit parallel camera interface up to 54 Mbytes/s 16. True random number generator 17. CRC calculation unit 18. RTC: subsecond accuracy, hardware calendar 19. 96-bit unique ID 5. Hardware connection First use solder to remove the place as shown in the figure, which means UART using TTL level. If short it means RS232, as we are using TTL level, so we disconnect it.
  • 7. Connect the displayer with the connector which provided by STONE, disconnect the jumper cap, and connect the voltage to 12v DC voltage, the red wire is connected to the RXD of STM32F429 and the yellow wire is connected to the TXD of STM32F429, as shown in the figure below. At this point, our hardware circuit has been connected.
  • 8. 5. Software Design Open "STONE TOOL 2019.exe" and create a new project named STONE as flow picture showing. Then you will get the following window click right key to remove the 0.jpg and add bkgd.jpg picture which create by Photoshop with back background.
  • 9. click compiling button to build the project. Then plug in USB port. if you see these words on the screen, it means you can download the software now.
  • 10. click download online button the it will show the Download Configuration File dialog, you can see USB has been detected and click Download button. So far, Stone module part has been finished. now we are going to design STM32 part, as we have implement littltevgl, so here we only descript how the add support for the intelligent TTF LCD module. ok let's go. First new "drv_lcd_stone.c" and implement two interface, one is "lcd_stone_init" the other is "lcd_stone_color_fill" the code are showing below: /********************************************************************* * * MODULE NAME:
  • 11. * drv_lcd_stone.c - [File Declaration] * * DESCRIPTION: * [File Description] * * PUBLIC PROCEDURES: * Name Title * ----------------------- -------------------------------------- * * PRIVATE PROCEDURES: * Name Title * ----------------------- -------------------------------------- * * LOCAL PROCEDURES: * Name Title * ----------------------- -------------------------------------- * * Copyright 2020 by SmallKun <284145919@qq.com>. *********************************************************************/ /*-------------------------------------------------------------------- INCLUDES --------------------------------------------------------------------*/ #include "system.h" /*-------------------------------------------------------------------- LITERAL CONSTANTS --------------------------------------------------------------------*/
  • 12. /*-------------------------------------------------------------------- TYPES --------------------------------------------------------------------*/ /*-------------------------------------------------------------------- MEMORY CONSTANTS --------------------------------------------------------------------*/ /*-------------------------------------------------------------------- MACROS --------------------------------------------------------------------*/ /*-------------------------------------------------------------------- PROCEDURES --------------------------------------------------------------------*/ /********************************************************************* * * PROCEDURE NAME: * lcd_stone_init - [Procedure Name] * * DESCRIPTION: * [File Description] * *********************************************************************/ void lcd_stone_init(void) {
  • 13. uart_init(&uart2_hndl, 921600); } /********************************************************************* * * PROCEDURE NAME: * lcd_stone_color_fill - [Procedure Name] * * DESCRIPTION: * [File Description] * *********************************************************************/ void lcd_stone_color_fill(uint16_t sx,uint16_t sy,uint16_t ex,uint16_t ey,uint16_t *color) { // Note: encoding with big-endian uint8_t buffer[256]; uint8_t remain; uint16_t i; uint16_t j; uint16_t k; uint16_t x; uint16_t *pcolor; uint16_t width; width = ex - sx + 1; if(ex >= 480) {
  • 14. ex = 480; } else { ex = ex + 1; } if(ey >= 272) { ey = 272; } else { ey = ey + 1; } buffer[0] = 0xA5; buffer[1] = 0x5A; buffer[3] = 0x85; buffer[4] = 0x00; for(i = sy; i < ey; i++) { pcolor = color + width * (i - sy); x = sx; for(j = 0; j < (ex - sx) / 100; j++) { buffer[2] = 206; buffer[5] = x >> 8; buffer[6] = x & 0xff;
  • 15. buffer[7] = i >> 8; buffer[8] = i & 0xff; for(k = 0; k < 100; k++) { buffer[9 + 2 * k] = (*pcolor) >> 8; buffer[10 + 2*k ] = (*pcolor) & 0xff; pcolor++; } uart_write(&uart2_hndl, buffer, 209); x = x + 100; } remain = (ex-sx) % 100; if(remain) { buffer[2] = 6 + 2 * remain; buffer[5] = x >> 8; buffer[6] = x & 0xff; buffer[7] = i >> 8; buffer[8] = i & 0xff; for(k = 0; k < remain; k++) { buffer[9 + 2 * k] = (*pcolor) >> 8; buffer[10 + 2*k ] = (*pcolor) & 0xff; pcolor++; } uart_write(&uart2_hndl, buffer, 2 * remain + 9); } }
  • 16. } Then navigate to file "lv_port_disp.c" static void disp_init(void) { /*You code here*/ lcd_stone_init(); } /* Flush the content of the internal buffer the specific area on the display * You can use DMA or any hardware acceleration to do this operation in the background but * 'lv_disp_flush_ready()' has to be called when finished. */ static void disp_flush(lv_disp_drv_t * disp_drv, const lv_area_t * area, lv_color_t * color_p) { /*The most simple case (but also the slowest) to put all pixels to the screen one-by-one*/ LTDC_Color_Fill(area->x1, area->y1, area->x2, area->y2, (uint16_t *)color_p); lcd_stone_color_fill(area->x1, area->y1, area->x2, area->y2, (uint16_t *)color_p); /* IMPORTANT!!! * Inform the graphics library that you are ready with the flushing*/ lv_disp_flush_ready(disp_drv); } compile the code and download the software.
  • 17. Now we have finished our project, it's only took a few hours to finish it. so the STONE Intelligent TFT LCD Module is very efficient and convenient.