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
授業レポート:共感と協調のリーダーシップ(2025年上期)
jibunal
1
190
LotusScript でエージェント情報を出力してみた
harunakano
0
110
AWS re_Invent に全力で参加したくて筋トレを頑張っている話
amarelo_n24
1
110
Security, Privacy and Trust - Lecture 11 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Design Guidelines and Models - Lecture 5 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.2k
Web Search and SEO - Lecture 10 - Web Technologies (1019888BNR)
signer
PRO
2
3k
中央教育審議会 教育課程企画特別部会 情報・技術ワーキンググループに向けた提言 ー次期学習指導要領での情報活用能力の抜本的向上に向けてー
codeforeveryone
0
490
1021
cbtlibrary
0
390
多様なメンター、多様な基準
yasulab
5
19k
✅ レポート採点基準 / How Your Reports Are Assessed
yasslab
PRO
0
270
AIは若者の成長機会を奪うのか?
frievea
0
160
Evaluation Methods - Lecture 6 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.2k
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
It's Worth the Effort
3n
187
29k
Building Applications with DynamoDB
mza
96
6.9k
How to Talk to Developers About Accessibility
jct
1
94
The Curse of the Amulet
leimatthew05
0
6.8k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
74
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
100
Optimising Largest Contentful Paint
csswizardry
37
3.6k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
Designing Powerful Visuals for Engaging Learning
tmiket
0
200
Tell your own story through comics
letsgokoyo
0
770
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