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
140
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
670
mWWDC2017
na0ki
0
520
osc hamanako 2017 LT
na0ki
1
110
OSC Osaka 2017 LT
na0ki
0
150
OSC Nagoya Tokaidou LUG LT
na0ki
0
150
Tokaido LUG 2016.02.20
na0ki
0
910
Other Decks in Technology
See All in Technology
OAuthからOIDCへ ― 認可の仕組みが認証に拡張されるまで
yamatai1212
0
160
Wasmの気になる最新情報
askua
0
180
Zephyr(RTOS)にEdge AIを組み込んでみた話
iotengineer22
1
250
AIフル活用で挑む!空間アプリ開発のリアル
taat
0
130
Microsoft 365 の認証と承認を理解する / Understanding Microsoft 365 Authentication and Authorization
karamem0
0
110
個人でデジタル庁の デザインシステムをVue.jsで 作っている話
nishiharatsubasa
1
180
生成AIを安心して活用するために──「情報セキュリティガイドライン」策定とポイント
gree_tech
PRO
0
170
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
12
81k
Introdução a Service Mesh usando o Istio
aeciopires
1
280
難しいセキュリティ用語をわかりやすくしてみた
yuta3110
0
360
Databricks AI/BI Genie の「値ディクショナリー」をAmazonの奥地(S3)まで見に行く
kameitomohiro
1
380
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.8k
Featured
See All Featured
How GitHub (no longer) Works
holman
315
140k
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
Done Done
chrislema
185
16k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
The Invisible Side of Design
smashingmag
302
51k
Side Projects
sachag
455
43k
A Tale of Four Properties
chriscoyier
161
23k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
610
Automating Front-end Workflow
addyosmani
1371
200k
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 &$