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
obnizOSプラグインを試してみた / obnizOS Plugin
Search
Shingo Fukui
November 17, 2020
Technology
0
730
obnizOSプラグインを試してみた / obnizOS Plugin
IoTLT vol.69の発表資料
タイトル:obnizOSプラグインを試してみた
イベントのconnpassページ:
https://iotlt.connpass.com/event/192582/
Shingo Fukui
November 17, 2020
Tweet
Share
More Decks by Shingo Fukui
See All by Shingo Fukui
IoTのリモートプレゼンで使い易い俯瞰カメラを模索 / Overhead camera settings for IoT presentation
magicpocket
0
820
カメラ切替器ATEM Miniをobnizで操作してみた / Controlling ATEM Mini with obniz
magicpocket
0
600
CactusphereでAzure Sphereを体験 / First impression of Cactusphere and Azure Sphere
magicpocket
0
370
M5Stackファミリーで赤外線学習リモコンを作った話 / Making IR learning remote control with M5Stack family
magicpocket
0
1.4k
重症先延ばし案件を片付けた話 / got done long procrastinated projects
magicpocket
0
780
本「Jetson Nano超入門」の見取り図 / Contents map of Jetson Nano book
magicpocket
0
410
本「NoodlとNode-REDではじめるフローベースドプロトタイピング」の見取り図 / contents map of Noodl and Node-Red book
magicpocket
0
450
「IoT入門」の見取り図 / Contents Map for IoT
magicpocket
0
790
「MQTT完全に理解した」から一歩踏み出してみた / Learning MQTT beyond copy-paste habit
magicpocket
0
1k
Other Decks in Technology
See All in Technology
Windows Server 2025 へのアップグレードではまった話
tamaiyutaro
2
230
サーバレスの未来〜The Key to Simplifying Everything〜
kawaji_scratch
2
330
MicrosoftのOSSだけでAIによるブラウザテストを構成する
ymd65536
1
220
消し忘れリソースゼロへ!私のResource Explorer活用法
cuorain
0
110
20250122_個人向けCopilotどうなん
ponponmikankan
0
190
一人から始めたSREチーム3年の歩み - 求められるスキルの変化とチームのあり方 - / The three-year journey of the SRE team, which started all by myself
vtryo
7
4.8k
ソフトウェアアーキテクトのための意思決定術: Software Architecture and Decision-Making
snoozer05
PRO
4
770
Asset Centric な データ変換パイプラインの攻略法
recruitengineers
PRO
1
100
スクラムマスターの活動と組織からの期待のズレへの対応 / Dealing with the gap between Scrum Master activities and organizational expectations
pauli
2
970
SREKaigi.pdf
_awache
2
3k
インシデントキーメトリクスによるインシデント対応の改善 / Improving Incident Response using Incident Key Metrics
nari_ex
0
2.8k
2025-01-24-SRETT11-OpenTofuについてそろそろ調べてみるか
masasuzu
0
130
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.5k
How to train your dragon (web standard)
notwaldorf
89
5.8k
A better future with KSS
kneath
238
17k
A Modern Web Designer's Workflow
chriscoyier
693
190k
How to Ace a Technical Interview
jacobian
276
23k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.6k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
Measuring & Analyzing Core Web Vitals
bluesmoon
5
210
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Transcript
COPYRIGHT ©2020 SHINGO FUKUI obnizOSϓϥάΠϯΛࢼͯ͠Έͨ 202011݄17 IoTറΓͷษڧձʂ IoTLT vol.69@youtube Ҫ
ᚸޗ
COPYRIGHT ©2020 SHINGO FUKUI ࣗݾհ ;͍͘ ͠Μ͝ Ҫᚸޗ @SilkAndTikit ݚڀ৬
ɹˣ ιϑτΣΞΤϯδχΞ ɹˣ IoTίϯαϧɾڭҭ ɹˣ ݉ۀओʢि5༦৯࡞Γʣ 2 ✦ GWΞυϕϯτΧϨϯμʔ ✦ IoTLT Vol.64 ✦ IoTLT Vol.66
COPYRIGHT ©2020 SHINGO FUKUI 20207݄ িܸͷχϡʔε 3
COPYRIGHT ©2020 SHINGO FUKUI obniz Board ʢϋʔυΣΞʣ ΈΜͳେ͖ obniz 4
obnizOS ʢιϑτΣΞʣ obnizOS Πϯετʔϧ
COPYRIGHT ©2020 SHINGO FUKUI obnizͷಛ ֎෦Ͱ࣮ߦ͞ΕΔϓϩάϥϜ͔ΒίϚϯυΛૹ৴ͯ͠ಈ ࡞ͤ͞Δɻ 5 JavaScript ϓϩάϥϜ
ίϚϯυɿio0=0V ίϚϯυɿio1=5V ίϚϯυɿio1=̌V ωοτϫʔΫ LED໓
COPYRIGHT ©2020 SHINGO FUKUI ߴಈ࡞ۤख ωοτଓ͕ΕΔͱಈ࡞͠ͳ͍ obnizͷऑΈ 6 JavaScript ϓϩάϥϜ
JavaScript ϓϩάϥϜ
COPYRIGHT ©2020 SHINGO FUKUI ߴಈ࡞ۤख ωοτଓ͕ΕΔͱಈ࡞͠ͳ͍ obnizͷऑΈ 7 JavaScript ϓϩάϥϜ
JavaScript ϓϩάϥϜ ϓϥάΠϯͰղܾʂ
COPYRIGHT ©2020 SHINGO FUKUI ͬͯΈΔલʹ૾ͯͨ͠ͷ Relational DBͷετΞʔυϓϩγʔδϟΈ͍ͨͳͷʁ 8 ϓϥάΠϯA ૹ৴
Call ϓϥάΠϯA ϓϩάϥϜ obnizOS ϓϥάΠϯA ࣮ߦ Store
COPYRIGHT ©2020 SHINGO FUKUI ϓϥάΠϯͷ࡞Γํ Arduino IDEͰϓϩάϥϜΛ࡞Γॻ͖ࠐΉ obnizOSαϒλεΫͱͯ͠ಈ࡞͢Δ 9 ϓϥάΠϯ
ϓϩάϥϜ obnizOS ىಈ ॻࠐ
COPYRIGHT ©2020 SHINGO FUKUI obnizOSͱϓϥάΠϯͷ௨৴ 10 ϓϥάΠϯ obnizOS obniz.commandReceive() obniz.commandSend()
obniz.plugin.onreceive obniz.plugin.send() ֤छΠϕϯτ ɾWiFiεΩϟϯ ɾωοτଓ ɾΫϥυଓ ɹɹɾɾɾ obniz.onEvent(onEvent); ड৴ ૹ৴
COPYRIGHT ©2020 SHINGO FUKUI ϓϥάΠϯΛॻ͍ͯΈͨ खͷߴ͞ʹԠͯ͡LEDόʔͷޫΔ͕͞มΘΔ 11
COPYRIGHT ©2020 SHINGO FUKUI ϓϥάΠϯͷศརͳ Ϋϥυ͔ΒϓϥάΠϯͷॻ͖͑ 12 ొ WiFiܦ༝Ͱ ॻ͖ࠐΈ
obnizΫϥυ ϨσΟϝΠυͷϓϥάΠϯఏڙ͞ΕΔΒ͍͠ ɹࣗͰϓϥάΠϯΛॻ͔ͳͯ͘ࡁΉͷͰָɹ
COPYRIGHT ©2020 SHINGO FUKUI ·ͱΊ Arduinoͷϓϩάϥϛϯάͷܦݧ͕͋ΕɺϓϥάΠϯ Λ࡞ΔͷΘΓͱ؆୯ɻ ετΞʔυϓϩγʔδϟͷΑ͏ʹϓϥάΠϯΛϞδϡʔ ϧͱͯ͠ॻ͖ࠐΉͷͰͳ͘ɺArduinoϓϩάϥϜͰ obnizOSΛαϒλεΫͱͯ͠ىಈ͢ΔΈɻ
ϨσΟϝΠυͷϓϥάΠϯ͕ఏڙ͞ΕΕ؆୯ʹ͑Δ Α͏ʹͳΔɻকདྷָ͕͠Έɻ 13