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
kernelvm-brain-net
raspython3
0
440
問 1:以下のコンパイラを証明せよ(予告編) #kernelvm / Kernel VM Study Kansai 11th
ytaka23
3
410
『ささAI』ネタづくりをささえるAI📝 (にぼしいわし担当:GIFTech2025)
masapyon1212
0
100
OPENLOGI Company Profile
hr01
0
63k
CodeRabbitと過ごした1ヶ月 ─ AIコードレビュー導入で実感したチーム開発の進化
mitohato14
1
240
Twelve-Factor-Appから学ぶECS設計プラクティス/ECS practice for Twelve-Factor-App
ozawa
3
160
Part2 GitHub Copilotってなんだろう
tomokusaba
2
680
自動化の第一歩 -インフラ環境構築の自動化について-
smt7174
1
120
Part1 GitHubってなんだろう?その1
tomokusaba
3
680
Ninno LT
kawaguti
PRO
1
110
非root化Androidスマホでも動く仮想マシンアプリを試してみた
arkw
0
120
Aspire をカスタマイズしよう & Aspire 9.2
nenonaninu
0
380
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
52
7.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.4k
Fontdeck: Realign not Redesign
paulrobertlloyd
84
5.5k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
VelocityConf: Rendering Performance Case Studies
addyosmani
329
24k
Practical Orchestrator
shlominoach
187
11k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.3k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Building Adaptive Systems
keathley
41
2.5k
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