Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
M5Stackで猫耳光らせよう!
Search
tomokusaba
January 25, 2026
Technology
0
72
M5Stackで猫耳光らせよう!
M5Stackで猫耳光らせよう!
.NETラボ 勉強会 2026年1月LT
https://dotnetlab.connpass.com/event/374748/
tomokusaba
January 25, 2026
Tweet
Share
More Decks by tomokusaba
See All by tomokusaba
コンピューティングリソース何を使えばいいの?
tomokusaba
1
33
Microsoft Agent Frameworkの可観測性
tomokusaba
1
140
.NET 10の概要
tomokusaba
0
140
.NET 10のASP.NET Coreの気になる新機能
tomokusaba
0
130
.NET 10のASP. NET Core注目の新機能
tomokusaba
0
200
コンピューティングリソース何を使えばいいの?
tomokusaba
1
230
技書博で見つけた本
tomokusaba
0
79
新卒2年目でドロップアウトしてからの20年間
tomokusaba
0
130
Azure Well-Architected Framework入門
tomokusaba
1
270
Other Decks in Technology
See All in Technology
Oracle Cloud Infrastructure:2026年1月度サービス・アップデート
oracle4engineer
PRO
0
150
習慣とAIと環境 — 技術探求を続ける3つの鍵
azukiazusa1
3
780
3分でわかる!新機能 AWS Transform custom
sato4mi
1
210
AI Agent Standards and Protocols: a Walkthrough of MCP, A2A, and more...
glaforge
1
560
「全社導入」は結果。1人の熱狂が組織に伝播したmikanのn8n活用
sota_mikami
0
500
現場で活かす生成AI実践セミナー「広報×AI活用」編
matyuda
0
100
AI アクセラレータチップ AWS Trainium/Inferentia に 今こそ入門
yoshimi0227
1
320
漸進的過負荷の原則
sansantech
PRO
3
390
AWS Amplify Conference 2026 - 仕様からリリースまで一気通貫生成 AI 時代のフルスタック開発
inariku
3
390
toCプロダクトにおけるAI機能開発のしくじりと学び / ai-product-failures-and-learnings
rince
3
340
Azure SRE Agent x PagerDutyによる近未来インシデント対応への期待 / The Future of Incident Response: Azure SRE Agent x PagerDuty
aeonpeople
0
180
AI開発の落とし穴 〜馬には乗ってみよAIには添うてみよ〜
sansantech
PRO
9
3.9k
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
69
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
58
42k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Prompt Engineering for Job Search
mfonobong
0
150
ラッコキーワード サービス紹介資料
rakko
1
2.1M
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
82
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.9k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1.1k
Transcript
M5Stackで猫耳光らせよう! FutureOne株式会社 草場 友光 .NETラボ勉強会2026年1月
自己紹介 • コミュニティ活動を通じて知識を アップデートしています。 • 2022/08-2026 Microsoft MVP (Developer Technologies)
• tomo_kusaba • ドラクエ大好き ドラクエ10のプレイ時間→ 1キャラ目:2663時間 2キャラ目:916時間 3キャラ目:791時間 4キャラ目:190時間(配信用)
注意 • 個人の見解・解釈が多分に入っています。 • 見解の相違・事実誤認などありましたらご指摘ください。
今日の目的 • M5Stack Unit Necoという面白いデバイスがあります。 • さまざまなセンサー情報を使って思い通りにLEDを光らせよう!
開発方法 • Windows11PCでArduinoというIDEを用いて開発 今回GitHub Copilot支援のため同じファイルをVSCodeで開 いてArduinoでビルドするという手法で開発 • あとは、ヒントとなるリポジトリやドキュメントを渡すなどして通常 通りバイブコーディング!!
Unit Necoの仕様 項目 仕様 LED WS2812C-2020 × 35個 色数 16,777,216色(フルカラー)
接続方式 シリアルカスケードインターフェース インターフェース HY2.0-4P(Groveポート)× 2 サイズ 44.6 x 43.0 x 10.1mm
接続方法 • Unit NecoのPort.Bとお手持ちのM5Stack本体のGroveコ ネクタとを接続する • 対応しているポート・ピン配置は公式サイトを参照 • CoreS3の場合は以下のようなピン配置 ポート
GND 5V Data BTN Port.A G2 G1 Port.B G9 G8 Port.C G17 G18
サンプルコード
サンプルコード • https://github.com/tomokusaba/m5stack/tree/mai n
ブログ • M5Stack Unit Necoで猫耳LEDを光らせよう https://qiita.com/tomokusaba/items/a90d4273f8e8d74781d0 • M5Stack Unit Heartを使おう
https://zenn.dev/tomokusaba/articles/7c15f30e0f0318 • M5Stack CoreS3のIMUセンサーでUnit NecoのLEDを制 御しよう https://qiita.com/tomokusaba/items/eb9d37fefc0af8fc9afa • M5Stack CoreS3のマイクでUnit NecoのLEDをリアルタイ ム制御 https://qiita.com/tomokusaba/items/178323347f2a23c842a5
多分知っておくといい前提知識 • HSVカラーモデル • HSV→RGBの変換 • 三角関数 • ベクトル計算 •
FFT • 音程と周波数のマップ
宣伝 おしまい
【劇場版】アニメから得た学びを発表会 2026(4/11)
シアトルに行ってきたバー @ エデン日暮里 (4/3) 収益でいらないもの交換会が豪華になります
おしまい おしまい