CN101833940A - Method for realizing LCD full-screen background picture display in singlechip system - Google Patents

Method for realizing LCD full-screen background picture display in singlechip system Download PDF

Info

Publication number
CN101833940A
CN101833940A CN200910061114A CN200910061114A CN101833940A CN 101833940 A CN101833940 A CN 101833940A CN 200910061114 A CN200910061114 A CN 200910061114A CN 200910061114 A CN200910061114 A CN 200910061114A CN 101833940 A CN101833940 A CN 101833940A
Authority
CN
China
Prior art keywords
data
picture
chip microcomputer
bytes
byte
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910061114A
Other languages
Chinese (zh)
Other versions
CN101833940B (en
Inventor
刘和顺
孙文
彭国红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WUHAN MIRACLE LASER TECHNOLOGY CO., LTD.
Original Assignee
WUHAN QIZHI LASER TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by WUHAN QIZHI LASER TECHNOLOGY Co Ltd filed Critical WUHAN QIZHI LASER TECHNOLOGY Co Ltd
Priority to CN2009100611146A priority Critical patent/CN101833940B/en
Publication of CN101833940A publication Critical patent/CN101833940A/en
Application granted granted Critical
Publication of CN101833940B publication Critical patent/CN101833940B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Liquid Crystal Display Device Control (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The invention discloses a method for realizing LCD (liquid crystal display) full-screen background picture display in a singlechip system, relating to a singlechip system. The method comprises the following steps of: a. establishing a new picture or adopting an existing picture; b. converting the picture file in the step a into a hexadecimal data file in textual format by software of 'Image2Lcd'; and c. transmitting the data file in textual format to a data storage unit of the singlechip system via a serial interface by program software 'tuning Q_YB_VB_programming', and displaying. The invention is used for LCD full-screen background picture display in a singlechip system, and can achieve fine and beautiful appearance, clear structure, convenient operation and high speed of interface display, thereby qualitatively improving the interface display in a singlechip control system, increasing competitiveness with the display technology of control systems, such as ARM, DSP and the like, and enhancing the cost performance of the singlechip control system.

Description

The method of LCD full-screen background picture Display Realization in the Single Chip Microcomputer (SCM) system
Technical field
The present invention relates to a kind of Single Chip Microcomputer (SCM) system, be specifically related to the method for LCD full-screen background picture Display Realization in a kind of Single Chip Microcomputer (SCM) system.
Background technology
To show that in 8 bit single-chip systems a width of cloth full-screen background picture needs arrive the data volume of 300K byte greatly, before the present invention makes, how the Single Chip Microcomputer (SCM) system that obtains this picture by picture file can discern, exercisable data file, and this data transmission shown in Single Chip Microcomputer (SCM) system, and beyond example.In addition, quick (reaching operational speed) shows that full-screen background picture is very difficult and unpractical in 8 bit single-chip systems.Especially currently generally adopt single-chip microcomputer C Programming with Pascal Language, it shows that refresh rate must can't stand slowly and impracticable.So majority does not adopt picture as full frame background, and adopts monochromatic full frame background, its brush screen speed is fast relatively.All can have a greatly reduced quality as aesthetic property, terseness and easy to operate clear property of human-computer interaction interface or the like like this, thereby influence the overall image of product.
Summary of the invention
The method that the purpose of this invention is to provide LCD full-screen background picture Display Realization in a kind of Single Chip Microcomputer (SCM) system will solve the file that how file conversion of picture form is become text formatting.Common most of picture file all is .JPG, .BMP, .GIF wait form, need convert thereof into the hexadecimal data file (.C) of text formatting, and how to solve data with the data file of text formatting and be entered in the pin-saving chip in the Single Chip Microcomputer (SCM) system and show.
In order to achieve the above object, the present invention has following technical scheme:
The method of LCD full-screen background picture Display Realization in a kind of Single Chip Microcomputer (SCM) system of the present invention has following steps:
A. create new picture or adopt existing picture;
B. use software " Image2Lcd ", convert the picture file of step a to 16 system data text formatted files;
C. the serial communication port with cable connection PC and single-chip microcomputer carries out data transmission; Working procedure software on PC " transfers Q_YB_VB_ to write chip "; " transfer the Q_YB_ single-chip microcomputer to write storage chip " at Single Chip Microcomputer (SCM) system operation assembly routine software;
D.PC machine man-machine interface is provided with: comprise baud rate, no parity check, data bit, port, burning sheet sector start address, dimension of picture are set;
E. click " opening file " button, the picture file of selected text formatting (.C), text box promptly shows above-mentioned file content;
F. after clicking " write data " button, image data is a typing Data in Single-Chip Computer System storage chip, after the data typing is finished, shows the full-screen background picture of typing automatically at the LCD screen.
Wherein, described serial communication port carries out data transmission method and comprises:
Order format and instruction sign indicating number is as follows:
PC is sent out " A " and is Showed Picture; Single-chip microcomputer is replied " A "
After PC is sent out " B " and is write the image data single-chip microcomputer and reply " B ",
PC is given the column data head with 16 ary codes:
Typing first address 3 bytes+high 2 bytes of wide 2 bytes of picture+picture+wipe sector number 1 byte+frame number 2 bytes+spare word joint number 1 byte+verification and 1 byte;
After single-chip microcomputer was replied " A ", PC began to send out data;
Data frame format is as follows:
1 byte-data length+128 bytes-data+1 byte-verification and;
The frame of less than 128 bytes is still by " data length " control transmission length;
After single-chip microcomputer is replied " 5 ",
PC is retransmitted order or data;
Remove data and send by 16 ary codes, other transmission order and reception are replied all and are sent or receive by ASCII character.
Owing to taked above technical scheme, the invention has the advantages that:
The present invention is used for Single Chip Microcomputer (SCM) system LCD full-screen background picture and shows, can accomplish interface display meticulous attractive in appearance, structure is distinct, easy to operate, speed is fast, the interface display of single-chip computer control system there is the lifting of matter, and increased competitiveness with ARM, DSP dispatch control system display technique, improved the cost performance of single-chip computer control system.
Description of drawings
Fig. 1 is the original block scheme of work of the present invention;
Fig. 2 is the principle of work block scheme that Single Chip Microcomputer (SCM) system of the present invention shows control;
Fig. 3 is the present invention's " accent Q_YB_VB_ writes chip " software control flow chart;
Fig. 4 is this present invention " accent Q_YB_ single-chip microcomputer is write storage chip " software control flow chart.
Embodiment
Following examples are used to illustrate the present invention, but are not used for limiting the scope of the invention.
Referring to Fig. 1-Fig. 4, the method for LCD full-screen background picture Display Realization in a kind of Single Chip Microcomputer (SCM) system of the present invention, implementation step is as follows:
A. background picture is created with mapping software or is made source with existing picture, reprocesses in the VB6.0 software environment, makes it to become the man-machine interface picture that adheres to specification, the intercepting picture, with the online mapping software on probation that downloads,, size is fit to again as cuttings such as ACDSee;
B. adopt software " Image2Lcd " to convert the picture file that processes to 16 system data text formatted files, specifically: operation Image2Lcd software, layout setting: C language array (* .C); Horizontal scanning; Color 256 looks; Breadth extreme and height 640X480; Other adopts default value; Open the picture selected file; Promptly generate the picture 16 system data files of text formatting after the preservation;
C. use program software " to transfer Q_YB_VB_ to write chip ", the Document type data file is transferred to the Data in Single-Chip Computer System storer by serial line interface, specifically: the serial communication port (RS232 mouth) that connects PC and single-chip microcomputer with cable.Working procedure software on PC " transfers Q_YB_VB_ to write chip ", and Single Chip Microcomputer (SCM) system operation assembly routine software " transfers the Q_YB_ single-chip microcomputer to write storage chip ";
The PC man-machine interface is provided with:
Baud rate 115200Hz; No parity check; Data bit 8; Port Comml; Burn sheet sector start address 00000; Picture is wide by 640; Picture is high by 480; Picture all over the screen;
Click " opening file " button, the picture file of selected text formatting (.C), text box can show this document content;
After clicking " write data " button, image data gets final product typing Data in Single-Chip Computer System storage chip, after the data typing is finished, shows the full-screen background picture of typing automatically at the LCD screen.
Described serial communication port (RS232 serial ports) data transmission, its order format and instruction sign indicating number is as follows:
PC is sent out " A " and is Showed Picture; Single-chip microcomputer is replied " A "
After PC is sent out " B " and is write the image data single-chip microcomputer and reply " B ",
PC is given column data head (sending out with 16 ary codes);
Typing first address 3 bytes+high 2 bytes of wide 2 bytes of picture+picture+
Wipe sector number 1 byte+frame number 2 bytes+spare word joint number 1 byte
+ verification and 1 byte (totally 12 bytes);
After single-chip microcomputer was replied " A ", PC began to send out data;
Data frame format is as follows: (16 ary codes);
1 byte (data length)+128 byte (data)+1 byte (verification and)
The frame of less than 128 bytes is still by " data length " control transmission length;
After single-chip microcomputer is replied " 5 ",
PC is retransmitted order or data;
Remove data and send by 16 ary codes, other transmission order and reception are replied all and are sent or receive by ASCII character.
Referring to Fig. 3, described " transferring Q_YB_VB_ to write chip " software manual is as follows:
A. at display interface some parameters are set. as baud rate (115200), verification, picture all over the screen etc.;
B. click and write picture/data button, begin to send out and write picture all over the screen " B " order, receive acknowledge character " B ";
C. send out data head, form is: typing first address 3 bytes+high 2 bytes of wide 2 bytes of picture+picture+wipe sector number 1 byte+frame number 2 bytes+spare word joint number 1 byte+verification and 1 byte (totally 12 bytes); Receive acknowledge character " A ";
D. begin to send out image data 128 a bytes+verification and a byte.Finish frame data and send and receive acknowledge character;
E. repeat " d ", send complete up to whole frame numbers, spare word joint number.End data sends.
Referring to Fig. 4, described " transferring the Q_YB_ single-chip microcomputer to write storage chip " software manual is as follows:
A. the serial port interrupt request is waited in single-chip microcomputer electrification reset, initialization;
B. serial port interrupts, and receives order " B ", by command erases external memory storage respective stored sector, answers order " B ";
C. receive data head, store each byte data into internal storage respectively,, answer order " A " as control variable;
D. receive 128 byte datas+verification and (frame), or remainder bytes, every reception one byte data stores external memory storage into, answers " A ";
E. all frame number, remainder bytes logarithmic data receive, and Show Picture.
Behind the invention process such scheme: a. can read full frame image data or the file of the size image data that respectively varies in size and show at text box; B. can be with the address section of data transmission pin-saving chip appointment in the Single Chip Microcomputer (SCM) system; C. typing set of diagrams sheet data continuously; D. can change data transmission bauds is set.
The present invention is applicable to the picture of full range of sizes, the demonstration of character.
Obviously, the above embodiment of the present invention only is for example of the present invention clearly is described, and is not to be qualification to embodiments of the present invention.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description.Here can't give exhaustive to all embodiments.Everyly belong to the row that conspicuous variation that technical scheme of the present invention extends out or change still are in protection scope of the present invention.

Claims (2)

1. the method for LCD full-screen background picture Display Realization in the Single Chip Microcomputer (SCM) system is characterized in that following steps are arranged:
A. create new picture or adopt existing picture;
B. use software " Image2Lcd ", convert the picture file of step a to 16 system data text formatted files;
C. the serial communication port with cable connection PC and single-chip microcomputer carries out data transmission; Working procedure software on PC " transfers Q_YB_VB_ to write chip "; " transfer the Q_YB_ single-chip microcomputer to write storage chip " at Single Chip Microcomputer (SCM) system operation assembly routine software;
D.PC machine man-machine interface is provided with: comprise baud rate, no parity check, data bit, port, burning sheet sector start address, dimension of picture are set;
E. click " opening file " button, the picture file of selected text formatting (.C), text box promptly shows above-mentioned file content;
F. after clicking " write data " button, image data is a typing Data in Single-Chip Computer System storage chip, after the data typing is finished, shows the full-screen background picture of typing automatically at the LCD screen.
2. the method for LCD full-screen background picture Display Realization in a kind of Single Chip Microcomputer (SCM) system as claimed in claim 1 is characterized in that described serial communication port carries out data transmission method and comprises:
Order format and instruction sign indicating number is as follows:
PC is sent out " A " and is Showed Picture; Single-chip microcomputer is replied " A "
After PC is sent out " B " and is write the image data single-chip microcomputer and reply " B ",
PC is given the column data head with 16 ary codes:
Typing first address 3 bytes+high 2 bytes of wide 2 bytes of picture+picture+wipe sector number 1 byte+frame number 2 bytes+spare word joint number 1 byte+verification and 1 byte;
After single-chip microcomputer was replied " A ", PC began to send out data;
Data frame format is as follows:
1 byte-data length+128 bytes-data+1 byte-verification and;
The frame of less than 128 bytes is still by " data length " control transmission length; After single-chip microcomputer is replied " 5 ",
PC is retransmitted order or data;
Remove data and send by 16 ary codes, other transmission order and reception are replied all and are sent or receive by ASCII character.
CN2009100611146A 2009-03-13 2009-03-13 Method for realizing LCD full-screen background picture display in singlechip system Active CN101833940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100611146A CN101833940B (en) 2009-03-13 2009-03-13 Method for realizing LCD full-screen background picture display in singlechip system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100611146A CN101833940B (en) 2009-03-13 2009-03-13 Method for realizing LCD full-screen background picture display in singlechip system

Publications (2)

Publication Number Publication Date
CN101833940A true CN101833940A (en) 2010-09-15
CN101833940B CN101833940B (en) 2012-03-14

Family

ID=42717993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100611146A Active CN101833940B (en) 2009-03-13 2009-03-13 Method for realizing LCD full-screen background picture display in singlechip system

Country Status (1)

Country Link
CN (1) CN101833940B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102982502A (en) * 2012-11-26 2013-03-20 康佳集团股份有限公司 Picture batch conversion method and system
CN108710594A (en) * 2018-06-01 2018-10-26 西京学院 12864 serial ports configuration screen devices of one kind and control method
WO2020169057A1 (en) * 2019-02-20 2020-08-27 深圳大普微电子科技有限公司 File storage system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100405293C (en) * 2006-06-29 2008-07-23 中国电子科技集团公司第三十研究所 Dot matrix graphic interface development method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102982502A (en) * 2012-11-26 2013-03-20 康佳集团股份有限公司 Picture batch conversion method and system
CN102982502B (en) * 2012-11-26 2018-10-12 康佳集团股份有限公司 A kind of picture Batch conversion method and system
CN108710594A (en) * 2018-06-01 2018-10-26 西京学院 12864 serial ports configuration screen devices of one kind and control method
WO2020169057A1 (en) * 2019-02-20 2020-08-27 深圳大普微电子科技有限公司 File storage system and method

Also Published As

Publication number Publication date
CN101833940B (en) 2012-03-14

Similar Documents

Publication Publication Date Title
CN204360742U (en) A kind of sub-advertisement screen control system of LED electrical of handwriting input
CN101833940B (en) Method for realizing LCD full-screen background picture display in singlechip system
CN105224337B (en) A kind of desktop starter dynamic addition floating window method
CN111752504B (en) Multi-screen display method and system for electronic equipment, electronic equipment and computer readable medium
CN104156206A (en) Image making system
JP2004317583A5 (en)
JP2010244106A (en) Thin client terminal, thin client system, and character input control method and program in the system
CN106383726B (en) A kind of signal adapter upgrade method based on image/video coffret
CN102123248A (en) Splicing wall for monitors and splicing unit thereof
CN112256191B (en) Intelligent blackboard, data processing method and device thereof and intelligent interactive panel
CN101719353B (en) Extended display identification data burning method for Display Port liquid crystal display
CN108818565A (en) A kind of control method and system that the mechanical arm that writes writes
CN201204030Y (en) Apparatus for updating LCD EDID
CN112327521A (en) Device and method for generating cross cursor in display image of display module to be tested
CN115101025B (en) LCD control circuit supporting virtual frame buffering and control method thereof
CN203012699U (en) Display control device based on wire-jumper adjustment of display resolution
CN101789130A (en) Method and device for terminal equipment to use self-drawn picture
KR20130043322A (en) Display controller and display device including the same
JP5228565B2 (en) CAD system
CN100530339C (en) Display system and method of mobile terminal
CN112433966B (en) Multi-interface architecture based on Windows platform and implementation method
CN101464752A (en) Electronic drawing board used for computer graphics
CN106406791B (en) Rapid synchronous display method, system and device connected with system
CN203057191U (en) LED information issuing and management system based on Andriod platform
CN113986178A (en) Universal display driving device and method for display screen of DCS platform of nuclear power plant

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP03 Change of name, title or address

Address after: 430074 No. 16 Optics Valley Avenue, East Lake New Technology Development Zone, Wuhan, Hubei

Patentee after: WUHAN MIRACLE LASER TECHNOLOGY CO., LTD.

Address before: 430074 Hubei province Wuhan city road two East Lake high tech Development Zone, Chutian Laser Science and Technology Building

Patentee before: Wuhan Qizhi Laser Technology Co., Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method for realizing LCD full-screen background picture display in singlechip system

Effective date of registration: 20160627

Granted publication date: 20120314

Pledgee: Wuhan rural commercial bank Limited by Share Ltd Optics Valley branch

Pledgor: WUHAN MIRACLE LASER TECHNOLOGY CO., LTD.

Registration number: 2016420000025

PLDC Enforcement, change and cancellation of contracts on pledge of patent right or utility model
PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20170613

Granted publication date: 20120314

Pledgee: Wuhan rural commercial bank Limited by Share Ltd Optics Valley branch

Pledgor: WUHAN MIRACLE LASER TECHNOLOGY CO., LTD.

Registration number: 2016420000025