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
アルコールモニタリングIoT / Alcohol monitoring IoT
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
shanonim
February 28, 2019
Technology
710
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
アルコールモニタリングIoT / Alcohol monitoring IoT
2019.02.28
enebular developer Meetup Vol.8
https://enebular.connpass.com/event/117432/
shanonim
February 28, 2019
More Decks by shanonim
See All by shanonim
実践 Glass EE2 向けアプリ開発 / Practical Glass EE2 app development
shanonim
0
340
What's "Material You"
shanonim
0
440
新規事業のIoTプロダクトをプロトタイピングする技術 / IoT product prototyping in cookpad mart
shanonim
0
290
IoTで美味しい漬け物を作りたい v2 / make good pickles with IoT v2
shanonim
1
530
Play with Android Things
shanonim
1
6.4k
Android Things Now
shanonim
1
680
Kotlin初心者向けハンズオン #3 / Kotlin Hands-on for Beginners
shanonim
2
390
UI模写のすゝめ / Encouragement of UI drawing
shanonim
3
2.5k
食卓を支える技術 ~Oisixのアプリ開発~ / App Development in Oisix
shanonim
0
1.5k
Other Decks in Technology
See All in Technology
ハードウェアコンペでもAI駆動開発が進んでいる話
iotengineer22
0
400
BedrockとLambdaで作る リアルタイム進行型推理ゲーム
kawametho
0
200
ミイダス株式会社 テックチームのご紹介 / MIIDAS Tech Team
miidas
0
170
今さら理解するウェブフォントver.2026
takanorip
2
220
購入ドメインでの課題と取り組み
ykagano
0
150
[AWS 秋のクラウドオペレーション祭り 2026]AWS DevOps Agentで変わるリリースと運用対応 ~リリース管理機能と Directed actions のご紹介~
furuton
4
1.1k
自律型 AI をセキュアに実装!Gemini と MIG で作る動的コード実行環境
recruitengineers
PRO
1
230
More Freedom on the Same Shared GPU Cluster: A Small Team’s Experience with vCluster
nttcom
0
140
DevelopersIO 2026 知識の地図を描く ─ オントロジーとは何か?
ishikawa_satoru
1
310
3つのアプローチで目指す チームを強くするAI駆動開発
thkt
0
130
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
590
組み立てて楽しむ AWS Blocks 入門
kmiya84377
0
220
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
1
590
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
400
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
700
Scaling GitHub
holman
464
140k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
390
How to train your dragon (web standard)
notwaldorf
96
6.9k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Writing Fast Ruby
sferik
630
63k
The Curious Case for Waylosing
cassininazir
1
560
Making Projects Easy
brettharned
120
6.8k
Building the Perfect Custom Keyboard
takai
2
900
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
Transcript
ΞϧίʔϧϞχλϦϯά*P5 FOFCVMBSEFWFMPQFS.FFUVQ7PM !TIBOPOJN
ΫοΫύουגࣜձࣾങࣄۀ෦ ࣰݪ߂ޫ !TIBOPOJN "OESPJEJ04*P51SPUPUZQJOH
None
ϚΠίϯ .4UBDL Ͱ*P5ϓϩτλΠϐϯάΛͨ͠Γ͍ͯ͠·͢
None
w FOFCVMBSʢΤωϒϥʔʣɺ*P5ɾαʔϏεͮ͘ΓΛแׅతʹࢧԉ͢Δɺ։ൃɾӡ༻αʔϏ εͰ͢ɻΤοδͱΫϥυʹ·͕ͨΔ*P5ΞϓϦέʔγϣϯΛ։ൃ͠ɺ༷ʑͳσόΠεਝʹ σϓϩΠɺେͳྔͷσʔλΛՄࢹԽ"*ʹΑΓར׆༻͢Δ͜ͱͰɺ*P5ΞϓϦέʔγϣϯͷ࠷ దͳӡ༻Λࢧԉ͠·͢ɻ ެࣜαΠτΑΓ w IUUQTXXXFOFCVMBSDPNKBBCPVU FOFCVMBS
None
w 8JP-5& "MDPIPM4FOTPSͰΞϧίʔϧϞχλϦϯά*P5 w ਲ͍ΛՄࢹԽ͢Δ w దͳਲ͍Ͱɺ݈߁ͳ৯ੜ׆ΛखʹೖΕΑ͏ ࠓճͷςʔϚ
8JP-5&XJUI403"$0. (SPWF"MDPIPM4FOTPS BOBMPHWBMVF IUUQ1045 'JSFCBTF %BUB4PVSDF qPX JOGPNPUJPO
None
#include <stdio.h> #include <WioLTEforArduino.h> #include <limits.h> #define INTERVAL (5000) #define
SENSOR_PIN (WIOLTE_A6) #define URL “https://<YOUR-DOMAIN>.herokuapp.com/upload" WioLTE Wio; int alcohol = 0; void setup() { // Connect LTE delay(200); SerialUSB.println("--- START ---------------------------------------------------"); SerialUSB.println("### I/O Initialize."); Wio.Init(); SerialUSB.println("### Power supply ON."); Wio.PowerSupplyLTE(true); delay(500); SerialUSB.println("### Turn on or reset."); if (!Wio.TurnOnOrReset()) { SerialUSB.println("### ERROR! ###"); return; } delay(3000); SerialUSB.println("### Setup completed."); }
void loop() { char data[100]; int status; alcohol = analogRead(SENSOR_PIN);
SerialUSB.print("sensor test value = "); SerialUSB.println(alcohol); delay(1000); sprintf(data, "{\"alcohol\": %d}", alcohol); if (!Wio.HttpPost(URL, data, &status)) { SerialUSB.println("### ERROR! ###"); goto err; } err: delay(3000); }
None
None
None
ύʔιφϧՃ࣪ˍۭؾਗ਼ড়ػʮΤΞΫϦʔϯωοΫόϯυʯ IUUQTXXXUIBOLPKQTIPQEFUBJM ͜͜ʹ͚͍ͨ JOQSPHSFTT
Ϣʔεέʔε w टݩͰৗʹΞϧίʔϧݕ w JGҿΈ͗ͯͨ͢Β w ৼಈ w ిؾ w
DVSSFOUTUBUVTΛπΠʔτ w ೋਲ͍͕ະવʹ͛ΔͷͰϋοϐʔ
ࡶײ w ʮఆظతʹσʔλऔಘͯ͠ՄࢹԽ͍ͨ͠ʯཁ݅Λγϡοͱ࡞Εͯ࠷ߴʂʂʂ̍ w 'JSFCBTFʹஷΊͯΔσʔλΛผ్׆༻͢Εͬͱ͍Ζ͍ΖͰ͖ͦ͏ w ΞϓϦ࡞ͬͨΓɺCPUͱ࿈ܞͨ͠Γ w /PEF3&%εΩϧ্͍͛ͨ w
JOGPUZQF+4ͳͷͰɺ࣮࣭δϟόεΫϦϓτ*P5ͳͷͰʁʂʁʂ