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
97
Pi Zero IoT Workshop @ High School
Kohei Watanabe
November 19, 2019
Tweet
Share
Other Decks in Education
See All in Education
国際卓越研究大学計画|Science Tokyo(東京科学大学)
sciencetokyo
PRO
0
42k
Introdución ás redes
irocho
0
510
Surviving the surfaceless web
jonoalderson
0
230
Security, Privacy and Trust - Lecture 11 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Introduction - Lecture 1 - Web Technologies (1019888BNR)
signer
PRO
0
5.8k
子どもが自立した学習者となるデジタルの活用について
naokikato
PRO
0
170
The browser strikes back
jonoalderson
0
240
いわゆる「ふつう」のキャリアを歩んだ人の割合(若者向け)
hysmrk
0
290
多様なメンター、多様な基準
yasulab
5
19k
The World That Saved Me: A Story of Community and Gratitude
_hashimo2
3
440
授業レポート:共感と協調のリーダーシップ(2025年上期)
jibunal
1
180
1111
cbtlibrary
0
250
Featured
See All Featured
Paper Plane
katiecoart
PRO
0
44k
Site-Speed That Sticks
csswizardry
13
1k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
590
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
120
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
[SF Ruby Conf 2025] Rails X
palkan
0
650
Paper Plane (Part 1)
katiecoart
PRO
0
2.3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
99
Discover your Explorer Soul
emna__ayadi
2
1k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
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