The user interface made of a LCD (liquid crystal display) screen and a touch screen based on LPC2138 is presented in this paper. The hardware design of the LCD and the touch screen is introduced and the software flow of the LCD and the touch screen is also described in this paper. And this paper proposes the synchronization algorithm which can achieve the LCD and the touch screen point by point with high accuracy and great reliability. On the basis of analyzing the principle of the embedded touch panel system, the working principle and control method of the dedicated controller DV320240GB touch screen are analyzed. The method for obtaining the coordinates of the touch screen and the synchronization algorithm of the LCD display are proposed to improve the efficiency of the touch screen and the LCD. The above-mentioned design has been successfully applied in ESR (erythrocyte sedimentation rate) detection system.