كيف يتم توصيل ال touch screen واين تباع فى مصر ؟
كيف يتم توصيل ال Touch Screen واين تباع فى مصر ؟
هذا سؤال عام
كل شاشة لها أسلوب التعامل معها
و هذا حسب منفذ التوصيل
و أيضا حسب الشركة المصنعة
أبحث فى باب اللوق
و أيضا أنت لم تحدد عن أى نوع من الشاشات تتحدث, هل تتحدث عن تلك التى فى حجم الكف أم تتحدث عن شاشات كبيرة ؟
تم تعديل هذه المشاركة بواسطة _- محمد نور -_ في 22 يوليو 2009 في 01:22
لا إله إلا الله محمد رسول الله
アッラー以外に神はなし。ムハンマドはアッラーの使徒である
لو كنت من مصر فى باب اللوق ستجد شاشات سعرها غالى وجودتها منخفضة لا تستطع حتى عرض صور
يمكنك ان تنزل شارع عبد العزيز واشترى شاشة موبايل نقى واحدة كبيرة بس قبلها لازم يكون عندك الداتا شيت بتاعتها
كان فى تجربة هنا فى المنتدى للأخ محمد الامين فى موضوع نظام تشغيل عربى للأجهزة الكفية لكنها لا تعمل باللمس
مبارك لشعب تونس ![]()
السلام عليكم و رحمة الله و بركاته
أخي في الله يمكنك عمل شاشة ملمس بواسطة GLCD و touch panel بكل بساطة و إليك أخي هذا التوصيل ، اعذرني أخي لم أترجم النص لأني جد جد مشغول :
A touch panel is a thin, self-adhesive transparent panel placed over the screen of a graphic LCD. It is very sensitive to pressure so that even a soft touch causes some changes on output signal. There are a few types of touch panel. The simplest one is the resistive touch panel.

It consists of two transparent rigid foils, forming a 'sandwich' structure, that have resistive layers on their inner sides. The resistance of these layers usually does not exceed 1K. The opposite sides of the foils have contacts available for use through a flat cable.

The process of determining coordinates of the point in which the touch panel is pressed can be broken up into two steps. The first one is the determination of the X coordinate and the second one is the determination of the Y coordinate of the point.
In order to determine the X coordinate, it is necessary to connect the left contact on the surface A to ground and the right contact to the power supply. This enables a voltage divider to be obtained by pressing the touch panel. The value of the divider is read on the bottom contact of the surface B. Voltage can be in the range of 0V to the power supply and depends on the X coordinate. If the point is closer to the left contact of the surface A, the voltage will be closer to 0V.

In order to determine the Y coordinate, it is necessary to connect the bottom contact on the surface B to ground, and the upper contact to power supply. In this case, the voltage is read on the left contact of the surface A.
In order to connect a touch panel to the microcontroller it is necessary to create a circuit for touch panel control. By means of this circuit, the microcontroller connects appropriate contacts of the touch panel to ground and the power supply (as described above) in order to determine the X and Y coordinates. The bottom contact of the surface B and left contact of the surface A are connected to the microcontroller's A/D converter. The X and Y coordinates are determined by measuring voltage on these contacts, respectively. The software consists of writing a menu on graphic LCD, turning the circuit for touch panel control on/off (driving touch panel) and reading the values of A/D converter which actually represent the X and Y coordinates of the point.
Once the coordinates are determined, it is possible to decide what we want the microcontroller to do. In this example, microcontroller turns on/off two digital pins, connected to LED diodes A and B.
This example use functions belonging to the Glcd and ADC library.
Considering that the touch panel surface is slightly larger than the surface of the graphic LCD, in case you want greater accuracy when determining the coordinates, it is necessary to perform the software calibration of the touch panel.
السورس كود في المرفقات