Difference between revisions of "All-in-One Android Touch Screen/zh"
From FriendlyELEC WiKi
(→接口定义) |
(→接口定义) |
||
Line 15: | Line 15: | ||
| style="background: PaleTurquoise; color: black" colspan="1"| '''Pin#''' || style="background: PaleTurquoise; color: black" colspan="1"| '''Symbol'''|| style="background: PaleTurquoise; color: black" colspan="1"| '''I/O'''|| style="background: PaleTurquoise; color: black" colspan="1"| '''Function''' | | style="background: PaleTurquoise; color: black" colspan="1"| '''Pin#''' || style="background: PaleTurquoise; color: black" colspan="1"| '''Symbol'''|| style="background: PaleTurquoise; color: black" colspan="1"| '''I/O'''|| style="background: PaleTurquoise; color: black" colspan="1"| '''Function''' | ||
|- | |- | ||
− | |1 || VDD-C-TP || | + | |1 || VDD-C-TP || P ||Power supply input for C-TP |
|- | |- | ||
− | |2 || GND-C-TP || | + | |2 || GND-C-TP || P ||Ground for C-TP |
|- | |- | ||
− | |3 || RST-C-TP || | + | |3 || RST-C-TP || I ||Reset C-TP |
|- | |- | ||
− | |4 || SCL | + | |4 || SCL || I || I2C Clock |
|- | |- | ||
− | |5 || SDA | + | |5 || SDA ||I/O|| I2C Data |
|- | |- | ||
− | |6 || INT | + | |6 || INT || O || Interrupt pin |
|- | |- | ||
− | |7 || GND | + | |7 || GND || P || Ground |
|- | |- | ||
− | |8 || GND | + | |8 || GND || P || Ground |
|- | |- | ||
− | |9 || GND | + | |9 || GND || P || Ground |
|- | |- | ||
− | |10 || VCOM | + | |10 || VCOM || P || Common Voltage |
|- | |- | ||
− | |11 || VDD | + | |11 || VDD || P ||Power Voltage for digital circuit |
|- | |- | ||
− | |12 || VDD | + | |12 || VDD || P ||Power Voltage for digital circuit |
|- | |- | ||
− | |13 || RST GLOBAL || | + | |13 || RST GLOBAL || I ||Global reset pin |
|- | |- | ||
− | |14 || STBYB | + | |14 || STBYB || I ||Standby mode |
|- | |- | ||
− | |15 || GND || P | + | |15 || GND || P ||Ground |
|- | |- | ||
− | |16 || RXIN0- | + | |16 || RXIN0- || I ||-LVDS differential data input |
|- | |- | ||
− | |17 || RXIN0+ | + | |17 || RXIN0+ || I ||+LVDS differential data input |
|- | |- | ||
− | |18 || GND | + | |18 || GND || P ||Ground |
|- | |- | ||
− | |19 || RXIN1- || I | + | |19 || RXIN1- || I || -LVDS differential data input |
+ | |- | ||
+ | |20 || RXIN1+ || I || +LVDS differential data input | ||
|- | |- | ||
− | | | + | |21 || GND || P ||Ground |
|- | |- | ||
− | | | + | |22 || RXIN2- || I ||-LVDS differential data input |
|- | |- | ||
− | | | + | |23 || RXIN2+ || I || +LVDS differential data input |
|- | |- | ||
− | | | + | |24 || GND || P ||Ground |
|- | |- | ||
− | | | + | |25 || RXCLKIN- || I ||-LVDS differential clock input |
|- | |- | ||
− | | | + | |26 || RXCLKIN+ || I ||+LVDS differential clock input |
|- | |- | ||
− | | | + | |27 || GND || P ||Ground |
|- | |- | ||
− | + | |28 || RXIN3- || I ||-LVDS differential data input | |
− | + | |- | |
− | |28 || RXIN3- | + | |29 || RXIN3+ || I ||+LVDS differential data input |
− | |- | + | |- |
− | |29 || RXIN3+ || I | + | |30 || GND || P ||Ground |
− | |- | + | |
− | |30 || GND || P | + | |
|- | |- | ||
− | |31 || GND | + | |31 || GND || P ||Ground |
|- | |- | ||
− | |32 || DIMO || O | + | |32 || DIMO || O || Backlight CABC controller signal output |
|- | |- | ||
− | |33 || SELB || I | + | |33 || SELB || I || 6/8bit mode select |
|- | |- | ||
− | |34 || AVDD || | + | |34 || AVDD || P || Power for Analog Circuit |
|- | |- | ||
− | |35 || GND | + | |35 || GND || P || Ground |
|- | |- | ||
− | |36 || LED- || P | + | |36 || LED- || P || LED Cathode |
|- | |- | ||
− | |37 || LED- ||P | + | |37 || LED- || P || LED Cathode |
|- | |- | ||
− | |38 || L/R || I | + | |38 || L/R || I || Horiaontal inversion |
|- | |- | ||
− | |39 || U/D || I | + | |39 || U/D || I || Vertiacl inversion |
|- | |- | ||
− | |40 || VGL || P | + | |40 || VGL || P || Gate OFF Voltage |
|- | |- | ||
− | |41 || CABCEN1 || I | + | |41 || CABCEN1 || I || CABC H/W enable |
|- | |- | ||
− | |42 || CANCEN0 || I | + | |42 || CANCEN0 || I || CABC H/W enable |
|- | |- | ||
− | |43 || VGH || P | + | |43 || VGH || P || Gate ON Voltage |
|- | |- | ||
− | |44 || LED+ || P | + | |44 || LED+ || P || LED Anode |
|- | |- | ||
− | |45 || LED+ || P | + | |45 || LED+ || P || LED Anode |
|} | |} | ||
Revision as of 07:17, 15 March 2019
1 介绍
- All-in-One Android Touch Screen是友善电子设计开发并生产的一款9寸高清电容触摸显示屏,分辨率为1280 x 800,支持触摸,背光可调(通过i2c通讯),特意定做的底板接口适用于友善电子出品的Smart4418、Smart6818核心板,可支持Linux, Android等嵌入式系统,并且驱动开源。
- 底板使用定制的支架和屏幕固定,没有制作外壳,非常方便企业用户安装到设备中做二次开始使用。
2 机械尺寸图
3 接口定义
- HD900(LVDS)接口定义
Pin# Symbol I/O Function 1 VDD-C-TP P Power supply input for C-TP 2 GND-C-TP P Ground for C-TP 3 RST-C-TP I Reset C-TP 4 SCL I I2C Clock 5 SDA I/O I2C Data 6 INT O Interrupt pin 7 GND P Ground 8 GND P Ground 9 GND P Ground 10 VCOM P Common Voltage 11 VDD P Power Voltage for digital circuit 12 VDD P Power Voltage for digital circuit 13 RST GLOBAL I Global reset pin 14 STBYB I Standby mode 15 GND P Ground 16 RXIN0- I -LVDS differential data input 17 RXIN0+ I +LVDS differential data input 18 GND P Ground 19 RXIN1- I -LVDS differential data input 20 RXIN1+ I +LVDS differential data input 21 GND P Ground 22 RXIN2- I -LVDS differential data input 23 RXIN2+ I +LVDS differential data input 24 GND P Ground 25 RXCLKIN- I -LVDS differential clock input 26 RXCLKIN+ I +LVDS differential clock input 27 GND P Ground 28 RXIN3- I -LVDS differential data input 29 RXIN3+ I +LVDS differential data input 30 GND P Ground 31 GND P Ground 32 DIMO O Backlight CABC controller signal output 33 SELB I 6/8bit mode select 34 AVDD P Power for Analog Circuit 35 GND P Ground 36 LED- P LED Cathode 37 LED- P LED Cathode 38 L/R I Horiaontal inversion 39 U/D I Vertiacl inversion 40 VGL P Gate OFF Voltage 41 CABCEN1 I CABC H/W enable 42 CANCEN0 I CABC H/W enable 43 VGH P Gate ON Voltage 44 LED+ P LED Anode 45 LED+ P LED Anode
4 连接使用
5 Datasheet下载
- [点击下载]
6 原理图下载
- [点击下载]
7 支持的开发板
Debian系统 Android系统 Linux+Qt系统 Smart4418 Smart4418 Tiny4412 Tiny4412
8 关于一线触摸
- 在大部分的ARM主控板中,我们发现,直接使用CPU自带的ADC转换器并不能很好的支持大尺寸(7寸以上)的四线电阻触摸屏,市面上一般采用更加专业的USB或串口触摸屏扩展模块来解决。为了节省ARM主控芯片的有限资源以及减少外扩,我们专门开发了只使用一个普通GPIO就可以实现专业触摸效果的替代方案,并把它集成到我们的LCD模块驱动板中,我们称之为“一线触摸(1-Wire)”。它的基本原理是,使用一个低成本的MCU连接一个专业的触控芯片(在此我们使用的是ADS7843或兼容芯片),采集并处理四线电阻模拟信号,并把滤波(未校准)后的稳定原始数据通过GPIO送给ARM主控,经我们长期反复测试,即使在19寸这样大的电阻触摸屏上,也可以实现非常精准的触摸效果,不会出现漂移抖动的现象。
- 另外,当今12寸以内的LCD显示屏,大都采用了LED背光,我们顺便也把背光调节部分也交给MCU来处理,并设置了统一的调节数值区间,最后通过“一线触摸”的GPIO传给ARM主控,这样在ARM端就可以非常方便的来设置背光了。
- 与此同时,我们还为我们设计开发的每一款带“一线触摸”的LCD模块设置了编号存储在MCU中,这样通过一线通讯读取到的编号,就可以知道这个LCD模块的具体类型了,也就可以在bootloader和内核中自动匹配相应的LCD驱动参数,以此来实现无需修改任何配置,即插即用带”一线触摸”的LCD模块。
- 在电容触摸LCD模块中,我们则去掉了电阻触控芯片,而保留了背光调节和存储LCD类型编号这2个功能,因此电容触摸通讯依然是标准的I2C接口。
- 需要注意的是,我们实现的“一线触摸”的通讯,和通常所说的单总线接口是不同的。在ARM主控端内部,我们实际采用了一路pwm timer(不是pwm管脚哦)来实现固定的通讯频率(9600Hz),详细请查看驱动源代码。