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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
NISHIUCHI Kazuma
July 10, 2020
Programming
1.5k
1
Share
Elixir_Nerves入門!堅牢なIoT Edgeデバイスプログラミングをお手軽に〜Nervesでつくるウェブチカ〜 #ALGYAN
2020.07.10にIoT ALGYANで発表したウェブチカ紹介資料です。
NISHIUCHI Kazuma
July 10, 2020
More Decks by NISHIUCHI Kazuma
See All by NISHIUCHI Kazuma
Elixir/Nervesで工業制御を
nishiuchikazuma
0
330
Other Decks in Programming
See All in Programming
[RubyKaigi 2026] Require Hooks
palkan
1
320
Agent Skills を社内で育てる仕組み作り
jackchuka
1
2k
書き換えて学ぶTemporal #fukts
pirosikick
2
380
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
390
ソースコード→AST→オペコード、の旅を覗いてみる
o0h
PRO
1
130
From Formal Specification to Property Based Test
ohbarye
0
2.6k
PicoRuby for IoT: Connecting to the Cloud with MQTT
yuuu
2
770
Firefoxにコントリビューションして得られた学び
ken7253
2
160
cloudnative conference 2026 flyle
azihsoyn
0
180
Liberating Ruby's Parser from Lexer Hacks
ydah
2
2.7k
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
150
実践ハーネスエンジニアリング:ステアリングループを実例から読み解く / Practical Harness Engineering: Understanding Steering Loops Through Real-World Examples
nrslib
5
5.5k
Featured
See All Featured
We Are The Robots
honzajavorek
0
230
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
170
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
150
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Thoughts on Productivity
jonyablonski
76
5.2k
Believing is Seeing
oripsolob
1
120
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
210
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.7k
First, design no harm
axbom
PRO
2
1.2k
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
こちらもよろしくお願いしますっ!