#touchlcd

2019-11-14

#COM
#UART
#I2C
#SPI
#touchlcd

ドローンでよく使われるシリアル通信規格について(SPI、UART、I2C)
create-it-myself.com/research/

SPI
> 伝送速度:数Mbpsほど

これはSPI接続
adafruit.com/product/1480

2019-11-14

#4dsystems
#touchlcd
#ESP8266

4DUINO-24
4dsystems.com.au/products/feat

> and WiFi Capabilities using built-in ESP8266 SoC

WiFiのものはESP8266が普及している

ESP32ではない

LPCXpresso54628にもESP8266対応がたしかあった

2019-11-14

#DIP (Doing in private)
#4dsystems
#touchlcd
#Power

gen4-uLCD-35DT

serial slave mode

PWR後に3秒待ちで初期化完了

MCUと使う場合、初期化完了してから使わないと失敗する場合あり

disp_clear()コマンドはあるが

2019-11-13

#DIP (Doing in private)
#4dsystems #touchlcd
gen4-uLCD-35DT

media_VideoFrame [FF30 0000 0000 00D2] 0.013 (ACK)

応答待ち 13msec

2019-11-12

#DIP (Doing in private)
#4dsystems
#touchlcd

gen4-uLCD-35DT

Diablo16 serial commands reference manual
5.6.29. File Run

> The File Run command will load the 4FN or 4XE program from the uSD card into the RAM and execute it.

.4FN file: 4DGLがmain()を引数付きで持つ時
.4XE file: 4DGLがmain()を引数なしで持つ時

プログラム実行のこの仕組は面白いな

2019-11-12

#DIP (Doing in private)
#4dsystems
#touchlcd
#font

タッチディスプレイ gen4-uLCD-35DT > 日本語フォント(東雲)を表示する > Display Video Frameを使う
qiita.com/7of9/items/3ec81afe0

2019-11-12

#DIP (Doing in private)
#font
#4dsystems
#touchlcd

gen4-uLCD-35DT

白黒反転したらカメラ写りがよくなった

2019-11-12

#DIP (Doing in private)
#font
#4dsystems
#touchlcd

gen4-uLCD-35DT

Display Video Frame機能を使った日本語フォント(東雲)の表示

左上の「あいう」

16x16は小さく、二倍に拡大はした (ImageMagick)

2019-11-12

#DIP (Doing in private)
#font
#4dsystems
#touchlcd
#ImageMagick

Python + ImageMagick > BMP形式の文字一覧から文字を切り出す (東雲フォントのBMP変換に対して)
qiita.com/7of9/items/b8b3caea9

2019-11-11

#DIP (Doing in private)
#4dsystems
#touchlcd

Diablo16 Serial Commands Reference Manual
p123
5.6.31. Load Image Control

> ... use the "File Seek" command to get to the position of the image which can then automatically be displayed using the "Display Image (FAT)" command.

探していたのはこれか
こちらでなくDisplya Video Frameを使うのでいいが

2019-11-11

#DIP (Doing in private)
#4dsystems
#touchlcd
#font

日本語表示の流れ
1. animated gifでひらがな、カタカナのアニメーション画像を作る
2. Graphics Composerで読み込み、rawイメージでmicroSD保存 
3. Display Video Frame (RAW)にて任意の文字を指定位置に表示

animated gitを作るツールはlinuxでもWindowsでも

管理がしやすくなるだろう

2019-11-11

#DIP (Doing in private)
#4dsystems
#touchlcd
#font
#image

gen4-uLCD-35DT

forum.4dsystems.com.au/node/55

> I eventually found a better way to accomplish what I was trying to do by putting all the SD card image offsets into a two dimensional array. I figured I had to have all those offsets in memory might as well have them arranged in usable order. ...

作るのに苦労したという記載もある

2019-11-11

5.6.17 Display Image (FAT)

> If there is more than 1 image in the file, it can be accessed with the "File Seek" command.

#DIP (Doing in private)
#4dsystems
#touchlcd

2019-11-11

#DIP (Doing in private)
#4dsystems
#touchlcd

gen4-uLCD-35DT

Diablo16 serial commands reference manual
5.2.19 Set Clip Window

> The Set Clip Window command specifies a clipping window region on the screen such that any objects and text placed onto the screen will be clipped and displayed only within that region.

画像の一部を表示するのに使えるかどうか

2019-11-11

#touchlcd
#4dsystems

4DLCD-43480272-RTP
mouser.jp/ProductDetail/4D-LCD

4D Systemsのパラレル接続Touch LCD

RockTechのものと似ているが、ピンは微妙に異なる?

gen4-uLCD-35DTと比べて、通信速度は速くなるのだろうか
MCU側の処理は要検討

40ピンとCTPケーブルの2つの接続を使うことになるのか

2019-11-11

#touchlcd

RockTech
RK043FN48H-CT672B
mikrocontroller.bplaced.net/wo

この資料の6.1 TFT LCD Pin DescriptionはLPCXpresso54628のLCDとは配置が違う

Resetピンが40ピンに含まれている

LCDのモデルにより、ピン配置が異なり、LPCXpresso54628ではあのモデルが使われている
ということなんだろう

2019-11-11

#touchlcd
#iMXRT
#eLCDIF

eLCDIFという規格のLCDなんだろう

eLCDIF RGB Mode Use Case
nxp.com/docs/en/application-no

#NXP

2019-11-11

#lpcxpresso54628
#IDE
#GPIO
#touchlcd

LPCXpresso54628
Pin Tools

A-P, 1-14の正方形の配置
ピン2, 27に対応するものは不明のまま

2019-11-11

#lpcxpresso54628
#GPIO
#touchlcd

community.nxp.com/thread/51508

Pin 2-27

LPCXpresso 54628のSDKをインストール
Pin Toolsで確認
で分かるかな

2019-11-11

#NXP
#touchlcd
#iMXRT
#GPIO

i.MX RT1050 SDK

MCUXPresso IDEからPin Toolsを起動
「LCDIF」にて検索
29個のPinが抽出された

Touch LCDのA1-A40に含まれるのだろう

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst