Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of testing touch screen system, is intended to solve in the prior art touch-screen is carried out the electric function property testing, cost height, the problem that volume is big, inconvenience is carried.
The embodiment of the invention is achieved in that a kind of testing touch screen system, and described system comprises the touch-screen to be measured that connects successively, touch-screen link block, touch-screen driver module, single-chip microcomputer and display module.
Another object of the present invention is to provide a kind of testing touch screen method, said method comprising the steps of:
The Micro Controller Unit (MCU) driving display module shows;
When on touch-screen to be measured touch action being arranged, the touch-screen driver module sends to single-chip microcomputer with the resistance value signal of touch-screen to be measured;
Single-chip microcomputer receives the resistance value signal that the touch-screen driver module sends, and is image data with described resistance value signal Processing;
Single-chip microcomputer is sent to display module with described image data and shows.
The present invention detects touch-screen to be measured by using single-chip microcomputer, and volume is little, easy to operate, make the cost of senses touch screen reduce, improve greatly detection efficiency greatly.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The present invention utilizes single-chip microcomputer by writing the test procedure of touch-screen, shows that corresponding picture confirms the quality of the performance of touch-screen to be measured when using felt pen to move on touch-screen on display module.
See also Fig. 1, the figure shows the structure of the testing touch screen system that the embodiment of the invention provides.This system comprises single-chip microcomputer, touch-screen link block and display module.
Wherein, described single-chip microcomputer connects the touch-screen driver module, and the touch-screen driver module connects the touch-screen link block, and when felt pen had touch action on touch-screen to be measured, the touch-screen driver module sent to single-chip microcomputer with the resistance value signal of touch-screen to be measured.
Single-chip microcomputer receives the resistance value signal that the touch-screen driver module sends, and is image data with described resistance value signal Processing, and described image data is sent to display module shows.
In specific implementation process, described single-chip microcomputer also comprises CPU, and described CPU connects the touch-screen driver module.
The touch-screen link block is placed touch-screen to be measured.
Preferably, the single-chip microcomputer of the embodiment of the invention adopts the W78E516B single-chip microcomputer, and after the touch-screen drive IC program that writes downloaded to single-chip microcomputer, the total system energising just can enter normal operating condition.
Preferably, the touch-screen driver module that the design adopts is ADS7846, after the system start-up, CPU receives the data that the touch-screen driver module sends, by software programming the viewing area two dimension of touch-screen is subdivided into n very little zone, the value of each corresponding X in little zone, Y direction, drive IC is the X of touch-screen correspondence, the analog signal conversion of the resistance value of Y is that digital signal is sent to CPU, and CPU sends to the different picture of demonstration on the display module according to after receiving different signal Processing.
Felt pen moves on touch-screen, and display module shows corresponding picture, the testing staff according to result displayed whether with the own result who on touch-screen, the moves quality of consistent directly judgement touch screen performance to be measured whether.
In specific implementation process, the physical construction of the embodiment of the invention sees also Fig. 2, and Fig. 3 is that (Printed Circuit Board, PCB) (being A among Fig. 2) elaborates below in conjunction with Fig. 2 and Fig. 3 for the printed circuit board of test touch screen usefulness among Fig. 2.
After touch-screen to be measured is placed on the touch-screen link block, can be according to FPC (the Flexible Printed Circuit of touch-screen to be measured, FPC) the width dimensions difference of PIN pin F, screw G on the PCB of adjustment touch-screen link block, make golden finger I (Fig. 3) on the PCB of PIN angle and touch-screen link block of FPC of touch-screen to be measured fit like a glove corresponding after, press lower handle D, make touch-screen to be measured FPC the pressure of PIN pin F by pressure head E and touch-screen link block pcb board on golden finger I (Fig. 3) be connected conducting, among 4 golden finger I on the pcb board 1,2,3,4 respectively with 1 of 4 the pad H in left side, 2,3,4 connect correspondence one by one.
Wherein the PIN angle definition of order difference of touch-screen to be measured can realize by 4 lines that adjustment is welded on 4 pad H on the pcb board.
On touch-screen, make in the action according to the whether consistent performance of judging touch-screen of display module picture displayed quality whether of felt pen.
The embodiment of the invention also provides a kind of testing touch screen method, sees also Fig. 4.
In step S101, the Micro Controller Unit (MCU) driving display module shows.
In step S102, when on touch-screen to be measured touch action being arranged, the touch-screen driver module sends to single-chip microcomputer with the resistance value signal of touch-screen to be measured.
Preferably, the touch-screen driver module is that digital signal sends to single-chip microcomputer with the analog signal conversion of the resistance value of touch-screen to be measured.
In step S103, single-chip microcomputer receives the resistance value signal that the touch-screen driver module sends, and is image data with described resistance value signal Processing.
In step S104, single-chip microcomputer is sent to display module with described image data and shows.
The present invention detects touch-screen to be measured by using single-chip microcomputer, and volume is little, easy to operate, make the cost of senses touch screen reduce, improve greatly detection efficiency greatly.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.