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?

FT232RL USBシリアル変換モジュールの簡単な動作確認

Posted at

FT232RL モジュールの TXD と RXD を結線すると、入力をそのまま出力にエコーバックできます。CB0, CB1 にLEDを入れておくと、送受信の際に点灯します。CB0, CB1に LEDのカソード(マイナス)を接続します。

IMG_0614.jpg

$ echo "abc" > /dev/ttyUSB0

入力したバイト数だけ、dd で読み出します。今回の例では abc + 改行で 4バイトです。

$ dd count=4 bs=1 if=/dev/ttyUSB0
abc
4+0 records in
4+0 records out
4 bytes copied, 1.44997 s, 0.0 kB/s

同じ文字列が得られれば、動作確認OKです。

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?