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
家で楽しむIoT
Search
Jun Ichikawa
June 23, 2023
Technology
0
260
家で楽しむIoT
AWS DevDay 2023で発表をした「家で楽しむIoT」のスライドです
Jun Ichikawa
June 23, 2023
Tweet
Share
More Decks by Jun Ichikawa
See All by Jun Ichikawa
CES_2023_FleetWise_demo.pdf
sparkgene
0
480
AWS IoT TwinMakerの環境をIaCで整える
sparkgene
0
210
車好きなら触ってみたいサービス AWS IoT FleetWise を語ります
sparkgene
0
500
Other Decks in Technology
See All in Technology
20 Years of Domain-Driven Design: What I’ve Learned About DDD
ewolff
1
360
地に足の付いた現実的な技術選定から魔力のある体験を得る『AIレシート読み取り機能』のケーススタディ / From Grounded Tech Choices to Magical UX: A Case Study of AI Receipt Scanning
moznion
4
1.6k
250510 StepFunctionのテスト自動化始めました vol.1
east_takumi
1
230
Как мы автоматизировали интеграционное тестирование с Gonkey и не пожалели. Паша Егорычев, Кирилл Поляков
lamodatech
0
2.1k
AI-in-the-Enterprise|OpenAIが公開した「AI導入7つの教訓」——ChatGPTで変わる企業の未来とは?
customercloud
PRO
0
170
激動の一年を通じて見えてきた「技術でリードする」ということ
ktr_0731
7
6.2k
AI駆動で進化する開発プロセス ~クラスメソッドでの実践と成功事例~ / aidd-in-classmethod
tomoki10
1
1.1k
"発信文化"をどうやって計測する?技術広報のKPI探索記/How do we measure communication culture?
bitkey
3
310
Coding Agentに値札を付けろ
watany
3
520
Google Cloud Next 2025 Recap マーケティング施策の運用及び開発を支援するAIの活用 / Use of AI to support operation and development of marketing campaign
atsushiyoshikawa
0
220
Datadog のトライアルを成功に導く技術 / Techniques for a successful Datadog trial
nulabinc
PRO
0
160
DynamoDB のデータを QuickSight で可視化する際につまづいたこと/stumbling-blocks-when-visualising-dynamodb-with-quicksight
emiki
0
160
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
71
4.8k
Gamification - CAS2011
davidbonilla
81
5.3k
Building a Modern Day E-commerce SEO Strategy
aleyda
40
7.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
How GitHub (no longer) Works
holman
314
140k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Designing for humans not robots
tammielis
253
25k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
570
GraphQLとの向き合い方2022年版
quramy
46
14k
The World Runs on Bad Software
bkeepers
PRO
68
11k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Transcript
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. D E V D AY 2 0 2 3 / 6 / 2 3
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. 家で楽しむIoT Jun Ichikawa ( @sparkgene ) F - 4 - 1 Senior IoT Prototyping Solutions Architect Amazon Web Services Japan G.K
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. ⾃⼰紹介 市川 純(@sparkgene) お仕事 お客様むけにIoT関連のプロトタイピングを提供 趣味 DIY、バイク(ヤマハ MT-09), キャンプ 冬にバイクでソロキャンに⾏くのが恒例になりつつ有る 壁の中をいじりたくて第2種電気⼯事⼠を取りました
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 2021年のDevDayから2年、皆さんIoTしてますか︖
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. このセッションについて お話すること • IoT興味があれば始めてみましょうな話 • 我が家でやっていること お話しないこと • AWSサービスの詳しい話
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. ⾝近なところから IoT始めてみませんか︖
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. IoTは⾝の回りにこんなにあります
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. ⾝の回りにあるもので IoTを始めてみよう
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 私がオススメする家でIoTを楽しむユースケース • スマートスピーカー連携 § リモートコントロール/⾃動化 • 環境モニタリング § データ収集/改善 • ⾚ちゃんペットなどの監視 § データ収集/通知 • スマートスピーカー連携 § リモートコントロール/⾃動化 • 環境モニタリング § データ収集/改善 • ⾚ちゃんペットなどの監視 § データ収集/通知 今⽇はここの話
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 我が家での環境モニタリング • Raspberry Pi 3 Type B • ATOM Matrix • M5Stack⽤ 透明OLEDディスプレイ • MH-Z19 CO2センサー • DHT11 温湿度センサー
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 我が家での環境モニタリング - アーキテクチャ Raspberry Pi AWS IoT Greengrass センサー情報収集 コンポーネント CO2センサー (MH-Z19) 温湿度センサー (DHT11) OLEDディスプレイ ATOM Matrix AWS Cloud AWS IoT Core Amazon CloudWatch openweathermap.org Amazon CloudWatch Publisher Raspberry Pi のメトリックス センサー値
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 我が家での環境モニタリング センサーのデータは Amazon CloudWatch の メトリックスとして登録
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 趣味で作ったのに障害対応や改修に追われる • 電源が抜けてた § CloudWatchのAlarmを使った 監視を追加
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 趣味で作ったのに障害対応や改修に追われる • 電源が抜けてた § CloudWatchのAlarmを使った 監視を追加 • Raspberry PiのSDカードが壊れる § 現在はSSDからのブートに変更
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 趣味で作ったのに障害対応や改修に追われる • 電源が抜けてた § CloudWatchのAlarmを使った 監視を追加 • Raspberry PiのSDカードが壊れる § 現在はSSDからのブートに変更 • 可視化デバイスに凝り始める § 現在は4代⽬
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 家の環境モニタリングは⼊りやすい • Raspberry PiはLinuxベースなので、サーバ側の開発をしたことがある ⼈はその経験が活かせる • 温湿度センサーなどはサンプルも豊富で、pip installですぐ使える⼿軽 さ • AWSのマネージドサービスを使うと最低限の運⽤でまわる
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 猫をモニタリング 猫の健康をモニタリング
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 猫の健康をモニタリング 猫の体重を計るに以下の条件が必要と考えた • 毎⽇測定ができる • 猫がしばらく⽌まっている • こちらから何もアクションを起こさなくても ⾃動でおこなえる トイレに体重計 を設置する
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 猫の健康をモニタリング • ESP32-WROOM • ロードセル5Kg⽤ x 2 • HX711計量センサーモジュール
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 体重を計ると⾔っても意外と複雑 重さ 時間 トイレ中 トイレ終了 トイレ掃除 猫砂追加 体重 トイレ に⼊る 💩
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 猫の健康をモニタリング - アーキテクチャ ESP32 HX711計量センサー モジュール AWS Cloud AWS IoT Core AWS Lambda HX711計量センサー モジュール LINE Notify
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. ペットの体重計は思いのほか⼤変だった • 様々なイベントと判断するためのしきい値設定が難しい • OTAに対応していないので、トイレの横でデバッグ&デプロイ • 体重はなんとかなったけど、排泄量は断念 • ちゃんと健康を⾒守るなら市販のを買うほうが良さそう
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. 始めてみたいと思ったら
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. 家で楽しむIoTのメリット・デメリット メリット • もし⽌まっても、やる気が出るまで放置可能 • ⻑期運⽤をすると、試してみただけでは得られない知⾒も得られる • 得られた知⾒が仕事でも使えることがある • 好きにカスタマイズできる デメリット • 家族が使い始めると、障害が発⽣した時に怒られる • 既製品を買ったほうが満⾜度が⾼いこともある
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. AWS サービス別資料 https://aws.amazon.com/jp/events/aws-event-resource/archive/?cards.sort- by=item.additionalFields.SortDate&cards.sort-order=desc&awsf.tech-category=tech-category%23iot
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. builders.flash https://aws.amazon.com/jp/builders-flash/
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Appendix • Amazon Cloudwatch Publisher § https://github.com/awslabs/amazon-cloudwatch-publisher • テレワーク環境の可視化 § https://sparkgene.hatenablog.com/entry/2021/05/08/174246
© 2023, Amazon Web Services, Inc. or its affiliates. All
rights reserved. Thank you! © 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. 市川 純 @sparkgene