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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
1
310
Androidだけじゃない、DroidKaigiで広がった私の技術スタック
akkeylab
0
130
残高管理から台帳サービスへの進化
artoy
1
200
phperだってパンチカードでコーディングしたい
o0h
PRO
0
320
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
740
contenteditable と日本語入力に向き合う
colorful12
0
200
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.2k
The Rails Doctrine Decade
koic
2
570
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
780
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
370
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
290
Featured
See All Featured
Designing for Timeless Needs
cassininazir
1
520
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
950
It's Worth the Effort
3n
188
29k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Designing Powerful Visuals for Engaging Learning
tmiket
1
600
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
520
Embracing the Ebb and Flow
colly
88
5.2k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
4 Signs Your Business is Dying
shpigford
187
23k
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
こちらもよろしくお願いしますっ!