Skip to content

ArcherHuang/RaspberryPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programs running on Raspberry Pi that connects to IoT Platform

【 Overview 】

  • 物聯網架構與應用

Imgur

  • 通訊協定與網路服務提供商
通訊協定 網路服務提供商
HTTP ThingSpeak、MediaTek Cloud Sandbox (MCS)、Google Firebase
MQTT MediaTek Cloud Sandbox (MCS)、AWS IoT、IBM Bluemix IoT Platform
WebSocket WoT.City

【 檔案說明 】

編號 檔案名稱 說明
1 get_data_from_MCS.py 從 MCS 取得溫濕度資料
2 get_data_from_WoTCity.py 從 WoT.City 取得溫濕度資料
3 raspberryPi_dht_AWS_IoT.py 將溫濕度資料傳送到 AWS IoT
4 raspberryPi_dht_Firebase.py 將溫濕度資料傳送到 Google Firebase
5 raspberryPi_dht_IBM_Bluemix_Publish.py 將溫濕度資料傳送到 IBM Bluemix
6 raspberryPi_dht_IBM_Bluemix_Subscribe.py 從 IBM Bluemix 取得溫濕度資料
7 raspberryPi_dht_MCS_API.py 將溫濕度資料透過 API 傳送到 MCS
8 raspberryPi_dht_MCS_MQTT.py 將溫濕度資料透過 MQTT 傳送到 MCS
9 raspberryPi_dht_ThingSpeak.py 將溫濕度資料傳送到 ThingSpeak
10 raspberryPi_dht_WoTCity.py 將溫濕度資料傳送到 WoT.City
11 raspberryPi_dht_lcd.py 將溫濕度資料顯示於 LCD
12 /Script/install.sh 前置安裝作業
13 /Package/grove_rgb_lcd.py Grove RGB LCD Library
14 /Package/grovepi.py Grove Pi Library

【 Board and Sensor 】

【 Integrated Development Environment - IDE 】

【 Service 】

【 Reference 】

【 Tools 】

  • Windows 作業系統

  • macOS 作業系統

    • 登入(本地端到 Raspberry Pi 端)- 終端機
      • 登入(在本地端電腦的終端機執行) ➙ ssh root@Raspberry Pi 的IP
    • 傳送檔案(本地端到 Raspberry Pi 端)- 終端機
      • 傳送檔案(在本地端電腦的終端機執行) ➙ scp 在電腦中的檔案位置 root@Raspberry Pi 的IP:要傳送到 Raspberry Pi 中的位置

【 Execute 】

  • 執行 Python Code
$ python Python-Name-Here.py
  • 執行 Shell Script
$ sh Script-Name-Here.sh 或 ./Script-Name-Here.sh

【 JSON Tools 】

【 Troubleshooting 】

  • 當登入時發生 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! 錯誤
    • 於終端機輸入 ssh-keygen -R IP位置
    • 再重新 Login

【 Blog 】

【 License 】

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published