Difference between revisions of "LCD-HD101"

From FriendlyELEC WiKi
Jump to: navigation, search
(介绍)
(关于一线触摸)
Line 41: Line 41:
 
|}
 
|}
  
==关于一线触摸==
+
==One-Wire Technology==
* 在大部分的ARM主控板中,我们发现,直接使用CPU自带的ADC转换器并不能很好的支持大尺寸(7寸以上)的四线电阻触摸屏,市面上一般采用更加专业的USB或串口触摸屏扩展模块来解决。为了节省ARM主控芯片的有限资源以及减少外扩,我们专门开发了只使用一个普通GPIO就可以实现专业触摸效果的替代方案,并把它集成到我们的LCD模块驱动板中,我们称之为“一线触摸(1-Wire)”。它的基本原理是,使用一个低成本的MCU连接一个专业的触控芯片(在此我们使用的是ADS7843或兼容芯片),采集并处理四线电阻模拟信号,并把滤波(未校准)后的稳定原始数据通过GPIO送给ARM主控,经我们长期反复测试,即使在19寸这样大的电阻触摸屏上,也可以实现非常精准的触摸效果,不会出现漂移抖动的现象。
+
* As for most ARM boards we observed that using CPU’s ADC conversion didn’t work very well for large-size LCDs (7” and larger) with four-wire resistive touch. Some vendors use an external USB or UART module to connect these LCDs. To save CPU’s hardware resources and minimize usage of external modules we developed the one-wire technology which only uses a single GPIO pin and we have integrated this technology in all our LCD controller boards. This technology uses an MCU to communicate with the touch panel’s chip (we use the ADS7843 chip or other chips compatible with ADS7843) and  process the four-wire resistor’s analog signals and output the filtered stable signals to the ARM board via GPIO. We tested this technology in various LCDs and it worked very well even for a large LCD of 19” and some commonly observed issues such as screen flipping and jittering were not encountered.
* 另外,当今12寸以内的LCD显示屏,大都采用了LED背光,我们顺便也把背光调节部分也交给MCU来处理,并设置了统一的调节数值区间,最后通过“一线触摸”的GPIO传给ARM主控,这样在ARM端就可以非常方便的来设置背光了。
+
* Today most LCDs whose size is less than 12” have LED backlight. We use the one-wire’s MCU to process the backlight as well. The backlight is set with a range of values. Users can set a value to the backlight and this value is passed to MCU for processing via one-wire’s GPIO pin.
* 与此同时,我们还为我们设计开发的每一款带“一线触摸”的LCD模块设置了编号存储在MCU中,这样通过一线通讯读取到的编号,就可以知道这个LCD模块的具体类型了,也就可以在bootloader和内核中自动匹配相应的LCD驱动参数,以此来实现无需修改任何配置,即插即用带”一线触摸”的LCD模块。
+
* Each FriendlyARM’s LCD module has a unique ID which is saved in the one-wire’s MCU. When the MCU reads the ID information from GPIO signals it will recognize the LCD model and instruct the bootloader to load the corresponding LCD driver, making a FriendlyARM LCD plug and play.
* 在电容触摸LCD模块中,我们则去掉了电阻触控芯片,而保留了背光调节和存储LCD类型编号这2个功能,因此电容触摸通讯依然是标准的I2C接口。
+
* As for the one-wire technology for our LCDs with capacitive touch we removed the resistive touch panel’s chip but kept the backlight adjusting function and LCD’s ID information. Therefore the communication between the capacitive touch and the ARM board is still standard IIC.
* 需要注意的是,我们实现的“一线触摸”的通讯,和通常所说的单总线接口是不同的。在ARM主控端内部,我们实际采用了一路pwm timer(不是pwm管脚哦)来实现固定的通讯频率(9600Hz),详细请查看驱动源代码。
+
* Attention: the one-wire technology is different from the commonly known single-bus communication. Actually in the ARM board we use a PWM timer (not PWM pins) to generate the communication frequency (9600Hz). For more details please refer to the driver’s source code.

Revision as of 15:28, 28 June 2016

查看中文

1 Introduction

HD101.png
  • The HD101 LCD is a FriendlyARM developed LCD with capacitive touch panel. Its resolution is 1280 x 800. Its backlight is adjustable via FriendlyARM’s one-wire technology. It works with FriendlyARM’s Tiny4412, Super4412, NanoPC-T1, NanoPC-T2, NanoPi 2 and NanoPi 2 Fire under Linux and Android. Its driver is open source.
  • The HD101 has a black ABS bezel with mounting holes making it easily deployed in various situations.

2 Dimensional Diagram

HD10101.png

3 Applications

HD10102.png HD10103.png

4 Datasheet

5 Schematics

6 Applicable Platforms

Debian Android Linux+Qt
NanoPi 2 NanoPi 2
NanoPi M2 NanoPi M2
NanoPi 2 Fire NanoPi 2 Fire
NanoPi M3 NanoPi M3
NanoPC T2 NanoPC T2
NanoPC T3 NanoPC T3
Smart4418 Smart4418
Tiny4412 Tiny4412

7 One-Wire Technology

  • As for most ARM boards we observed that using CPU’s ADC conversion didn’t work very well for large-size LCDs (7” and larger) with four-wire resistive touch. Some vendors use an external USB or UART module to connect these LCDs. To save CPU’s hardware resources and minimize usage of external modules we developed the one-wire technology which only uses a single GPIO pin and we have integrated this technology in all our LCD controller boards. This technology uses an MCU to communicate with the touch panel’s chip (we use the ADS7843 chip or other chips compatible with ADS7843) and process the four-wire resistor’s analog signals and output the filtered stable signals to the ARM board via GPIO. We tested this technology in various LCDs and it worked very well even for a large LCD of 19” and some commonly observed issues such as screen flipping and jittering were not encountered.
  • Today most LCDs whose size is less than 12” have LED backlight. We use the one-wire’s MCU to process the backlight as well. The backlight is set with a range of values. Users can set a value to the backlight and this value is passed to MCU for processing via one-wire’s GPIO pin.
  • Each FriendlyARM’s LCD module has a unique ID which is saved in the one-wire’s MCU. When the MCU reads the ID information from GPIO signals it will recognize the LCD model and instruct the bootloader to load the corresponding LCD driver, making a FriendlyARM LCD plug and play.
  • As for the one-wire technology for our LCDs with capacitive touch we removed the resistive touch panel’s chip but kept the backlight adjusting function and LCD’s ID information. Therefore the communication between the capacitive touch and the ARM board is still standard IIC.
  • Attention: the one-wire technology is different from the commonly known single-bus communication. Actually in the ARM board we use a PWM timer (not PWM pins) to generate the communication frequency (9600Hz). For more details please refer to the driver’s source code.