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
KMP の Swift export
kokihirokawa
0
140
pprof vs runtime/trace (FlightRecorder)
task4233
0
140
#普通の文系サラリーマンチャレンジ 自分でアプリ開発と電子工作を続けたら人生が変わった
tatsuya1970
0
780
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
9k
PythonとLLMで挑む、 4コマ漫画の構造化データ化
esuji5
0
120
LLMアプリケーション開発におけるセキュリティリスクと対策 / LLM Application Security
flatt_security
7
1.5k
AI×Data×SaaS×Operation
sansantech
PRO
0
110
データエンジニアがこの先生きのこるには...?
10xinc
0
410
kaigi_on_rails_2025_設計.pdf
nay3
8
4.1k
Green Tea Garbage Collector の今
zchee
PRO
2
360
PyCon JP 2025 DAY1 「Hello, satellite data! ~Pythonではじめる衛星データ解析~」
ra0kley
0
760
Streamlit は社内ツールだけじゃない!PoC の速さで実現する'商用品質'の分析 SaaS アーキテクチャ
kdash
2
1.1k
Featured
See All Featured
For a Future-Friendly Web
brad_frost
180
9.9k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
It's Worth the Effort
3n
187
28k
Rails Girls Zürich Keynote
gr2m
95
14k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.9k
The Power of CSS Pseudo Elements
geoffreycrofte
78
6k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
114
20k
Automating Front-end Workflow
addyosmani
1371
200k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Writing Fast Ruby
sferik
629
62k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.7k
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 &$