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
220
家で楽しむ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
420
AWS IoT TwinMakerの環境をIaCで整える
sparkgene
0
190
車好きなら触ってみたいサービス AWS IoT FleetWise を語ります
sparkgene
0
360
Other Decks in Technology
See All in Technology
Amazon FSx for NetApp ONTAPのパフォーマンスチューニング要素をまとめてみた #cm_odyssey #devio2024
non97
0
220
Azure Pipelinesを使用したCICDベースラインアーキテクチャ実践
yuriemori
0
190
大規模ドラレコデータ収集・機械学習基盤を支える AWS CDK 〜導入・運用事例紹介〜
pemugi
0
110
AWS IAMのアンチパターン/AWSが考える最低権限実現へのアプローチ概略(JAWS-UG朝会#59資料改修20分版)
htan
0
330
dxd2024-生成AIに振り回された3か月間の成功と失敗/dxd2024-link-and-motivation
lmi
2
260
Classmethod Odyssey 登壇資料
yamahiro
0
390
RAGのサービスをリリースして1年3ヶ月が経ちました
segavvy
4
950
CTOから見た事業開発とプロダクト開発 / My Perspective on Business and Product Development as CTO
keisuke69
4
960
JBUG岡山 #6 WordCamp男木島の チームビルディング
takeshifurusato
0
150
サービス開発を前に進めるために 新米リードエンジニアが 取り組んだこと / Steps Taken by a Novice Lead Engineer to Advance Service Development
nologyance
0
180
ここがすごいよ! AWS Systems Manager!
saichan11
0
1.8k
開発と事業を繋ぐ!SREのオブザーバビリティ戦略 ~ Developers Summit 2024 Summer ~
leveragestech
0
630
Featured
See All Featured
Building Applications with DynamoDB
mza
89
5.8k
How to Ace a Technical Interview
jacobian
274
23k
Become a Pro
speakerdeck
PRO
15
4.8k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
44
4.7k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
17
8.7k
How GitHub (no longer) Works
holman
305
140k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
35
6.3k
The Invisible Customer
myddelton
117
13k
The Language of Interfaces
destraynor
151
23k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
24
1.8k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
189
16k
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