[ Setup A ZigBee Network ]
Case 1 : Point to Point For a P2P , you can just simply use 802.15.4 . For this case , the modem type could be : XB24 or XBP24 And the key point to setup a P2P communication is ,
1. Baud Rate should match each other
2. PAN ID 3. Channel The default MY Address , DH , and DL are 0 , so it will send signal to an XBee with MY Address is 0 base on DH and DL. If the other one set the DH and DL = 0 , then it will send signal to this XBee too. When set DL=0xFFFF , this XBee enters a broadcast mode ( point to multi-point ). It will send signal to each XBee with the same channel and all the addresses. The default Baud Rate is 3 - 9600. You can change it to 115200. After modifying this parameter , you should remember to change the Baud Rate in TAB : PC Settings too. Else , you won't be able to use X-CTU talk to this XBee since the baud rate does not match each other after modification. The detailed example can also be found here : http://ladyada.net/make/xbee/arduino.html Case 2 : ZigBee Network For setup a ZigBee Network , it needs XB24-XXX or XBP24-XXX , such as XB24-B and XBP24-ZB. And it must has at least two function sets , one for Coordinator and the other for Router. In other words , a ZigBee network consists at least two XBee , one should set to Coordinator , and the other set to Router. You can do this by using X-CTU. Below is the tutorial for setting up this kind of network communication. [ Example - Configure a ZigBee Network ] For an easy way to use ZigBee Network , use X-CTU and follow these procedures :
For a correct setting of a ZigBee Network , the following parameters must be set
This configuration be called "AT Command Mode" or "Transparent Mode". There is another configuration be called API Mode. Check this out for API Mode. API_Mode After done everything described above , then connect these two XBee on your PC. Open the X-CTU , go to TAB Range Test and click on "Start" button. You should see the test is working now after they make connection automatically. |
2013年4月24日 星期三
Setup A ZigBee Network
訂閱:
張貼留言 (Atom)
Messaging API作為替代方案
LINE超好用功能要沒了!LINE Notify明年3月底終止服務,有什麼替代方案? LINE Notify將於2025年3月31日結束服務,官方建議改用Messaging API作為替代方案。 //CHANNEL_ACCESS_TOKEN = 'Messaging ...
-
python pip 不是内部或外部命令 -- 解決方法 要安裝 Pyqt5 1. 首先,開啟命令提示字元。 2. 輸入 pip3 install pyqt5 好像不能執行 ! ! 錯誤顯示 : ‘ pip3 ’ 不是內部或外部命令、可執行的程式或批...
-
課程講義 下載 11/20 1) PPT 下載 + 程式下載 http://www.mediafire.com/file/cru4py7e8pptfda/106%E5%8B%A4%E7%9B%8A2-1.rar 11/27 2) PPT 下載...
-
• 認 識 PreFix、InFix、PostFix PreFix(前序式):* + 1 2 + 3 4 InFix(中序式): (1+2)*(3+4) PostFix(後序式):1 2 + 3 4 + * 後 序式的運算 例如: 運算時由 後序式的...
沒有留言:
張貼留言