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
710
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
800
カメラ切替器ATEM Miniをobnizで操作してみた / Controlling ATEM Mini with obniz
magicpocket
0
590
CactusphereでAzure Sphereを体験 / First impression of Cactusphere and Azure Sphere
magicpocket
0
360
M5Stackファミリーで赤外線学習リモコンを作った話 / Making IR learning remote control with M5Stack family
magicpocket
0
1.4k
重症先延ばし案件を片付けた話 / got done long procrastinated projects
magicpocket
0
760
本「Jetson Nano超入門」の見取り図 / Contents map of Jetson Nano book
magicpocket
0
400
本「NoodlとNode-REDではじめるフローベースドプロトタイピング」の見取り図 / contents map of Noodl and Node-Red book
magicpocket
0
440
「IoT入門」の見取り図 / Contents Map for IoT
magicpocket
0
780
「MQTT完全に理解した」から一歩踏み出してみた / Learning MQTT beyond copy-paste habit
magicpocket
0
1k
Other Decks in Technology
See All in Technology
マルチプロダクトな開発組織で 「開発生産性」に向き合うために試みたこと / Improving Multi-Product Dev Productivity
sugamasao
1
300
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
860
VideoMamba: State Space Model for Efficient Video Understanding
chou500
0
190
New Relicを活用したSREの最初のステップ / NRUG OKINAWA VOL.3
isaoshimizu
2
570
[CV勉強会@関東 ECCV2024 読み会] オンラインマッピング x トラッキング MapTracker: Tracking with Strided Memory Fusion for Consistent Vector HD Mapping (Chen+, ECCV24)
abemii
0
220
Making your applications cross-environment - OSCG 2024 NA
salaboy
0
180
【Pycon mini 東海 2024】Google Colaboratoryで試すVLM
kazuhitotakahashi
2
490
隣接領域をBeyondするFinatextのエンジニア組織設計 / beyond-engineering-areas
stajima
1
270
いざ、BSC討伐の旅
nikinusu
2
770
Can We Measure Developer Productivity?
ewolff
1
150
SREによる隣接領域への越境とその先の信頼性
shonansurvivors
2
510
エンジニア人生の拡張性を高める 「探索型キャリア設計」の提案
tenshoku_draft
1
110
Featured
See All Featured
How to Ace a Technical Interview
jacobian
276
23k
YesSQL, Process and Tooling at Scale
rocio
169
14k
We Have a Design System, Now What?
morganepeng
50
7.2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Why Our Code Smells
bkeepers
PRO
334
57k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
28
2k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
Git: the NoSQL Database
bkeepers
PRO
427
64k
Documentation Writing (for coders)
carmenintech
65
4.4k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
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