LoginSignup
4
2

More than 1 year has passed since last update.

SPRESENSEのTensorflow対応Arduinoボードパッケージを公開してみた

Last updated at Posted at 2022-02-15

少し前に開発した SPRESENSE の Tensorflow 対応 Arduinoボードパッケージ ですが、さすがに自前でボードパッケージを作るのは大変なので、かんたんに利用できるように Arduinoボードパッケージを公開しました。次の手順で、Tensorflow対応の Spresense Arduino Library を利用することができます。

[Step1] ボードマネージャURLを追加

Arduino IDEの「環境設定」を開いて、「追加のボードマネージャのURL」に次のURLを追加します。
https://raw.githubusercontent.com/YoshinoTaro/spresense-arduino-tensorflow/main/package_spresense_tensorflow_index.json

[Step2] Spresense Tensorflow ボードパッケージを追加

Arduino IDEのボードマネージャーを開いて、Spresense Tensorflow のボードパッケージをインストールします。

[Step3] Spresense Tensorflow ボードパッケージを選択

ボードパッケージのリストの中から Spresense Tensorflow を選択します。

[Step4] サンプルスケッチで動作確認

GitHubにある spresense_tf_helloworld の spresense_tf_helloworld.ino と model.h をダウンロードして Spresenseにかきこみます。プロッターに正弦波が出力されていれば正常に動作しています。

注意事項

このボードパッケージには Bootloader が含まれていません。Bootloader は、正規版のSpresense Arduino Library から行って下さい。対象バージョンは2.4.0になります。
Spresense SDK のバージョンへの追随はどうしようかな…
Spresense SDK ver 2.5.0 に対応しました!(2022/4/3)

4
2
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
4
2