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?

Arduino AppLab でLinux ① PCで動作

0
Posted at

 マイコン・ボードArduino Uno Qを利用します。Arduino.ccから開発環境のArduino App Labをダウンロードしてインストールします。PCとはUSB-Cで接続し、USB接続とWi-Fiのどちらでもやり取りができますが、ここではWi-Fi経由とします。
 インストールは省略します。

IMGP2549.png

ログイン

 PCにインストールしたArduino App Labをダブルクリックして起動します。

a100.png

 画像をクリックするとログイン画面になります。

a101.png

 パスワードを入れると、Arduino App Labが起動します。

a102.png

 アプリケーションを作るための統合画面です。
 大雑把にいうと、物理的なLEDピカピカやAI処理はArduinoのスケッチが実行します。WebブラウザはHTMLとCSSで記述し、動きはjavascriptです。その動作をPythonが仲介してArduinoのスケッチを動作させます。
 この画面に下のシェルを起動するアイコンがあるのでクリックします。

a103.png

 パスワードを入れると、最新版のDebianで動くターミナル(シェル)が表示されます。

a104.png

ターミナルを動かしてみる

unameとdfコマンドを実行しました。

a105.png
 このボードArduino Uno Qには2Gと4GBのモデルがあります。4GBモデルをスイッチサイエンスから購入しました。

  ipを実行します。昔のifconfigです。wan0でPCとは通信しているのが確認できました。

a106.png

 lsとpwdです。

a107.png

 このターミナル上部に+があり、これをクリックすると新しいシェルが起動します。
 WindowsのPowershellです。

a108.png

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?