tokaido lug 2019-03-09

F01f0d3a3560c68a9cb7023a1d288a8d?s=47 ahiru
March 09, 2019

tokaido lug 2019-03-09

tokaido lug 2019-03-09

F01f0d3a3560c68a9cb7023a1d288a8d?s=128

ahiru

March 09, 2019
Tweet

Transcript

  1. RASPI CO2   20193   IN  

  2.  

  3.  •  • EJUG, mikutter, Tokaido LUG

  4.  …   … )'!*%(3&$ … .3*%+2&  #,3&-1…

    /0 … " … 2…
  5.      

  6. CO2 

  7.  • 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
  8.   •  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%
  9.    • 1,000 ppm (0.1%)  • https://www.mhlw.go.jp/bunya/kenkou/seikatsu-eisei10/

    • !"  1,000 ppm  $  % "  #
  10. MY NEW GEAR…

  11.  • 5V, GND, Tx, Rx 

  12.  •   • Python    

    • https://github.com/UedaTakeyuki/mh-z19 •  null   • Pre-Heat 3min
  13.  •  • 400 ppm   !" •

    20 $ 400ppm   #  
  14.  • : 740 • : 580

  15.  • *+ &'  • &'2: 398 ~ 500,

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

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