Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Elixir/NervesでどこまでできるのIoT?
Search
pojiro
May 28, 2022
Technology
1
380
Elixir/NervesでどこまでできるのIoT?
pojiro
May 28, 2022
Tweet
Share
More Decks by pojiro
See All by pojiro
Elixir で IoT 開発、 Nerves なら簡単にできる!?
pojiro
1
350
分野に潜むツールの紹介
pojiro
1
650
Raspberry Pi Mouse を Nerves で動かしてみた
pojiro
0
1.3k
Raspberry Pi で試す 組み込みLinux⼊⾨ Nerves の場合
pojiro
2
430
おいでよ! Nerves JP!
pojiro
1
280
描画ライブラリScenic紹介
pojiro
0
160
Circuits.GPIOはいかにテストされているか
pojiro
0
120
Nerves tips, /bin/sh & nerves_heart
pojiro
0
58
『推し』で仕事をする
pojiro
1
140
Other Decks in Technology
See All in Technology
Strands AgentsとNova 2 SonicでS2Sを実践してみた
yama3133
1
1.8k
Identity Management for Agentic AI 解説
fujie
0
450
AI との良い付き合い方を僕らは誰も知らない
asei
0
240
子育てで想像してなかった「見えないダメージ」 / Unforeseen "hidden burdens" of raising children.
pauli
2
320
Authlete で実装する MCP OAuth 認可サーバー #CIMD の実装を添えて
watahani
0
160
障害対応訓練、その前に
coconala_engineer
0
190
まだ間に合う! Agentic AI on AWSの現在地をやさしく一挙おさらい
minorun365
17
2.6k
100以上の新規コネクタ提供を可能にしたアーキテクチャ
ooyukioo
0
250
Building Serverless AI Memory with Mastra × AWS
vvatanabe
0
480
[Neurogica] 採用ポジション/ Recruitment Position
neurogica
1
110
MariaDB Connector/C のcaching_sha2_passwordプラグインの仕様について
boro1234
0
1k
通勤手当申請チェックエージェント開発のリアル
whisaiyo
3
440
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
Faster Mobile Websites
deanohume
310
31k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
0
31
The Invisible Side of Design
smashingmag
302
51k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
100
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
110
Bash Introduction
62gerente
615
210k
Tell your own story through comics
letsgokoyo
0
760
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
The Curse of the Amulet
leimatthew05
0
4.7k
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を全面利用して商用プロダクトを作る