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
190
車好きなら触ってみたいサービス AWS IoT FleetWise を語ります
sparkgene
0
290
Other Decks in Technology
See All in Technology
成長をサポートするピープルマネジメントのやり方
sioncojp
9
1.2k
Max out Local LLM in Challenging Environments
sashimimochi
1
110
DMM.com アルファ室採用案内資料
hsugita
1
230
Cracking the KubeCon CfP
inductor
2
270
TechFeed Experts Night#27 〜 フロントエンドフレームワーク最前線 (Svelte)
baseballyama
2
590
Android Target SDK 35 (Android 15) 対応の概要
akkie76
0
160
コードや知識を組み込む / Incorporate Code and knowledge
ks91
PRO
0
150
止まらないLinuxシステムを構築する_高信頼性クラスタ入門
koedoyoshida
2
430
Next.js に疲れた私は Vue3 に癒やされた
akagire
0
140
MapLibreとAmazon Location Service
dayjournal
1
190
リテール金融(キャッシュレス・ネット銀行・ネット証券)の競争環境と経済圏
8maki
0
1.6k
2024春 注目のWeb系 OSS & SaaS 3選
makies
0
180
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
689
190k
Infographics Made Easy
chrislema
238
18k
Web Components: a chance to create the future
zenorocha
306
41k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
The Mythical Team-Month
searls
216
42k
Designing for humans not robots
tammielis
247
25k
Music & Morning Musume
bryan
41
5.6k
Web development in the modern age
philhawksworth
203
10k
What's in a price? How to price your products and services
michaelherold
238
11k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
79
43k
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
20
1.8k
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