へんな液晶で苦労する話
(おっかいものっ with AliExpress in 2020.11.11)
おおにし(hisa0211)
2021.02.13
自己紹介
●
なまえ おおにし(@hisa0211)
● しごと とある海外アプリまわりをいろいろ
⇒他に、いろいろとあやしい勉強会に
 出没することがあります。
●
或る商業誌に不穏な単語を書いたらしい。
今回のネタ
たとえ独身じゃなくても、みんなが大好きな「独身の日
in China」。
それにあわせて実施されるお買い物キャンペーンで購入
した「へんな液晶モジュール」の顛末を少しだけ紹介し
たいと思います。
まず…
今回、こんなん買っちゃいまして…。
で、これは何?
スペックシートを丸コピしてみます。
2.5 Inch 480*480 Round LCD Circle Screen IPS TFT Lcd HDMI MIPI Driver Board Roundness
CIrcular Display 400nits Brightness
●
Panel Size: 2.5 INCH
●
Panel Type: a-Si TFT-LCD, LCM
●
Resolution: 480(RGB)X480, 194PPI
●
Display Area: 62.64(W)×62.64(H) mm
●
Outline Size: 69.19(W)×71.74(H) ×3.9(D) mm
●
Brightness: 400 cd/m² (Typ.)
●
Contrast Ratio: 1000:1 (Typ.) (TM)
●
Viewing Angle: 85/85/85/85 (Typ.)(CR≥10)
●
Display Mode: ADS, Normally Black, Transmissive
●
Best View on: Symmetry
●
Display Colors: 16.7M 70% NTSC
●
Signal Interface: MIPI (2 data lanes) , 35 pins FPC
おやくそく…?
なぜか、なにも映りません
(バックライトは僅かに点灯している)
サポートに聞こう(あくまで穏便に)
When connected it to Raspberry pi with USB and HDMI, Backlight get bright but
there's no graphics.
Are there any other options and/or parameters to modify to use it?
Please let me know if you could.
Hi, did it works when connecting with computer?
When connecting with Windows computer, it detects as 480x480 screen but no
backlight nor graphics.
RaspberryPiに繋げてみたんだけど、バックライトだけで何も表示されないんだ
けど、どうしたらいい?
ん-、コンピューター(註:PCのこと)ではどうなるの?
WindowsのPCに繋いだら、480x480の液晶としては認識されるけど、画面表
示・バックライトどとらもダメだよ…
サポートに聞こう(あくまで穏便に)
This HDMI Adapter is converting with USB-C because my computer doesn't have
HDMI PORT. Is it doubtful of this problem?
HDMI cable is Raspberry pi foundation's product.
Then, I've changed USB cable to self powered one and other simple one.
 
Please, please don't use any Adapter. HDMI need to directly connect with computer.
 
My PC doesn't have HDMI PORT but USB-C. So I cannot do it.
このHDMIアダプタはUSB-Cしか搭載していない自分のWindowsPCでHDMIを使
うための唯一の手段ですが…何か問題があって?
HDMIケーブルもRaspberryPi財団推奨品だし…ちなみにUSBケーブルも変えた
けど、状況は変わってないかんねっ!
お願いだから変換アダプタは使わないでくれるかな?HDMIは直結一択でしょ!
ちなみに自分のWindows PC、HDMIはなくてUSB-Cだけなんだけど?
サポートに聞こう(あくまで穏便に)
This is environment of Raspberry pi connecting. Backlight is working but graphics don't
come to this LCD.
I connected USB cable which please change it you said. So USB cable doesn't make
this problem I think.
Please don't connect Raspberry Pi
このRaspberry Piでの接続例を見ればわかると思うけど、バックライトは点いて
いて画面に信号が来てないだけなんだ。君らの言うとおりにUSBケーブルは替え
たし、この辺りは問題になり得ないと思うんだけど…。
Raspberry Piは使わんといてくれる?
サポートに聞こう(あくまで穏便に)
なぜそこまでRaspberry Piをいやがる…?
サポートに聞こう(あくまで穏便に)
Then, My other device which can output HDMI signal is Nintendo Switch only.
Can I try this?
Friend, it is not universal hdmi board. Nintendo Switch also not support.
じゃぁ…HDMIを出力可能なデバイスって、Nintendo Switchしかないんだけど、
それでもいいかな(なげやり)。
Nintendo Switchはだめだね…。
サポートに聞こう(あくまで穏便に)
まぁ、当然かな…。
サポートに聞こう(あくまで穏便に)
Oh...So, which device does it support?
Most of note PC doesn't have any HDMI port but USB-C (You cannot allow USB-C to
HDMI converter, can you?).
Hello, HDMI port is Windows pc usually.
But, my PC has no HDMI port...
すると、どんなデバイスならいいんかな?最近のノートPCはもっぱらHDMIの代
わりにUSB-Cなんだけど(しかも、そこからの変換ケーブルは不許可だよね…)。
Windows PCにはHDMIポート、ついてへん?
少なくとも、自分のにはついてませんが、何か?
《メッセージは、ここで終わっている…》
サポートに聞こう(あくまで穏便に)
だめだこりゃ…。
♪しっらべっものっ
利用する基盤が Raspberry Pi ですから、似たような経
験を持つ同志がいるはず…
Raspberry Pi small LCD 検索
♪しっらべっものっ
基本的なToDo
●
”/boot/config.txt”を弄って、よしなにやってね!
● あとは、トライアンドエラー
なんだ、簡単ではないか…(但し、字面だけ)。
♪しっらべっものっ
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
つまりは、こういうこと。
コメントアウト
よしなに変更
画面表示の変遷
初期状態
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
#framebuffer_width=1280
#framebuffer_height=720
ずらしてみる(1)
overscan_left=0
overscan_right=0
overscan_top=0
overscan_bottom=0
framebuffer_width=480
framebuffer_height=480
ずらしてみる(2)
overscan_left=0
overscan_right=160
overscan_top=0
overscan_bottom=0
framebuffer_width=480
framebuffer_height=480
ずらしてみる(3)
overscan_left=0
overscan_right=160
overscan_top=0
overscan_bottom=32
framebuffer_width=480
framebuffer_height=480
強制液晶認識設定がないので
ブラックアウト
祝・初表示
左側が大きく欠けているので
ずらしてみる。
左側が埋まった。
あとは上にずらすだけだが…
下から押し上げる(?)はずな
のに、両脇が潰れだす。
画面表示の変遷
比較用の画面
overscan_left0
overscan_right=160
overscan_top=0
overscan_bottom=0
framebuffer_width=480
framebuffer_height=480
解像度をさげてみる
overscan_left=0
overscan_right=160
overscan_top=0
overscan_bottom=0
framebuffer_width=400
framebuffer_height=400
比較対照用
piユーザーのパスワードにつ
いてのお説教なのは仕様みた
いなものです(すいません)。
400x400の解像度は、律儀に
表示してくれているらしい。
画面表示の変遷
《疑問》これ、動いてるんだろうか…知らんけど。
●
overscan_top
●
overscan_bottom
詳しい皆々様の情報乞う!

へんな液晶で苦労する話 (おっかいものっ with AliExpress in 2020.11.11)