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
Transcript
11 slides
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を全面利用して商用プロダクトを作る
More Decks by pojiro
See All by pojiro
Elixir で IoT 開発、 Nerves なら簡単にできる!?
pojiro
1
790
分野に潜むツールの紹介
pojiro
1
740
Raspberry Pi Mouse を Nerves で動かしてみた
pojiro
0
1.4k
Raspberry Pi で試す 組み込みLinux⼊⾨ Nerves の場合
pojiro
2
560
おいでよ! Nerves JP!
pojiro
1
370
描画ライブラリScenic紹介
pojiro
0
210
Circuits.GPIOはいかにテストされているか
pojiro
0
170
Nerves tips, /bin/sh & nerves_heart
pojiro
0
110
『推し』で仕事をする
pojiro
1
170
Other Decks in Technology
See All in Technology
技術同人誌を作る方法
yoshimura_datam
0
110
AI時代のTechLeadの問い〜Tech Lead Conference 2026 Autumn / questions-for-tech-leads-in-the-age-of-ai
haru860
0
110
kubellの最新データ分析環境
kubell_hr
2
290
ワークフローからハーネスへ — Web フレームワークの作者たちが AI エージェントに向かう理由
azukiazusa1
4
3.7k
新規事業開発でのAWS活用成功談&失敗談! 〜新規事業開発を専門に行うRelicならではのAWS活用〜
amixedcolor
1
170
「それ、AIでよくない?」- AI時代の技術発信はオワコンなのか?
estie
1
110
OCI Artifact による自動運転タクシーに向けた OTA 基盤の構築
biwashi
1
300
生成AIによる情報システムへのインパクト (2026年11月版)
taka_aki
0
130
AWS Well-Arhitected Frameworkセキュリティの柱 について
miu_crescent
PRO
2
270
設計手法を「道具」として使いこなすために
a_suenami
7
1.8k
対話 AI プラットフォーム「アイブリー」で実践する自然言語処理と事業開発
ivry_presentationmaterials
0
210
一口馬主の募集馬をAIで診断してみた
yoshimura_datam
0
120
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
630
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Designing for Timeless Needs
cassininazir
1
570
For a Future-Friendly Web
brad_frost
184
11k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
340
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
A Soul's Torment
seathinner
9
4k
SEO for Brand Visibility & Recognition
aleyda
0
4.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
760