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
99
Pi Zero IoT Workshop @ High School
Kohei Watanabe
November 19, 2019
Tweet
Share
Other Decks in Education
See All in Education
Surviving the surfaceless web
jonoalderson
0
340
1202
cbtlibrary
0
200
Web Application Frameworks - Lecture 3 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Microsoft Office 365
matleenalaakso
0
2.1k
ThingLink
matleenalaakso
28
4.3k
Chapitre_2_-_Partie_3.pdf
bernhardsvt
0
140
TeXで変える教育現場
doratex
1
12k
Activité_5_-_Les_indicateurs_du_climat_global.pdf
bernhardsvt
0
140
160人の中高生にAI・技術体験の講師をしてみた話
shuntatoda
0
280
国際卓越研究大学計画|Science Tokyo(東京科学大学)
sciencetokyo
PRO
0
47k
東大1年生にJulia教えてみた
matsui_528
7
12k
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
130
Leo the Paperboy
mayatellez
4
1.4k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Faster Mobile Websites
deanohume
310
31k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
230
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Claude Code のすすめ
schroneko
67
210k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Mind Mapping
helmedeiros
PRO
0
74
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Building Adaptive Systems
keathley
44
2.9k
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