$30 off During Our Annual Pro Sale. View Details »
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
150
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
680
mWWDC2017
na0ki
0
530
osc hamanako 2017 LT
na0ki
1
120
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
こがヘンだよ!Snowflake?サービス名称へのこだわり
tarotaro0129
0
110
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.9k
【AWS re:Invent 2025速報】AIビルダー向けアップデートをまとめて解説!
minorun365
4
360
直接メモリアクセス
koba789
0
190
Oracle Cloud Infrastructure:2025年11月度サービス・アップデート
oracle4engineer
PRO
1
150
翻訳・対話・越境で強いチームワークを作ろう! / Building Strong Teamwork through Interpretation, Dialogue, and Border-Crossing
ar_tama
4
1.7k
Design System Documentation Tooling 2025
takanorip
2
950
ブロックテーマとこれからの WordPress サイト制作 / Toyama WordPress Meetup Vol.81
torounit
0
360
私のRails開発環境
yahonda
0
190
その設計、 本当に価値を生んでますか?
shimomura
3
200
最近のLinux普段づかいWaylandデスクトップ元年
penguin2716
1
370
GitLab Duo Agent Platformで実現する“AI駆動・継続的サービス開発”と最新情報のアップデート
jeffi7
0
190
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.5k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Navigating Team Friction
lara
191
16k
KATA
mclloyd
PRO
32
15k
Balancing Empowerment & Direction
lara
5
790
Build your cross-platform service in a week with App Engine
jlugia
234
18k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Typedesign – Prime Four
hannesfritz
42
2.9k
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 &$