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
KASHIKOIHAKO計画その3
Search
ufoo68
May 13, 2021
Technology
0
480
KASHIKOIHAKO計画その3
ufoo68
May 13, 2021
Tweet
Share
More Decks by ufoo68
See All by ufoo68
文法で学ばないJavaScript
ufoo68
0
42
Cookieとは?
ufoo68
1
60
今更ながら、開発現場での生成AI活用について
ufoo68
0
60
28歳独身エンジニア 婚活してみた
ufoo68
0
22
OpenAIでクッキー型を作る
ufoo68
1
56
初めて開発リーダーをやってみた話
ufoo68
0
130
M5Stack用の指紋認証デバイスを試す
ufoo68
0
860
結婚式のクイズアプリを自作した話
ufoo68
0
660
M5Stack Core2とAlexaでインターフォンに自動で対応してくれるIoTデバイスを作りたかった話
ufoo68
0
720
Other Decks in Technology
See All in Technology
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
72k
OCI Security サービス 概要
oracle4engineer
PRO
2
13k
ソフトウェアアーキテクトのための意思決定術: Create Decision Readiness—The Real Skill Behind Architectural Decision
snoozer05
PRO
30
9.1k
Secure Boot 2026 - Aggiornamento dei certificati UEFI e piano di adozione in azienda
memiug
0
140
タスク管理も1on1も、もう「管理」じゃない ― KiroとBedrock AgentCoreで変わった"判断の仕事"
yusukeshimizu
0
210
自動テストが巻き起こした開発プロセス・チームの変化 / Impact of Automated Testing on Development Cycles and Team Dynamics
codmoninc
1
1.1k
製造業ドメインにおける LLMプロダクト構築: 複雑な文脈へのアプローチ
caddi_eng
1
470
Data Hubグループ 紹介資料
sansan33
PRO
0
2.8k
Kiro のクレジットを使い切る!
otanikohei2023
0
110
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4k
型を書かないRuby開発への挑戦
riseshia
0
190
Claude Cowork Plugins を読む - Skills駆動型業務エージェント設計の実像と構造
knishioka
0
270
Featured
See All Featured
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
190
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
460
Joys of Absence: A Defence of Solitary Play
codingconduct
1
300
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
62
51k
Amusing Abliteration
ianozsvald
0
120
Making the Leap to Tech Lead
cromwellryan
135
9.8k
Accessibility Awareness
sabderemane
0
73
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.4k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.7k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
460
Transcript
KASHIKOIHAKO計画 その3
自己紹介 • SNSでの名前 ◦ ufoo68(@ufoo_yuta) • 職業 ◦ 滋賀出身系エンジニア •
やってること ◦ スポーツIoTLT主催 • 最近の出来事 ◦ 簿記試験3級に落ちた
いままでのあらすじ1 スマートボックスをつくった 180度回転するサー ボアーム サーボアームが回転すると 箱がロックされる
いままでのあらすじ2 ユーザー認証と連携した 1. スマホアプリでログイン 2. 箱のロック解除 認証されたユーザー以外は箱を開くこ とができない
スマートボックスとは • 箱の開閉をスマートに制御できる ◦ PC・スマホのアプリを用いた開閉制御 ◦ 箱の開閉者の認証 • 箱の状態管理ができる ◦
GPSを使った位置情報のトラッキング ◦ 内包物の状態の確認 つまりは、KASHIKOIHAKOのことをいう
今回のテーマ 箱の開閉の状態管理について考えた
今までの課題 例えば箱の開閉を操作するとき、 目の前に箱があるときは 「開」「閉」の どちらを押せばいいのかがわかる
今までの課題 しかし、 箱が目の前にないときは 「開」「閉」の どちらを押せばいいのかがわからない
そして考えたこと 箱とアプリの間で箱の開閉状態を管理するものを立ててみる ?
今回やったこと AWS IoTのデバイスシャドウを使って、 箱の開閉状態を管理してみた
デバイスシャドウとは デバイスの状態を管理するための機能 { "desired": { "boxStatus": "open" }, "reported": {
"boxStatus": "open" } } desired: { “boxStatus”: “open” } reported: { “boxStatus”: “open” }
デモ うまくいかなかったときのための動画↓
ソースコード https://github.com/ufoo68/kashikoihako-ui https://github.com/ufoo68/kashikoihako-device デバイス側 アプリ側
まとめ • デバイスシャドウを使って箱の開閉状態を管理した • 状態管理についての発展課題 ◦ センサを使った開閉の管理 ◦ その他諸々の情報の登録(位置情報など) •
その他の手つかずの課題 ◦ 箱をもっといい感じにする ◦ アプリをPWAに対応する
というわけで より賢いスマートボックス、 KASHIKOIHAKOの製作を今年はやっていきたいと思っています