3.5英寸SPI TFT液晶显示器适用于Android Things

时间:2017-12-18 11:35:04

标签: android raspberry-pi spi touchscreen android-things

我有一台KeDei 3.5 ich SPI TFT LCD显示器。我用Android Things Image附加了Raspberry Pi。当我启动RPi时,没有显示任何内容,只显示黑屏。显示器正在通电,我可以区分它的开启和关闭状态。但是当我尝试远程显示(按照this post的步骤)时,我可以正确地看到显示。 我认为Logcat输出与显示有关:

import json
from pprint import pprint

json_obj = response.json()

entityId = json_obj['queryResponse']['entityId']

for _ in entityId:
    pprint( _['@url'])

我尝试了最新的Raspbian Image和开发预览版0.4 here。尝试在同一链接中给出的HDMI配置。除KeDei vendor的rpi_35_v6.3_ubuntu_mate_15_kedei图像外,没有任何作用。

显示规格:

  • 480x320 16bit / 18bit
  • 版本6.3 2016/11/1

Android Things:

  • OS:0.6.1-devpreview
  • 构建:OIM1.171126.016
  • 空捆绑

1 个答案:

答案 0 :(得分:3)

根据Hardware Platforms说明,支持Android Things的Raspberry Pi仅通过HDMI或DSI接口显示,而不是通过SPI显示,并且没有内置驱动程序 - 您的KeDei 3.5 ich SPI TFTLCD显示器将无法工作。您只能通过SPI命令(例如自定义驱动程序)从您的应用程序使用该显示,但不能从Android Things系统使用。