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

ラズパイマガジン 寄稿ネタDEMO

ラズパイマガジン 寄稿ネタDEMO

2019/10/15 Tue IoT縛りの勉強会! IoTLT vol.56 @SCSK
使ったデバイス
・オムロンの環境センサ評価ボード2JCIE-EV01-RP1
・Raspberry Pi Zero WH

9c5189b33ab575b7f8b155f7f7a0fa60?s=128

Tomoyuki Sugita

October 15, 2019
Tweet

Transcript

  1. ϥζύΠϚΨδϯ دߘωλDEMO 2019/10/15 Tue IoTറΓͷษڧձ! IoTLT vol.56 @SCSK Isaax ਿా஌ࢸ

  2. ਿ ా ஌ ࢸ T O M O Y U

    K I S U G I TA @ t o m o t o m o b i l e ܦྺ • ֶੜىۀ • ΫοΫϏζ։ൃϚωʔδϟʔ • IPO௚ޙʹస৬ • IoT։ൃࢧԉαʔϏεisaax(ΞΠβοΫε)
 ͷBizDev • औక໾ Chief Product Officer ͦͷଞ • CoderDojoޒ൓ా ൃىਓ • JAWS-UG IoTࢧ෦ӡӦϝϯόʔ • ͓ञ͕޷͖
  3. ಡ ΜͰ Δ ਓ ʁ ϥζύΠϚΨδϯ 2019೥10݄߸ https://www.amazon.co.jp/dp/ 4296103881 ൃߦɿ೔ܦBP

    ¥2,343 ಛूهࣄΛدߘ͠·ͨ͠ʂ
  4. 2 0 1 9 ೥ 8 ݄ ʹ ൃ ച

    ͠ ͨ ͹ ͔ Γ
  5. هࣄʹԿॻ͍ͯΔͷʁ w ΦϜϩϯηϯαධՁϘʔυͬͯͳʔʹ w ެࣜ$ݴޠϥΠϒϥϦͷ࢖͍ํ w ϘʔυΛ࢖ͬͨ1ZUIPOΞϓϦέʔγϣϯͷ࡞Γํ w TVCQSPDFTTϞδϡʔϧ w

    "NCJFOU w JTBBYΛ࢖࣮ͬͯӡ༻
  6. هࣄʹԿॻ͍ͯΔͷʁ ಺༰ཧղͨ͠Β *P5νϣοτσΩϧ ͱݴ͑ΔϨϕϧͷ͜ͱ͕ॻ͍ͯ͋ΔΑ

  7. ԿͰͦΜͳ͜ͱͯ͠Δͷʁ

  8. IoTΤϯδχΞཆ੒Ωοτ

  9. IoTΤϯδχΞཆ੒Ωοτ isaaxษڧձ ։ൃϓϥοτϑΥʔϜ ϝσΟΞ

  10. IoTʹ΋ͬͱ΋ͬͱ ڵຯΛ࣋ͬͯཉ͍͠ʂ

  11. https://ambidata.io/ch/channel.html?id=12674 ౔༵ͷ୆෩ͷͱ͖ʢ͓લ΋͔… Min 967hPa Start 980hPa

  12. DEMO ϦϙδτϦ https://github.com/isaaxug/omron-env

  13. ධՁϘʔυͱRaspberry Piͷ૊Έཱͯ

  14. σϞಈը σϞಈը https://twitter.com/tomotomobile/status/1184368213129191424

  15. None
  16. ؤுͬͨͱ͜Ζ # ίϚϯυͷඪ४ग़ྗΛड͚औΔ proc = subprocess.run( ["./bin/2jcieev01-baro"], stdout = subprocess.PIPE,

    stderr = subprocess.PIPE ) out = proc.stdout.decode("utf8").strip() # ඪ४ग़ྗͷจࣈྻΛ෼ׂͯ͠ؾѹͱؾԹͷσʔλΛऔಘ͢Δ # ['100154.6','32.840','a463d4','665d03','return code: 0'] data = list(map(lambda str: str.strip(), out.split(','))) https://github.com/isaaxug/omron-env/blob/master/demo.py#L23-L33
  17. ;Γ͔͑Γ w λΠϜκʔϯΛ+45ʹ͢Δͷ๨Εͯͨɻ w ઈରѹηϯαͷԹ౓σʔλΛ࢖ͬͯ͠·ͬͨͷͰɺਖ਼ ͍͠Թ౓͡Όͳ͍ͬΆ͍ɻԹ࣪౓ηϯαʔͷ஋Λ࢖͑ ͹Α͔ͬͨɻ w $ݴޠ෼͔Βͳͯ͘΋Կͱ͔ͳͬͨɻ w

    ΤϯδχΞ͔Βʮ࣮ʹ-JOVYͬΆ͍࢖͍ํͩͶʯͱ๙ ΊΒΕͨʂ
  18. ଞ ʹ ΋ ໘ ന ͍ ه ࣄ ͕ ͍

    ͬ ͺ ͍ ʂ ϥζύΠϚΨδϯ 2019೥10݄߸ https://www.amazon.co.jp/dp/ 4296103881 ൃߦɿ೔ܦBP ¥2,343 ങͬͯͶʂ ʢ·Θ͠ऀʣ
  19. ɾɾɾͪͳΈʹʂ

  20. Ωοτ1ϲ݄໨ͷ಺༰ ͜Ε͑͞΍Ε͹ಉ͜͡ͱ͕ग़དྷ·͢ʂ

  21. ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠

  22. Appendix

  23. ࢀߟURL 2JCIE-EV01-RP1ʢνοϓϫϯετοϓʣ https://www.chip1stop.com/product/detail? partId=OMRO-0151418&mpn=2JCIE-EV01-RP1 ʮཆ੒Ωοτʯ https://www.google.com/search? q=%E9%A4%8A%E6%88%90%E3%82%AD%E3%83%83%E3%83%88