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 Edgeデバイスプログラミングをお手軽に〜Ner...
Search
NISHIUCHI Kazuma
July 10, 2020
Programming
1.6k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
360
Other Decks in Programming
See All in Programming
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
140
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.5k
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
390
自サークルのIdPからログアウトできるようになるまで
taiseiue
0
110
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
160
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
920
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
110
Verilogで学ぶCPU自作入門.pdf
uyuki234
8
4k
プロダクトコードからライブラリの境界を見つける
elmetal
PRO
0
110
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
120
Embedded Swiftで作る自作USBデバイス によるiOSデバイスの自動テスト / iOSDC Japan 2026 glassfiber
glassfiber
0
300
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
HDC tutorial
michielstock
2
950
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
460
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.1k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Why Our Code Smells
bkeepers
PRO
340
58k
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
こちらもよろしくお願いしますっ!