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
tokaido lug 2019-03-09
Search
ahiru
March 09, 2019
Technology
1
130
tokaido lug 2019-03-09
tokaido lug 2019-03-09
ahiru
March 09, 2019
Tweet
Share
More Decks by ahiru
See All by ahiru
OSC名古屋東海道らぐLT
na0ki
0
620
mWWDC2017
na0ki
0
490
osc hamanako 2017 LT
na0ki
1
110
OSC Osaka 2017 LT
na0ki
0
140
OSC Nagoya Tokaidou LUG LT
na0ki
0
140
Tokaido LUG 2016.02.20
na0ki
0
900
Other Decks in Technology
See All in Technology
AWS CDKでデータリストアの運用、どのように設計する?~Aurora・EFSの実践事例を紹介~/aws-cdk-data-restore-aurora-efs
mhrtech
4
670
10分でわかるfreeeのQA
freee
1
3.4k
オーティファイ会社紹介資料 / Autify Company Deck
autifyhq
9
120k
VPC間の接続方法を整理してみた #自治体クラウド勉強会
non97
1
880
CyberAgent 生成AI Deep Dive with Amazon Web Services / genai-aws
cyberagentdevelopers
PRO
1
480
大規模データ基盤チームのオンプレTiDB運用への挑戦 / dpu-tidb
cyberagentdevelopers
PRO
1
110
Figma Dev Modeで進化するデザインとエンジニアリングの協働 / figma-with-engineering
cyberagentdevelopers
PRO
1
430
20241031_AWS_生成AIハッカソン_GenMuck
tsumita
0
110
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
27
12k
LeSSに潜む「隠れWF病」とその処方箋
lycorptech_jp
PRO
2
120
国土交通省 データコンペ参加者向け勉強会
takehikohashimoto
0
130
最速最小からはじめるデータプロダクト / Data Product MVP
amaotone
5
740
Featured
See All Featured
Done Done
chrislema
181
16k
Practical Orchestrator
shlominoach
186
10k
Agile that works and the tools we love
rasmusluckow
327
21k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Designing for humans not robots
tammielis
249
25k
Building Better People: How to give real-time feedback that sticks.
wjessup
363
19k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
22k
GraphQLの誤解/rethinking-graphql
sonatard
66
10k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
504
140k
A Philosophy of Restraint
colly
203
16k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Transcript
RASPI CO2 20193 IN
• • EJUG, mikutter, Tokaido LUG
… … )'!*%(3&$ … .3*%+2& #,3&-1…
/0 … " … 2…
CO2
• RasPi 3B(+) • MH-Z19 • Winsen •
CO2 • 0 ~ 2,000 ppm, 0 ~ 5,000 ppm • (50ppm + 3% reading value) • PWM, UART • https://www.winsen-sensor.com/d/files/infrared-gas-sensor/mh-z19b-co2-ver1_0.pdf
• 400 ppm • https://ds.data.jma.go.jp/ghg/kanshi/ghgp/co2_trend.html • ppm
• Parts Per Million • • 1ppm = 0.0001% • 400 ppm = 400 x 0.0001 % = 0.04%
• 1,000 ppm (0.1%) • https://www.mhlw.go.jp/bunya/kenkou/seikatsu-eisei10/
• !" 1,000 ppm $ % " #
MY NEW GEAR…
• 5V, GND, Tx, Rx
• • Python
• https://github.com/UedaTakeyuki/mh-z19 • null • Pre-Heat 3min
• • 400 ppm !" •
20 $ 400ppm #
• : 740 • : 580
• *+ &' • &'2: 398 ~ 500,
972: 650 ~ 1450 • -, ) • &'2: 550 ~ 600, 972: 700 ~ 900 • !# 1534.(56 • .8$ • 0"/% 8$
GOLANG • Python &!%/- Golang .29 • Serial 7;*5
# #$1F https://github.com/tarm/serial • Serial A3"&: ,)46 API endpoint @ • &>A3'+E29 • API endpoint Golang + PostgreSQL + gorm + docker • POST B0(=8C? DB D<
• • Web UI • '
" #! • Slack • CO2 % • TVOC &$