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
pojiro
May 28, 2022
Technology
450
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
750
分野に潜むツールの紹介
pojiro
1
730
Raspberry Pi Mouse を Nerves で動かしてみた
pojiro
0
1.4k
Raspberry Pi で試す 組み込みLinux⼊⾨ Nerves の場合
pojiro
2
540
おいでよ! Nerves JP!
pojiro
1
360
描画ライブラリScenic紹介
pojiro
0
200
Circuits.GPIOはいかにテストされているか
pojiro
0
160
Nerves tips, /bin/sh & nerves_heart
pojiro
0
100
『推し』で仕事をする
pojiro
1
170
Other Decks in Technology
See All in Technology
生き様としてのSRE
hokkai7go
0
140
Lint の層を組み直した話
bengo4com
2
210
自律的なチームを作るためにTechPMがやらないこと
ny7760
0
150
Patterns in AI Driven Software Development
akosma
PRO
0
360
GitHub、使う?使わない?
happysamurai294
0
120
Agent × Maestro で始める モバイル E2E 端末準備からテスト実行・結果確認まで
sansantech
PRO
0
230
Obsidian Vault Architectures
x5gtrn
PRO
0
210
SLOを阻む不安
sraku2159
0
110
Technical Project Manager の役割とやりがい、少しだけ AI
yoshiiryo1
0
260
reInvent2026stby LT00 "Change your life!"
shinichirokawano
1
460
キヨさん、67歳。AIコーディングエージェントに挑む
happysamurai294
0
120
Vue.jsのGitHubから学ぶ意思決定
yut0naga1_fa
1
340
Featured
See All Featured
Optimizing for Happiness
mojombo
378
71k
The SEO identity crisis: Don't let AI make you average
varn
0
620
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
290
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
490
Designing Experiences People Love
moore
143
24k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
570
Building an army of robots
kneath
307
47k
The browser strikes back
jonoalderson
0
1.9k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
590
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
2
960
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を全面利用して商用プロダクトを作る