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

Pi Zero IoT Workshop @ High School

dynamis
September 10, 2019

Pi Zero IoT Workshop @ High School

鳥取城北高校と清翔開智高校で PiZero Workshop を行った際に使用したスライド。
Pi Zero Workshop: https://tottori-iot.netlify.com/

dynamis

September 10, 2019
Tweet

More Decks by dynamis

Other Decks in Education

Transcript

  1. Pi Zero IoT Workshop
    @ Johoku High School
    WebDINO Japan - Tomoya ASAI

    View full-size slide

  2. PiZero Workshop

    View full-size slide

  3. IoT
    ( )
    IIJ Machinist
    3

    View full-size slide

  4. : IIJ
    Machinist ( )
    IoT
    IIJ IoT
    IIJmio IoT
    IoT ( LTE SIM)
    100MB/ 2400 /
    IoT
    4

    View full-size slide

  5. Raspberry Pi Zero IoT
    5

    View full-size slide

  6. IoT
    6

    ( )
    Bluetooth (BLE)


    ( ) 

    Machinist 


    View full-size slide

  7. From: [email protected]
    Subject: "Machinist監視通知"
    監視状態に変化がありました
    (YYYY/MM/DD HH:MM:SS)
    エージェント: xxxxxxxx
    メトリック: 2JCIE-BU / 総揮発性有機化合物濃度
    タグ: {}
    状態: 未設定 -> 揮発してます!
    条件: 1554.0(avg) > 1000.0
    詳細は以下のページよりご確認ください。
    https://app.machinist.iij.jp/#/metrics/xxxxxxxx-xxxx-xxxx-xxxx-
    xxxxxxxxxxxx
    [email protected] は送信専⽤のメールアドレスです
    9

    View full-size slide

  8. CSV
    1. Machinist
    DL
    2. SD
    SD PC :

    /boot/settings/log/*.csv
    10

    View full-size slide

  9. wi .txt
    RX501NC_242D,50015610
    pizero,workshop
    13

    View full-size slide

  10. con g.js
    module.exports = {
    NAME: "Rbt",
    ADDRESS: "FB29A990F24B",
    INTERVAL_MILLISEC: 60000,
    RECORDS: ["CSV", "MACHINIST"],
    //"RECORDS": ["CSV", "AMBIENT"]
    //"RECORDS": ["CSV", "MACHINIST", "AMBIENT],
    MACHINIST_API_KEY: "9df976e3e69xxxxx",
    MACHINIST_MULTIPLE: 1
    //"AMBIENT_CHANNEL": ,
    //"AMBIENT_WRITE_KEY": "",
    //"AMBIENT_MULTIPLE":
    };
    //
    14

    View full-size slide