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
Pi Zero IoT Workshop @ High School
Search
Kohei Watanabe
November 19, 2019
Education
0
90
Pi Zero IoT Workshop @ High School
Kohei Watanabe
November 19, 2019
Tweet
Share
Other Decks in Education
See All in Education
論文紹介のやり方 / How to review
kaityo256
PRO
15
77k
Tips for the Presentation - Lecture 2 - Advanced Topics in Big Data (4023256FNR)
signer
PRO
0
240
Analysis and Validation - Lecture 4 - Information Visualisation (4019538FNR)
signer
PRO
0
2k
Web からのデータ収集と探究事例の紹介 / no94_jsai_seminar
upura
0
170
Pen-based Interaction - Lecture 4 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.7k
SAT Bootcamp and Course
syedmahadd
0
170
CV_1_Introduction
hachama
0
190
ハワイアン航空 ステータスへの道 #HAairstudy
maroon1st
0
130
Gesture-based Interaction - Lecture 6 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
1.6k
とある EM の初めての育休からの学び
clown0082
1
2.6k
AWS Well-Architected Labを活用してつよつよAWSエンジニアになろう!!! #jawsug_tokyo
masakiokuda
0
320
2024年度秋学期 統計学 第13回 不確かな測定の不確かさを測る - 不偏分散とt分布 (2024. 12. 18)
akiraasano
PRO
0
110
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
12k
Side Projects
sachag
452
42k
Done Done
chrislema
183
16k
Practical Orchestrator
shlominoach
186
10k
Six Lessons from altMBA
skipperchong
27
3.7k
Java REST API Framework Comparison - PWX 2021
mraible
29
8.5k
For a Future-Friendly Web
brad_frost
176
9.6k
Making Projects Easy
brettharned
116
6.1k
Bash Introduction
62gerente
611
210k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Gamification - CAS2011
davidbonilla
80
5.2k
Transcript
None
None
• 新しい設定ファイル形式への移行 • wifi.txt → bootWifiConfig.js • config.js • 新しい機能
• 計測値の画面表示 • 計測値の読み上げ
None
RX501NC_242D,50015610 module.exports = [ {ssid:"RX501NC_242D", passphrase:"50015610"} ]
RX501NC_242D,50015610 module.exports = [ {ssid:"RX501NC_242D", passphrase:"50015610"} ] ✓ ✓ ✓
✓
module.exports = { NAME:"Rbt", ADDRESS:"FB29A990F24B", INTERVAL_MILLISEC:60000, RECORDS:["CSV","MACHINIST"], MACHINIST_API_KEY:"9df97…", MACHINIST_MULTIPLE: 1
}; module.exports = [ { intervalMillisec: 60000, omron2jcieBu01Name: "Rbt", omron2jcieBu01Address: "FB29A990F24B", csvFilename: "data.csv", machinistApiKey: "9df97…", machinistAgent: "beef…", machinistBatchQuantity: 1, } ]
module.exports = { NAME:"Rbt", ADDRESS:"FB29A990F24B", INTERVAL_MILLISEC:60000, RECORDS:["CSV","MACHINIST"], MACHINIST_API_KEY:"9df97…", MACHINIST_MULTIPLE: 1
}; module.exports = [ { intervalMillisec: 60000, omron2jcieBu01Name: "Rbt", omron2jcieBu01Address: "FB29A990F24B", csvFilename: "data.csv", machinistApiKey: "9df97…", machinistAgent: "beef…", machinistBatchQuantity: 1, } ] ✓ ✓ ✓ ✓ ✓
None
• 測定値を画面上に表示する • 条件に応じて音声合成で読み上げる
module.exports = [ { intervalMillisec: 60000, omron2jcieBu01Name: "Rbt", omron2jcieBu01Address: "FB29A990F24B",
csvFilename: "data.csv", webAgent: { enable: true, notifyWhen: ({ temperature }) => temperature > 25 } }]
module.exports = [ { intervalMillisec: 60000, omron2jcieBu01Name: "Rbt", omron2jcieBu01Address: "FB29A990F24B",
csvFilename: "data.csv", speechAgent: { enable: true, notifyWhen: ({ temperature }) => temperature > 25 notifyScript: ({ temperature }) => ` ${temperature} ` } }]
notifyWhen: ({ temperature }) => temperature > 25 temperature notifyWhen:
({ temperature: t, relativeHumidity: h }) => ((0.81*t + 0.01*h*(0.99*t - 14.3) + 46.3) >= 85) notifyWhen: ({ relativeHumidity, eTVOC }) => ((relativeHumidity >= 60) && (eTVOC >= 150))
notifyScript: ({ temperature }) => ` ${temperature} ` temperature notifyScript:
({ temperature: t, relativeHumidity: h }) => ` ${(0.81*t + 0.01*h*(0.99*t - 14.3) + 46.3)} ` notifyScript: () => ` `
temperature relativeHumidity barometricPressure ambientLight soundNoise eTVOC eCO2
None