Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Elixir_Nerves入門!堅牢なIoT Edgeデバイスプログラミングをお手軽に〜Ner...
Search
NISHIUCHI Kazuma
July 10, 2020
Programming
1
1.5k
Elixir_Nerves入門!堅牢なIoT Edgeデバイスプログラミングをお手軽に〜Nervesでつくるウェブチカ〜 #ALGYAN
2020.07.10にIoT ALGYANで発表したウェブチカ紹介資料です。
NISHIUCHI Kazuma
July 10, 2020
Tweet
Share
More Decks by NISHIUCHI Kazuma
See All by NISHIUCHI Kazuma
Elixir/Nervesで工業制御を
nishiuchikazuma
0
320
Other Decks in Programming
See All in Programming
Denoのセキュリティに関する仕組みの紹介 (toranoana.deno #23)
uki00a
0
230
Graviton と Nitro と私
maroon1st
0
160
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
640
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
10
1.6k
GISエンジニアから見たLINKSデータ
nokonoko1203
0
190
AgentCoreとHuman in the Loop
har1101
3
110
Claude Codeの「Compacting Conversation」を体感50%減! CLAUDE.md + 8 Skills で挑むコンテキスト管理術
kmurahama
1
730
perlをWebAssembly上で動かすと何が嬉しいの??? / Where does Perl-on-Wasm actually make sense?
mackee
0
320
AIによるイベントストーミング図からのコード生成 / AI-powered code generation from Event Storming diagrams
nrslib
2
1.3k
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
4
1.1k
SQL Server 2025 LT
odashinsuke
0
140
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
320
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
0
400
Paper Plane
katiecoart
PRO
0
45k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
430
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
How to Talk to Developers About Accessibility
jct
1
97
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
32
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
0
1.8k
The SEO identity crisis: Don't let AI make you average
varn
0
48
It's Worth the Effort
3n
188
29k
Building Applications with DynamoDB
mza
96
6.9k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
55
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
240
Transcript
Nervesでつくるウェブチカ 西内 一馬 @nishiuchikazuma https://qiita.com/nishiuchikazuma
ウェブチカ?
#!/usr/local/bin/python import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(25, GPIO.OUT) GPIO.output(25, GPIO.HIGH)
http://xxx.xxx.xxx.xxx/exineos/led/on http://xxx.xxx.xxx.xxx/exineos/led/off
自己紹介 ・名前: 西内一馬(にしうちかずま) ・所属: 株式会社シティネット / kochi.ex / 高 知組み込み会
・仕事: 主にサーバやネットワーク関連の仕事 に従事。IoT事業ではモノに近い部分 のプログラムを担当することが多い。 ・休日: ハンドボール、ご飯を作る・食べる、子 どもと遊ぶ 初 ALGYAN の一人
高知にきたら 探してね @くろしおアリーナ にしうち
構成紹介
Nervesの構成 • RaspberryPi 3BにLEDを接続 • RaspberryPi 3BにNervesをインストール • NervesからPhoenix Frameworkを起動できるように設定
• Phoenix Frameworkにプログラムを記述 NervesはOS・プラットフォームとして利用 Phoenixにウェブの設定とプログラムを記述
ディレクトリ構成 • Nervesプロジェクトと同じ階層にPhoenixプロジェクトを作成 • NervesプロジェクトからPhoenixプロジェクトを読み込む設定を実施 ◦ Ponchoプロジェクトストラクチャー ❯ tree -L
1 -F exineos exineos ←プロジェクトディレクトリ ├── exineris/ ←Nervesのプロジェクトディレクトリ └── neosapi/ ←Phoenixのプロジェクトディレクトリ
高知工科大学 設置場所
詳細はQiitaに掲載 1. Qiitaにアクセス https://qiita.com/ 2. Qiitaでキーワード「ウェブチカ」で検索 今日調べ:4件
デモ
None
こちらもよろしくお願いしますっ!