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
Raspberry Pi で試す 組み込みLinux⼊⾨ Nerves の場合
Search
pojiro
November 29, 2023
Technology
550
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Raspberry Pi で試す 組み込みLinux⼊⾨ Nerves の場合
pojiro
November 29, 2023
More Decks by pojiro
See All by pojiro
Elixir で IoT 開発、 Nerves なら簡単にできる!?
pojiro
1
770
分野に潜むツールの紹介
pojiro
1
730
Raspberry Pi Mouse を Nerves で動かしてみた
pojiro
0
1.4k
おいでよ! Nerves JP!
pojiro
1
360
描画ライブラリScenic紹介
pojiro
0
200
Circuits.GPIOはいかにテストされているか
pojiro
0
170
Nerves tips, /bin/sh & nerves_heart
pojiro
0
110
Elixir/NervesでどこまでできるのIoT?
pojiro
1
450
『推し』で仕事をする
pojiro
1
170
Other Decks in Technology
See All in Technology
Lint の層を組み直した話
bengo4com
3
310
AIエージェントの監視、思考を見るか行動を見るか / Monitoring AI Agents: Thoughts or Actions
yusukeshimizu
1
150
Kiro Crew の Bot (続く役目を任せる窓口) | 目指せ Kiro マスター 12
inariku
PRO
0
190
現場を動かすAIエージェント#2_製造業現場でのAI活用から見た、ハマる罠と実践知
kintotechdev
2
170
AWSを利用する上で知っておきたい名前解決の話 2026
nagisa53
3
2.1k
"AWSはちょっと苦手"でも大丈夫。AWS Blocks で手軽に作る Flutter のバックエンド #FlutterKaigi
tacck
PRO
0
150
Flutter Widget Previewerで始めるUIプレビューとVRTの自動化
sakusaku3939
0
210
DBTS2026 盛り上がってますか!?Databricksが実現するAI時代のデータ基盤
akuwano
1
120
デザインレビューは自動化できるのか?─ Flutter × Figma で UI 品質保証を考える
techiro
2
790
You Have Agency(サンキュー、Ruby)
snoozer05
PRO
5
680
Strands Decider 2BでAWSアップデートの目利きをしてみた
sato4mi
1
120
kintoneで在庫管理システムを作るときの要件定義・設計ポイント
kai0707
0
230
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3.1k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
290
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.2k
Product Roadmaps are Hard
iamctodd
55
13k
Technical Leadership for Architectural Decision Making
baasie
3
640
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Unsuck your backbone
ammeep
672
58k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.3k
Writing Fast Ruby
sferik
630
63k
Transcript
Raspberry Pi で試す 組み込みLinux⼊⾨ Nerves の場合
自己紹介 • 衣川 亮太 (きぬかわ りょうた) • 愛知県岡崎市の個人事業エンジニア • 屋号:Tombo
Works • twitter: @pojiro3 • I love Elixir & Nerves ◦ 日本のNervesコミュニティであるNerves JPに所属しています
関数型プログラミング言語Elixir で 組み込みLinux開発ができる Nerves の紹介 • Elixir, 以下の特徴を持つ動的型付けの関数型言語 ◦ Erlang
VM上で動作する、高可用・耐障害性のある、並行処理の書きやすい言語 ◦ 主にサーバーサイドで使われる ▪ Webフレームワーク:Phoenix • Nerves ◦ 組み込みLinux開発をElixirで可能にするOSS ◦ 機能の開発をElixirの世界に閉じて行うことができる ▪ nginx, apache, /etc/の設定いじり, python でプログラム開発 バラバラ開発不要 ◦ Linuxをカスタムしない限り、組み込みLinuxであることを意識せずに 開発を進めることができるのが強み!! ▪ Linuxをカスタマイズしたい場合はBuildrootでカスタムすることで可能
Nerves のよいところ! • 組み込みLinuxでありながら、Elixirの世界だけで機能開発に専念できる • 通信・電断耐性の仕組みはNervesが提供してくれるので、開発が不要 • ファームウェアが小さい(~50MBくらい、SSH転送がすぐ終わる • OTAには、ファームウェア配信が可能なOSSの
Nerves Hub がある ◦ ただ、自身でホストする必要あり • 公式にサポートされるハードウェア ◦ BBB ◦ OSD32MP1 ◦ Raspberry Pi A+, B+, Zero, 2, 3B, 3B+, 3A+, 4 ◦ Vultr ◦ x86_64 • 対象ハードウェアがなくても、移植可能、実績あり!
組み込みLinuxをElixirでやれると 何が嬉しいか? 以下の実装を 全部Elixirでできる! • クラウド • エッジサーバ • 末端デバイス
駆け足でデモします!
プロダクション環境での利用 利用例が掲載 https://nerves-project.org/c ases/
こんなところでも! ElixirKenya で発表から抜粋 https://www.youtube.com/watch?v =P_xryjmG35I ↓Frank, Nerves Core Author Pocket
LANcher https://www.pocket-lancher.com/
もう一例! Kochi.ex, Elixir コミュニティ@高知 • Nerves を使った ExiBee と PLB
が 小水力発電所で活用!!!
駆け足でしたが、 組み込みLinux ができる Nerves というOSS を知っていただけたら嬉しいです! おわり
紹介 • Nerves の日本コミュニティ Nerves JP • なぜ僕はNervesに期待するのか • 産業用堅牢ハードでElixir:e-RT3にNervesポーティング
• Nerves大好きな僕が2021年にしたこと • 出張の多い現場エンジニアをサポートするデバイス • OSSを全面利用して商用プロダクトを作る