Upgrade to Pro — share decks privately, control downloads, hide ads and more …

tokaido lug 2019-03-09

ahiru
March 09, 2019

tokaido lug 2019-03-09

tokaido lug 2019-03-09

ahiru

March 09, 2019
Tweet

More Decks by ahiru

Other Decks in Technology

Transcript

  1.  • 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
  2.   •  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%
  3.  •   • Python    

    • https://github.com/UedaTakeyuki/mh-z19 •  null   • Pre-Heat 3min
  4.  • *+ &'  • &'2: 398 ~ 500,

    972: 650 ~ 1450 • -, )  • &'2: 550 ~ 600, 972: 700 ~ 900 • !# 1534.(56 • .8$ • 0"/% 8$
  5. 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< 
  6.  •   • Web UI  • '

    " #! • Slack  • CO2  %  • TVOC &$