20161227 Taipei Smart IOT Innovation Lab workshop
-
Upload
hu-cheng-lee -
Category
Technology
-
view
132 -
download
0
Transcript of 20161227 Taipei Smart IOT Innovation Lab workshop
![Page 1: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/1.jpg)
IoT with LoRa experience sharing Institute of Information Science, Academia SinicaNetwork Research Lab
Research assistantHu-Cheng, Lee
![Page 2: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/2.jpg)
Airbox
Wearable Device
Location Aware Sensor System
![Page 3: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/3.jpg)
Airbox
Wearable Device
Location Aware Sensor System
![Page 4: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/4.jpg)
IoT with LoRa
Airbox• Realtime ambient
sensing include -
- Temperature & Humidity
- PM2.5
• Smart & Healthy city
• Environmental educationLet’s hack!
![Page 5: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/5.jpg)
IoT with LoRa
Airbox + LoRa
GNDVINSDA
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
![Page 6: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/6.jpg)
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
![Page 7: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/7.jpg)
IoT with LoRa
Fit them into 11 bytesTransmit attribute App_ID (Temperature value +
20) x 10Humidity 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 format 15: Fake
GPS
App_id Temperature Humidity PM2.5 PM10 offset Latitude Longitude fix #
Bit slot
![Page 8: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/8.jpg)
IoT with LoRa
Arduino sample
Open source
![Page 9: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/9.jpg)
IoT with LoRa
LoRaBitMap( )
variable preprocess
bitwise operation
AT command, launch your data!
![Page 10: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/10.jpg)
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 <Server_IP> -p 80 -t client/700000000/700000000-GIOT-MAKER -I 700000000-generic-service -u 700000000 -P <PASSWORD>
![Page 11: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/11.jpg)
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
}
![Page 12: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/12.jpg)
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
![Page 13: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/13.jpg)
Airbox
Wearable Device
Location Aware Sensor System
![Page 14: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/14.jpg)
IoT with LoRa
Heat-stress sensing
• Personal heat-stress sensing device
• Realtime ambient sensing include
- Temperature & Humidity
- Air pressure
- GPS
![Page 15: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/15.jpg)
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
![Page 16: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/16.jpg)
Airbox
Wearable Device
Location Aware Sensor System
![Page 17: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/17.jpg)
IoT with LoRa
LASS
We welcome everyone!We are open-source & open-data!
![Page 18: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/18.jpg)
IoT with LoRa
System
![Page 19: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/19.jpg)
IoT with LoRa
Stations
![Page 20: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/20.jpg)
IoT with LoRa
IDW diagram
http://nrl.iis.sinica.edu.tw/LASS/GIS/IDW/2016/11/4 7-10:00 CST
![Page 21: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/21.jpg)
IoT with LoRa
IDW+IDW+IDW+……• Date
• Dec 21, 17:30~23:30
• Location
• Northern Taiwan
• Rate
• 1 IDW / 5mins
![Page 22: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/22.jpg)
IoT with LoRa
Partners
![Page 23: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/23.jpg)
IoT with LoRa
LASS WWDC• Location:NCTU Guangfu Campus
• Date: summer in 2017
• Follow us on Facebook
![Page 24: 20161227 Taipei Smart IOT Innovation Lab workshop](https://reader033.fdocuments.us/reader033/viewer/2022051122/58e795951a28ab0d288b59b7/html5/thumbnails/24.jpg)
Thank you