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, the problem that cost is high, volume is big, inconvenience is carried.
The object of the present invention is to provide a kind of testing touch screen method, said method comprising the steps of:
The MCU driving display module shows;
When on touch-screen to be measured, touch action being arranged, the touch-screen driver module sends to the CPU in the single-chip microcomputer with the resistance value signal of touch-screen to be measured;
CPU in the single-chip microcomputer receives the resistance value signal that the touch-screen driver module sends, and is image data with said resistance value signal Processing;
CPU in the single-chip microcomputer is sent to display module with said image data and shows;
According to the result of the touch action on display module result displayed and the touch-screen consistent quality of directly judging touch screen performance to be measured whether;
Said touch-screen driver module is specially the step that the resistance value signal of touch-screen to be measured sends to the CPU in the single-chip microcomputer:
N the very little zone that be subdivided into of the viewing area of touch-screen two dimension, the value of each corresponding X in little zone, Y direction, drive IC is the corresponding X of touch-screen, and the analog signal conversion of the resistance value of Y is that digital signal is sent to CPU.
The present invention detects touch-screen to be measured through 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 the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.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 through writing the test procedure of touch-screen, on display module, shows that corresponding picture confirms the quality of the performance of touch-screen to be measured when using felt pen on touch-screen, to move.
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, said 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 said resistance value signal Processing, and said image data is sent to display module shows.
In the practical implementation process, said single-chip microcomputer also comprises CPU, and said 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 get into 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, through software programming n the very little zone that be subdivided into of the viewing area of touch-screen two dimension; The value of each corresponding X in little zone, Y direction; Drive IC is the corresponding X of touch-screen, and 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 receiving after various signals is handled.
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 the practical 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) width dimensions of PIN pin F is different; 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 through 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 4 the pad H in left side 1,2,3,4 connection is corresponding one by one.
Wherein the PIN angle definition of order difference of touch-screen to be measured can realize through 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 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 said resistance value signal Processing.
In step S104, single-chip microcomputer is sent to display module with said image data and shows.
The present invention detects touch-screen to be measured through 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 is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.