Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
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
440
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Elixir/NervesでどこまでできるのIoT?
pojiro
May 28, 2022
More Decks by pojiro
See All by pojiro
Elixir で IoT 開発、 Nerves なら簡単にできる!?
pojiro
1
730
分野に潜むツールの紹介
pojiro
1
730
Raspberry Pi Mouse を Nerves で動かしてみた
pojiro
0
1.4k
Raspberry Pi で試す 組み込みLinux⼊⾨ Nerves の場合
pojiro
2
520
おいでよ! Nerves JP!
pojiro
1
350
描画ライブラリScenic紹介
pojiro
0
200
Circuits.GPIOはいかにテストされているか
pojiro
0
160
Nerves tips, /bin/sh & nerves_heart
pojiro
0
92
『推し』で仕事をする
pojiro
1
160
Other Decks in Technology
See All in Technology
ai_cording_with_k8s_knowledge.pdf
mochizuki875
1
310
[AWS 秋のクラウドオペレーション祭り 2026]AWS DevOps Agentで変わるリリースと運用対応 ~リリース管理機能と Directed actions のご紹介~
furuton
4
1.1k
自作バイナリを動かす「入口」8選
puhitaku
1
1k
味覇で作るパスタが美味い - 20261001_yabaubuki.dev
livesense
PRO
0
110
今さら理解するウェブフォントver.2026
takanorip
3
390
使いこなすために知っておきたい Azure SRE Agent アンチパターン
torumakabe
2
420
不可逆な意思決定を避けながら10億超の顧客データを AI Ready にするデータ基盤設計
baseballyama
1
180
AI時代だからこそ推したい!Gitコマンド再入門
munakata
0
160
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
120
検証フェーズはAIの回答を判断するための学習機会
toru_kubota
2
530
プロダクト価値を、 チームが使える判断軸に変える
vivion
0
130
AIに攻撃される前に、AIに攻撃させる
tsuchikazu
0
160
Featured
See All Featured
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
Between Models and Reality
mayunak
4
490
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Docker and Python
trallard
47
4.2k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Typedesign – Prime Four
hannesfritz
42
3.2k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
510
The Curse of the Amulet
leimatthew05
3
15k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
260
Designing Powerful Visuals for Engaging Learning
tmiket
1
600
sira's awesome portfolio website redesign presentation
elsirapls
0
440
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を全面利用して商用プロダクトを作る