Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Whatismatter.pdf
Search
soburi
September 01, 2021
Technology
330
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Whatismatter.pdf
soburi
September 01, 2021
More Decks by soburi
See All by soburi
Community Activities In Japan
tokitahiroshi
0
120
ZephyrでWASMを動かして起きる色々なこと
tokitahiroshi
0
260
OSSJ CFP提出反省会
tokitahiroshi
0
210
Zephyr RTOS Tutorial & MeetUp @ OSC2025Tokyo/Spring 駒澤大学種月館
tokitahiroshi
1
1.2k
ZephyrRTOSざっくり入門
tokitahiroshi
4
1.5k
ZephyrRTOSざっくり入門#2
tokitahiroshi
3
360
The_Features_of_ZephyrRTOS_and_the_project_operations.pdf
tokitahiroshi
1
160
KiCad 8.0 出ました。
tokitahiroshi
0
470
小江戸らぐ2024/2
tokitahiroshi
0
230
Other Decks in Technology
See All in Technology
Metadata - Section 1: HTML Basics
mohab1
0
120
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
190
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
250
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
140
夫婦で子育てするための育児標準化
codmoninc
PRO
0
330
しろおびから始める!ログ活用の第一歩
shumei_ito
0
950
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
Browser Spec: Testing Hotwire with Ruby
takahashim
1
120
1つのリクエストを追って理解する - llm-dのP/D分離
akhino
1
160
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
110
Featured
See All Featured
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
570
The Language of Interfaces
destraynor
162
27k
The Cost Of JavaScript in 2023
addyosmani
55
10k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
600
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Discover your Explorer Soul
emna__ayadi
2
1.3k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Building Applications with DynamoDB
mza
96
7.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Designing for Timeless Needs
cassininazir
1
530
Transcript
What the Matter? 常田 裕士 あすもの研Online 2021/8月度
Matterとは Smart Home周りの通信規格 ProjectCHIPから改称された。(が、誰も元の名前を知らない…) Amazon, Apple, Googleとその他諸々が推進
旗振りはZigbee Aliance。だけどZigbee以外も対応。 似たような規格は幾つも立ち上がりつつあったが、 スマートスピーカーなどの現物持ってる3社がまとまったので、有力候補に。 IoTivity, OpenWeave などなど、誰も知らないところで小競り合いをやってきたよう な感じだが、スマートホームはこれで決着か? マイコンの観点からだと、乾電池で動くデバイスをインターネットにつなげる 規格。本来の(狭義の)IoTといえる。
ソースコード https://github.com/project- chip/connectedhomeip/ GitHubではあまり名前を見ない Appleの名前が。 NordicSemiconductorが精力的
ソースは共通だが、ビルド手順は それぞれ。 NordicSemiconductorはZephyrを 組み込んだ 環境を提供している。 他はFreeRTOSが多い。
解決したい課題 プロトコルスタックの定義 プロトコルスタックの 標準化 上位層の扱い(データモ デル)を決めて、 モノを作りやすくする。
TCP-UDP/IPv6であるこ とを明示 主にThreadプロトコル が想定されている ProjectCHIP のドキュメントより引用
解決したい課題 データモデル スマートライトに必要なOn/Offのバイナ リ値と、明るさのような連続量のようなプ ロパティの組み合わせて、デバイスを表現 する方法を決める。 データ構造が定義できればいいので、手段 は比較的自由
MatterではJSONベースのデータ定義文法 を決めている。 データ定義からソースを生成したりする。 似たような機能の製品の共通化。
解決したい課題 接続方法 家電向けなので、機器を簡単にネッ トワークへの接続できるようにする 必要がある。 簡単に=PCなしで。 認証はどうする?
この点がクリアできると、マイコン をネットにつなぐ方法として興味深 い。
接続の基本的な考え 方 OnBoarding スマホとデバイス(Accessary)で近距離 通信をすることで、デバイスが「信頼 できる(自分の)もの」であることを確 認する。 スマホが「代理」でボーダールーター
にデバイスを接続するよう指示する。 ボーダールーター経由でデバイスは Internetに接続される。 ProjectCHIP のドキュメントより引用
Bluetooth/Threadのマルチプロトコル BluetoothとThread(IEEE802.15.4)は同じ2.4GHzを使ってい るので、同時には使えない。 BLEの通信にはインターバルがあるので、その間で IEEE802.15.4の通信を行うことができる。(時分割多重化み たいな話) https://portal.threadgroup.org/DesktopModules/Inventures_Document/FileDownload.aspx?ContentID=3155 より引用
Pairing, Joining BLEで目の前にあるデバイスと ペアリングする(ユーザーにも よく知られた方法) ペアリングでデバイスを信頼 できるものとみなしてネット ワークへの参加を行う
同じトランシーバーで2つの プロトコルを喋らせて実現 BLEで近くにある自分のモノのデバ イスとペアリングする。(BLE) デバイスが信頼できたら、ネット ワークにつなぐ。(Thread)
Matterのサンプルアプリ #1 アプリからQRコードを スキャンすると、自動的 にペアリングが始まる。 (このQRコードはマイコ ン固有の情報から生成し ているが、どうやって送
るのだろう…)
Matterのサンプルアプリ #2 QRコードをスキャンすると ペアリングが始まる。 接続するThreadネットワー ク情報をスマホから送信し て接続する。
(この辺はテクニカルなとこ ろが見えている。最終的に は、うまいことやる必要が ありそう)
Matterのサンプルアプリ #3 アプリからデバイスに割り振 られたv6のローカルアドレス が見える。ルーターをちゃん と設定すれば、これで「イン ターネット」に接続できるは ず。
サンプルのライトOn/Offはう まくいかず…