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
210
家で楽しむ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
400
AWS IoT TwinMakerの環境をIaCで整える
sparkgene
0
180
車好きなら触ってみたいサービス AWS IoT FleetWise を語ります
sparkgene
0
290
Other Decks in Technology
See All in Technology
家族アルバム みてねにおけるGrafana活用術 / Grafana Meetup Japan Vol.1 LT
isaoshimizu
1
970
.NET Profiler in 2024.
kkamegawa
2
1.2k
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
15
35k
Tellus の衛星データを見てみよう #mf_fukuoka
kongmingstrap
0
270
AWS学習者向けにAzureの解説スライドを作成した話
handy
3
190
ゼロから始めるVue.jsコミュニティ貢献 / first-vuejs-community-contribution-link-and-motivation
lmi
1
150
Building a RAG-poweredAI chat appwith Python and VS Code
pamelafox
0
150
Azure Container Apps + Bicep 〜 こんな感じで運用しています
kaz29
3
620
DMM.com アルファ室採用案内資料
hsugita
1
220
How to do well in consulting–Balkan Ruby 2024
irinanazarova
0
140
自己改善からチームを動かす! 「セルフエンジニアリングマネージャー」のすゝめ
shoota
6
1k
AOAI をきっかけに 社内の Azure 管理を見直した話
recruitengineers
PRO
1
450
Featured
See All Featured
How to name files
jennybc
65
93k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Typedesign – Prime Four
hannesfritz
36
2.1k
Designing for Performance
lara
602
67k
KATA
mclloyd
16
12k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Embracing the Ebb and Flow
colly
80
4.2k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Testing 201, or: Great Expectations
jmmastey
30
6.4k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
13
8.3k
Mobile First: as difficult as doing things right
swwweet
217
8.6k
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