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
640
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
大AI時代で輝くために今こそドメインにディープダイブしよう / Deep Dive into Domain in AI-Agent-Era
yuitosato
1
270
ウォンテッドリーにおける Platform Engineering
bgpat
0
190
試験は暗記より理解 〜効果的な試験勉強とその後への活かし方〜
fukazawashun
0
340
7,000名規模の 人材サービス企業における プロダクト戦略・戦術と課題 / Product strategy, tactics and challenges for a 7,000-employee staffing company
techtekt
0
260
近年の PyCon 情勢から見た PyCon APAC のまとめ
terapyon
0
290
Android는 어떻게 화면을 그릴까?
davidkwon7
0
100
【2025年度新卒技術研修】100分で学ぶ サイバーエージェントのデータベース 活用事例とMySQLパフォーマンス調査
cyberagentdevelopers
PRO
4
6.5k
AI Agentを「期待通り」に動かすために:設計アプローチの模索と現在地
kworkdev
PRO
2
390
LLM とプロンプトエンジニアリング/チューターをビルドする / LLM, Prompt Engineering and Building Tutors
ks91
PRO
1
210
LLM as プロダクト開発のパワードスーツ
layerx
PRO
1
200
Automatically generating types by running tests
sinsoku
1
440
TopAppBar Composableをカスタムする
hunachi
0
170
Featured
See All Featured
Facilitating Awesome Meetings
lara
54
6.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
29
5.6k
Making Projects Easy
brettharned
116
6.1k
Automating Front-end Workflow
addyosmani
1369
200k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.3k
Building Adaptive Systems
keathley
41
2.5k
Thoughts on Productivity
jonyablonski
69
4.6k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
227
22k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
5
520
Build your cross-platform service in a week with App Engine
jlugia
229
18k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
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 &$