Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
AWSで構築するサイクルコンピュータ
Search
KMiura
July 08, 2023
Technology
200
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AWSで構築するサイクルコンピュータ
2023年7月8日 JAWS ミート 2023
https://jaws-ug-tokaido.connpass.com/event/276942/
KMiura
July 08, 2023
More Decks by KMiura
See All by KMiura
運用しているアプリケーションのDBのリプレイスをやってみた
miura55
1
1.2k
Amazon Rekognitionを使ったインターホンハック
miura55
0
140
Pythonでルンバをハックしてみた
miura55
0
280
あなたの知らないクラフトビールの世界
miura55
0
490
Storage Browser for Amazon S3を触ってみた + α
miura55
0
340
Cloudflare R2をトリガーにCloudflare Workersを動かしてみた
miura55
0
340
あのボタンでつながるSORACOM
miura55
0
200
Postman Flowsで作るAPI連携LINE Bot
miura55
0
460
Lambdaと共に歩んだAWS
miura55
3
1.1k
Other Decks in Technology
See All in Technology
トークン化預金DCJPYの取り組みと活用ユースケース
finengine
0
160
しろおびから始める!ログ活用の第一歩
shumei_ito
0
960
夫婦で子育てするための育児標準化
codmoninc
PRO
0
460
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
200
古い指輪から広がった JAVA コミュニティ とのつながり
yamad
0
130
Running Kotlin + Quarkus with Lambda
nealle
1
4k
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
770
USB PDを使ってスマホを労わりたい
raspython3
0
180
WasmをRustにする
sansantech
PRO
0
280
DBについての基礎説明(MySQL編) - コロプラ 2026年度 新卒研修
colopl
0
130
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
290
コンテナ運用におけるネットワーク・コンテナコストの削減方法/How to Reduce Network and Container Costs in Container Operations
masakiokuda
2
300
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
37
7.5k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
Unsuck your backbone
ammeep
672
58k
BBQ
matthewcrist
90
10k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
270
Utilizing Notion as your number one productivity tool
mfonobong
4
620
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1k
Docker and Python
trallard
47
4.2k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Transcript
AWSで構築するサイクルコンピュータ KMiura(@k_miura_io)
自己紹介 • 三浦 耕生(こうき) • JAWS UG名古屋運営 • 三次元地図技術のスタートアッ プのエンジニア&社内のAWSの
管理人 @k_miura_io koki.miura05
ミートにクロス バイクで行く
ルート
実際 • 休憩5,6回:1回あたり2,3分 • 巻き返すために疾走する • 体力が消耗して結構ペースが落ちる 所要時間:約2時間30分
サイクルコンピュータをつくりたい • ロングライドだと走行距離や速度を記録し ておきたくなる • ハンドルに固定するサイクルコンピュータ なるものが売られている • GPSを使ったナビ機能が搭載されたモデ ルもある(値段は7,
8万円ほど)
頑張れば自作できるんじゃないか?
要件 • 位置情報をAWSに送信して後で走行経路を可視化できるようにしたい • ナビゲーションを実装したい
システム構成 https://docs.aws.amazon.com/ja_jp/location/latest/ developerguide/tracking-using-mqtt.html
使用デバイス • とりあえず家に転がってたM5StickCにGPSセンサーを繋げる • 将来的にはもう少し大きい画面のM5Stackを買ったほうがいいかも • 今回はナビゲーションはやらないでおく
デバイスのプログラム • UI Flowで簡単にGPSの情報をAWSに送信 する • 画面のレイアウトが直感的にできて便利 • UI FlowならAWS
IoTの接続に対応したブ ロックが存在する
AWS IoTからLocation Serviceへの接続 • IoTルールを使ってルーティング処理をすることでデータを渡すことができる • Location Serviceであればトラッキングに対応している
結局まだできてない…
なぜ? • 認証情報を突っ込んだけどなぜかAWS IoTに繋がらない • テストクライアントIoT CoreからLocationサービスへの接続はできた • センサーは昨日買った 圧倒的な準備不足
まとめ • 準備は前もってやっておきたかった • AWSで位置情報を扱うときにLocation Service結構便利そう • もっといろいろ連携試したい • 体鍛えて来年リベンジしたいところ
END