iT邦幫忙

0

IoT Project ( Flutter + Python + ZigBee ) 冒險闖關記 -- Part 1

這次做 project , divide & conquer 的 方法 , 讓自己更快完成.

先給大家看project demo 影片 : https://youtu.be/5JIBnevVR5Y

  • ZigBee 介紹 :
    • 提供了低耗能跟無線連接的功能

    • ZigBee 網路組成包含了3個東西 ( co-ordinator , router , end device )

      • co-ordinator : ZigBee網路剛成形的第一個點,可以讓其他點加入網路
        • 1個ZigBee網路只能有一個co-ordinator
      • router : routing, permit join, extending network
        • 1個ZigBee可以有多個router
      • end device : only send/receive message
    • ZigBee wireless radio frquency : ( 868, 915, 2400 MHz)

      • 這次project是 ZigBee pro 用的是 2400 MHz
        • 2400 MHz ( 2400 - 2483.5 ) 間分成 16 個 channel
    • ZigBee Highly reliable operation : (ZigBee & IEEE 802.15.4 確保可靠傳輸)

      • Data coding : 2400MHz uses QPSK
      • Listen Before Send : channel 沒有傳輸時才會送data
      • Ackknowledgements : end-to-end, next hop
      • Frequency Agility : 一開始建立網路時會自動選擇最好的channel
      • Route Repair : when route is down choose alternative route
      • 在同個 radio Frequency 能有多個 ZigBee 網路,互不干擾
    • ZigBee cluster :

      • defined by parameters that relate to specific functionality
      • 這次用到的 cluster :
        • Cluster ID : 0x0400 illuminance measurement 亮度
        • Cluster ID : 0x0402 temperature measurement 溫度

project 計劃概覽圖
https://ithelp.ithome.com.tw/upload/images/20200716/20116751hVwo11aR25.jpg

完成 phase 1 總共花6天, ZigBee 3天 + flutter 3天
Next blog post : python to firestore


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言