20161227 Taipei Smart IOT Innovation Lab workshop

  • Published on
    07-Apr-2017

  • View
    125

  • Download
    0

Transcript

  • IoT with LoRa experience sharing Institute of Information Science, Academia Sinica

    Network Research Lab

    Research assistant

    Hu-Cheng, Lee

  • Airbox

    Wearable Device

    Location Aware Sensor System

  • Airbox

    Wearable Device

    Location Aware Sensor System

  • IoT with LoRa

    Airbox Realtime ambient

    sensing include -

    - Temperature & Humidity

    - PM2.5

    Smart & Healthy city

    Environmental educationLets hack!

  • IoT with LoRa

    Airbox + LoRa

    GND

    VINSDA

    ALT SCL

    pin 2 GND

    pin 1 5V

    pin 4 Rx

    pin 5 TxTx

    Rx

    5v3v3SDASCLGND

    SHT 31Temperature & Humidity

    PMS 5003PM2.5

    LoRap.s Original temperature & humidity sensor is HTS221

  • IoT with LoRa

    About LoRa LoRa

    - Long rage communication (LoRa) - Low Power Wide Area Network (LPWAN) - Low bit rate connected object - Limited in 11 bytes / min (in this case, Gemtek LoRa module)

    Our data- Temperature & Humidity - PM2.5 & PM10 - GPS - App ID

    Bitwise operation

  • IoT with LoRa

    Fit them into 11 bytesTransmit attribute App_ID

    (Temperature value + 20) x 10

    Humidity value x 10 PM2.5 PM10 - PM2.5 Lat + 90 Lon + 180 fix/num

    Recording range 0~15 -20 ~ 82.3 0 ~ 102.3 0 ~ 2047 0 ~ 255 -90 ~ 90 -180 ~ 180 0 ~ 14

    Transmit value

    0~15 0 ~ 1023 0 ~ 1023 0 ~ 2047 0 ~ 255 D: 0 ~ 180 (8 bits) D: 0 ~ 360 (9 bits) 0 ~ 15

    M: 0 ~ 59 (6 bits) M: 0 ~ 59 (6 bits)

    S: 0 ~ 59 (6 bits) S: 0 ~ 59 (6 bits)

    Bits # 4 bits 10 bits 10 bits 11 bits 8 bits 20 bits 21 bits 4 bits

    P.S PM10 = PM2.5 + (PM10 - PM2.5) DMS format DMS format15: Fake

    GPS

    App_id Temperature Humidity PM2.5 PM10 offset Latitude Longitude fix #

    Bit slot

  • IoT with LoRa

    Arduino sample

    Open source

  • IoT with LoRa

    LoRaBitMap( )

    variable preprocess

    bitwise operation

    AT command, launch your data!

  • IoT with LoRa

    Get the data Prepare your MQTT info. (ex.)

    - "host": "SERVER IP",

    - "port": 80,

    - "topic": "client/700000000/700000000-GIOT-MAKER",

    - "clientId": "700000000-generic-service",

    - "username": "700000000",

    - "password": PASSWORD"

    $ mosquitto_sub -h -p 80 -t client/700000000/700000000-GIOT-MAKER -I 700000000-generic-service -u 700000000 -P

  • IoT with LoRa

    Get the dataRECV:

    {

    "id" : "e18a47a2-9c3c-4157-b61a-5131e34e6813", // Unique index for this message

    "macAddr" : "04000011", // Module ID

    "data" : "1459268303", // Your Data

    "buff" : "2016-05-09T09:18:56.310Z", // LoRa Gateway receive timestamp

    "recv" : "2016-05-09T09:18:55.000Z", // Cloud server receive timestamp

    "extra" : { // Lora Gateway which receive your data

    "gwip" : "192.168.1.110", // Lora Gateway Wan IP

    "gwid" : 00001c497b48db94", // Lora Gateway ID

    "repeater" : "00000000ffffffff", // Lora Repeater ID, if bypass

    "systype" : 4, // System ID for indicating service area

    "rssi" : -94, // RSSI when this frame is into Gateway

    "snr" : 93 // SNR when this frame is into Gateway

    }

  • IoT with LoRa

    Get the dataooxx Reverse itooxx

    ooxx

    ooxx

    ooxx

    ooxx

    ooxx

    ooxx

    ooxx

    ooxx

    ooxx

    ooxx

    ooxx

    ooxx

    ooxx

    ooxx

    ooxx

    ooxx

    Handle duplicate

  • Airbox

    Wearable Device

    Location Aware Sensor System

  • IoT with LoRa

    Heat-stress sensing

    Personal heat-stress sensing device

    Realtime ambient sensing include

    - Temperature & Humidity

    - Air pressure

    - GPS

  • IoT with LoRa

    Heat-stress sensing

    GPSGPS antenna

    BME280Environment Tmp., Hmd. & Prs.

    Tmp. - Temperature () Hmd. - Humidity (RH%) Prs. - Air pressure (hPa)

    2000 mAh

    LinkIt ONEMainboard

    LoRa module

    BatteryData transmission

  • Airbox

    Wearable Device

    Location Aware Sensor System

  • IoT with LoRa

    LASS

    We welcome everyone!We are open-source & open-data!

    https://www.facebook.com/groups/1607718702812067/https://www.facebook.com/groups/1607718702812067/https://www.facebook.com/groups/1607718702812067/https://www.facebook.com/groups/1607718702812067/https://www.facebook.com/groups/1607718702812067/https://www.facebook.com/groups/1607718702812067/https://www.facebook.com/groups/1607718702812067/https://www.facebook.com/groups/1607718702812067/https://www.facebook.com/groups/1607718702812067/https://www.facebook.com/groups/1607718702812067/https://www.facebook.com/groups/1607718702812067/https://www.facebook.com/groups/1607718702812067/https://www.facebook.com/groups/1607718702812067/https://www.facebook.com/groups/1607718702812067/https://www.facebook.com/groups/1607718702812067/https://github.com/LinkItONEDevGroup/LASShttps://lass.hackpad.com/

  • IoT with LoRa

    System

  • IoT with LoRa

    Stations

  • IoT with LoRa

    IDW diagram

    http://nrl.iis.sinica.edu.tw/LASS/GIS/IDW/2016/11/4 7-10:00 CST

  • IoT with LoRa

    IDW+IDW+IDW+ Date

    Dec 21, 17:30~23:30

    Location

    Northern Taiwan

    Rate

    1 IDW / 5mins

  • IoT with LoRa

    Partners

  • IoT with LoRa

    LASS WWDC LocationNCTU Guangfu Campus

    Date: summer in 2017

    Follow us on Facebook

  • Thank you

Recommended

View more >