0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Aliexpressで購入したLCDをArduino互換機で動かす

Posted at

最初に

最近、Aliexpressで部品を購入して遊ぶことが多くメモ。

購入したもの

lec

購入店舗
https://ja.aliexpress.com/item/32786773241.html?spm=a2g0s.9042311.0.0.27424c4dfs7NFj
これの1.98$のやつ
image.png
image.png

uno互換機

Amazonで2個で1000円くらいのuno互換機

image.png

配線図

image.png

プログラム

モジュールをこちらからダウンロードしインストール
https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads/

こちらのサイトの参考コードをコピーさせていただき。
Tutorial – PCF8574 backpacks for LCD modules and Arduino

無事に動きました。
image.png

詰まったところ

複数のモジュールがある

Ardiunoはインクルードに同一のヘッダファイルがある場合警告が出ます。
その場合インクルードファイルが有る場所の重複しているフォルダを削除しましょう。

私はMACなので~/Documents/Arduino/libraries/配下にありました

image.png

点滅するだけで文字が出ない

裏面の可変抵抗ををマイナスドライバーで回しましょう。
これはコントラストを操作しているらしく、これが合っていないと表示が出ないことがあります。
(これでめちゃくちゃ時間食ったのでここに備忘録とします。)
image.png

こちらのサイト参考にさせていただきました

Tutorial – PCF8574 backpacks for LCD modules and Arduino

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?