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
Elixir/NervesでどこまでできるのIoT?
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
pojiro
May 28, 2022
Technology
400
1
Share
Elixir/NervesでどこまでできるのIoT?
pojiro
May 28, 2022
More Decks by pojiro
See All by pojiro
Elixir で IoT 開発、 Nerves なら簡単にできる!?
pojiro
1
500
分野に潜むツールの紹介
pojiro
1
680
Raspberry Pi Mouse を Nerves で動かしてみた
pojiro
0
1.3k
Raspberry Pi で試す 組み込みLinux⼊⾨ Nerves の場合
pojiro
2
460
おいでよ! Nerves JP!
pojiro
1
300
描画ライブラリScenic紹介
pojiro
0
170
Circuits.GPIOはいかにテストされているか
pojiro
0
130
Nerves tips, /bin/sh & nerves_heart
pojiro
0
72
『推し』で仕事をする
pojiro
1
150
Other Decks in Technology
See All in Technology
QGISプラグイン CMChangeDetector
naokimuroki
1
220
暗黙知について一歩踏み込んで考える - 暗黙知の4タイプと暗黙考・暗黙動へ
masayamoriofficial
0
1.5k
Bluesky Meetup in Tokyo vol.4 - 2023to2026
shinoharata
0
180
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
16k
AWS認定資格は本当に意味があるのか?
nrinetcom
PRO
0
180
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
23k
Databricksで構築するログ検索基盤とアーキテクチャ設計
cscengineer
0
180
Master Dataグループ紹介資料
sansan33
PRO
1
4.6k
ログ基盤・プラグイン・ダッシュボード、全部整えた。でも最後は人だった。
makikub
5
1.9k
Azure Speech で音声対応してみよう
kosmosebi
0
100
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
74k
Hooks, Filters & Now Context: Why MCPs Are the “Hooks” of the AI Era
miriamschwab
0
160
Featured
See All Featured
Crafting Experiences
bethany
1
110
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
350
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
500
Discover your Explorer Soul
emna__ayadi
2
1.1k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
How to Think Like a Performance Engineer
csswizardry
28
2.5k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.4k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
310
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
260
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Transcript
Elixir/NervesでどこまでできるのIoT? ALGYAN7周年IoT祭2022 『やるぞIoT!学びとビジネスのプラットフォーム』
自己紹介 • 衣川 亮太 (きぬかわ りょうた) • 愛知県岡崎市の個人事業エンジニア • 屋号:Tombo
Works • twitter: @pojiro3 • I love Elixir & Nerves ◦ 日本のNervesコミュニティであるNerves JPに所属しています
What’s Elixir? Nerves? • Elixir, 以下の特徴を持つ動的型付けの関数型言語 ◦ Erlang VM上で動作する、高可用・耐障害性のある、並行処理の書きやすい言語 ◦
主にサーバーサイドで使われる ▪ Webフレームワーク:Phoenix • Nerves ◦ 組み込みLinux開発をElixirで可能にするOSS ◦ 機能の開発をElixirの世界に閉じて行うことができる ▪ nginx, apache, /etc/の設定いじり, python でプログラム開発 バラバラ開発不要 ◦ Linuxをカスタムしない限り、組み込み Linuxであることを意識せずに 開発を進めることができるの強み!! ▪ Linuxをカスタマイズしたい場合は Buildrootでカスタムすることで可能
Why Nerves for IoT? • 組み込みLinuxでありながら、Elixirの世界だけで機能開発に専念できる • 通信・電断耐性の仕組みはNervesが提供してくれるので、開発が不要 • ファームウェアが小さい(~50MBくらい
• OTAには、ファームウェア配信が可能な Nerves Hub がある ◦ 自身でホストする必要あり ▪ 自身でホストをしない場合は、 Peridio(Nerves Hubの有償スピンアウト)を待とう! • サポートするハードウェア ◦ BBB ◦ OSD32MP1 ◦ Raspberry Pi A+, B+, Zero, 2, 3B, 3B+, 3A+, 4 ◦ Vultr ◦ x86_64 ◦ 対象ハードウェアがなくても、移植、ポーティング可能、実績あり!!
IoT 端末がElixirで作れると何が嬉しいか?
プロダクション環境で通用するの? もちろん、 通用します!!! https://www.nerves-project .org/case-studies.html
Where Nerves is used? ElixirKenya で発表から抜粋 https://www.youtube.com/watch?v= P_xryjmG35I ↓Frank, Nerves
Core Author Pocket LANcher https://www.pocket-lancher.com/
One more!!! Kochi.ex, Elixir コミュニティ@高知 • Nerves を使った ExiBee と
PLB が 小水力発電所で活用!!!
Join us, Nerves JP!! and Let’s contribute Nerves Project!! https://nerves-jp.connpass.com/
Thank you all and ALGYAN Happy 7th Anniversary!
紹介 • なぜ僕はNervesに期待するのか • 産業用堅牢ハードでElixir:e-RT3にNervesポーティング • Nerves大好きな僕が2021年にしたこと • 出張の多い現場エンジニアをサポートするデバイス •
OSSを全面利用して商用プロダクトを作る