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

Tomoyuki Sugita

October 15, 2019
Tweet

More Decks by Tomoyuki Sugita

Other Decks in Technology

Transcript

  1. ਿ ా ஌ ࢸ 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ࢧ෦ӡӦϝϯόʔ • ͓ञ͕޷͖
  2. ؤுͬͨͱ͜Ζ # ίϚϯυͷඪ४ग़ྗΛड͚औΔ 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
  3. ଞ ʹ ΋ ໘ ന ͍ ه ࣄ ͕ ͍

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