3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

M5StackをArduinoIDEで使う

Last updated at Posted at 2024-03-20

デバイス

ATOMS3

https://docs.m5stack.com/en/core/AtomS3
https://www.switch-science.com/products/8670

ATOMS3 Lite

https://docs.m5stack.com/en/core/AtomS3%20Lite
https://www.switch-science.com/products/8778

Arduino IDE

https://www.arduino.cc/en/software/
Windows版

バージョン:2.3.6
日付:2025-04-09T11:26:55.498Z
CLIバージョン:1.2.0

設定

ボード

[ファイル][基本設定][追加のボードマネージャ]=以下のURL

https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json

[ツール][ボード][ボードマネージャ]=[M5Stack]で検索
ヒットした[M5Stack by M5Stack]をインストール
[ツール][ボード][M5Stack][M5AtomS3]を選択
参考
https://qiita.com/penguinprogrammer/items/774d4b719464e41cdcf3

ライブラリ

[スケッチ][ライブラリをインクルード][ライブラリを管理]
[ライブラリマネージャー]=[m5unified]で検索
ヒットした[M5Unified by M5Stack]をインストール
[ライブラリマネージャー]=[vl53l1x]で検索
ヒットした[VL53L1X by Pololu]をインストール
[ライブラリマネージャー]=[bmm150]で検索
ヒットした[Grove_3_Axis_Compass_V2.0_BMM150]をインストール

ポート

[ツール]-[ポート]-[COM7]を選択、ポート番号はWindows環境に依存

ビルド

[スケッチ]-[検証・コンパイル]

書き込み

[スケッチ]-[書き込み]

実装

UDP送受信例

本家
https://www.arduino.cc/reference/en/libraries/wifi/
参考
https://note.com/khe00716/n/n65a479049078

実装例

3
3
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
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?