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デバイスプログラミングをお手軽に〜Nervesでつくるウェブチカ〜 #ALGYAN
Search
NISHIUCHI Kazuma
July 10, 2020
Programming
1
1.2k
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
240
Other Decks in Programming
See All in Programming
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
120
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
400
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
5
1.1k
Site Reliability Engineering for GMO
pyama86
8
1.1k
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
7
1.2k
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
370
GitHub Copilotのススメ
marcy731
1
210
R言語の環境構築と基礎 Tokyo.R 112
bob3bob3
0
270
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
19k
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
150
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
170
Snowflakeで眠ったデータを起こそう!
estie
0
130
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2k
Testing 201, or: Great Expectations
jmmastey
29
6.4k
The Language of Interfaces
destraynor
151
23k
We Have a Design System, Now What?
morganepeng
44
6.8k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
245
20k
Clear Off the Table
cherdarchuk
85
310k
Build your cross-platform service in a week with App Engine
jlugia
226
17k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
41
4.4k
Building a Scalable Design System with Sketch
lauravandoore
457
32k
Building Flexible Design Systems
yeseniaperezcruz
320
37k
For a Future-Friendly Web
brad_frost
172
9k
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
こちらもよろしくお願いしますっ!