Checking Zigbee network What to do if the system is not working…

Slides:



Advertisements
Similar presentations
Hardware and Python Steve Granda. Why would I want to do this? You want to make something interactive. You want to recreate sputnik. You want to measure.
Advertisements

Jason Howard. Agenda I. How to download robotc II. What is tele-op used for? III. How to build a basic tele-op program IV. Getting the robot to drive.
Chapter Programming in C
Lab7: Introduction to Arduino
How to use Arduino By: Andrew Hoffmaster.
Software Engineering for Digital Home 單元 2 :軟體處理程序與需求分析 2-3 需求工程處理程序 Presenter: Away.
:Word Morphing ★★☆☆☆ 題組: Problem Set Archive with Online Judge 題號: 10508:word morphing 解題者:楊家豪 解題日期: 2006 年 5 月 21 日 題意: 第一行給你兩個正整數, 第一個代表下面會出現幾個字串,
SIP Mobiity TA: 洪敏書
Self proxy signature scheme IJCSNS International Journal of Computer Science and Network Security,VOL.7 No.2,Februry 2007 Author:Young-seol Kim,Jik Hyun.
Interrupts What is an interrupt? What does an interrupt do to the “flow of control” Interrupts used to overlap computation & I/O – Examples would be console.
: Fast and Easy Data Compressor ★★☆☆☆ 題組: Problem Set Archive with Online Judge 題號: 10043: Fast and Easy Data Compressor 解題者:葉貫中 解題日期: 2007 年 3.
Spring EE 316 Computer Engineering Junior Lab LCD modules, PROMs, Serial Ports.
: Little Red Riding Hood ★★★☆☆ 題組: Contest Volumes Archive with Online Judge 題號: 11067: Little Red Riding Hood 解題者:陳明凱 解題日期: 2008 年 3 月 14 日 題意:
校外使用圖書館購置之資料庫 龍華大學圖書館. 讀者遠端認證 (RPA) 設定說明  透過圖書館架設完成的 RPA (Remote Patron Authentication) 讀者遠端認證代理主 機系統,讀者於校外或院外 可直接連線使 用本館所提供的資料庫。  若非使用本館電子資料,請勿設定此代理.
Network Analyzer For Ethereal. 基本設備 Hardware pc network card can connect INTERNET Software OS Winpcap Ethereal.
A Framework for Patient Monitoring A. L. Praveen Aroul, William Walker, Dinesh Bhatia Department of Electrical Engineering University of Texas at Dallas.
Teacher : Ing-Jer Huang TA : Chien-Hung Chen 2015/6/30 Course Embedded Systems : Principles and Implementations Weekly Preview Question CH7.1~CH /12/26.
Jirasak Raksachum Prince of Songkla University.  XBee ?  Specifications of the XBee®/XBee ‐ PRO®  Pin Signals  Serial Communications  ZigBee & Network.
CCNA 2 v3.1 Module 2.
ZIGBEE Network Introduction Integrated with Zigbee or Bluetooth products Operation voltage : DC 7V ~ 40V. RS232 Interface Meets or Exceeds TIA/EIA-232-F.
RM2C Understanding Connections on the Robot Control Board (RCB).
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
Baseboard Aavikkomursu 7.2. Aavikkomursu Micro- controller Extension port for programming microcontroller and sensor input Resistor RS485 interface chip.
[Westlake] SOP of Image Download
Home Certification Webinar
High Speed Data Converter University
Architectures and Applications for Wireless Sensor Networks ( ) Sensor Node Programming II (UART and Radio) Chaiporn Jaikaeo
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 9 Basic Router Troubleshooting.
“Describe the overview of hardware interfacing and the serial communication interface. Describe the PIC18 connections to RS232. Explain the serial port.
INTERFACING WEB SERVER WITH A ROBOT
Installation Walk-Through Step 1 – Download the Installation Files
ECE 455 Dan Brown Cody Lynn Android Controlled Relay Box.
RPL: IPv6 Routing Protocol for Low power and Lossy Networks
數位系統實驗 Experiment on Digital System Lab06: Verilog HDL and FPGA (2) 負責助教:葉俊顯 stanley.
1 | INALA TECHNOLOGIES ECS-L TESTING : VERSION 1.0.
Front-end Product Training Program –Speed Dome. Table of Contents  Speed dome classification  Speed dome basic information  FAQ  Upgrade.
The Routing Table Last Update Copyright Kenneth M. Chipps Ph.D.
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
EE 316 Computer Engineering Junior Lab Serial Ports, LCD Displays & PROMs.
Programming Software and Setting. if forget the IP address of SB-DN-1IP, programmer can press the reset button till the led goes red, then it is reset.
Relative Clause 關係從句 Miss Cheng (Olivia). 常用的 Relative Pronoun 關係代名詞 Who ( 人 ) That ( 事物 ) Which ( 事物 ) Where ( 地方 ) Whose ( 擁有 / 誰的 …)
PHY 201 (Blum)1 Microcode Source: Digital Computer Electronics (Malvino and Brown)
Lab 4 ZigBee & with PICDEM Z Boards 55:088 Spring 2006.
Getting Started With the Arduino Uno
HDL-MGSM.431. Description MGSM.431 is an automation module based on GSM monitoring and controlling. Being at a great distance you can operate a target.
Quick guide to ASIMON configuration For version 3.0 or greater SAFETY AT WORK Date: 3/18/2009.
Programming Software and Setting. Default IP Add : , also can be changed via Programming Software, if forget IP address, Programmer can.
Programming - Motion Intro to Robotics. Motors and Sensors Setup The first thing we need to do is tell ROBOTC that we have motors on our robot. Choose.
EL4060 智慧行動裝置控制應用實習 Smart Mobile Device Control Application Laboratory 數位家庭整合應用平台介紹與應用 Presenter : Che-Hao Chang 助教:張哲豪 1.
1. PIC ADC  PIC18F877 has 8 analog input channels i.e. port A pins(RA0 to RA5) and port E pins(RE1 and RE2). These pins are used as Analog input pins.
Voice Controlled Robot by Cell Phone with Android App
Motor board Rework Andre Pool Confidential
Do-more Technical Training
RS-232 Communications.
SMS module HDL-MGSM.431.
Vinculum II Development Modules
Why Won’t My Arduino Work?
Chapter 1: Getting Started
SERIAL PORT PROGRAMMING
Configuring EtherChannels and Switch Troubleshooting
Zigbee Networks Using Xbee Modules
Low Power Wireless Personal Area Network (LP-WPAN)
Serial Communication Interface
Intro to Micro Controllers
CHAPTER SERIAL PORT PROGRAMMING. Basics of Serial Communication Computers transfer data in two ways: ◦ Parallel  Often 8 or more lines (wire.
Arduino Leonardo Setup
Introduction to Arduino
PIC Serial Port Interfacing
PIC Serial Port Interfacing
Presentation transcript:

Checking Zigbee network What to do if the system is not working…

Basic system structure UART Zigbee

當 zigbee 的系統出現問題時, 必須步一步把 東西拆開來驗證 在 arduino 上驗證 sensor 是否正確, arduino 是 否有把資料正確的從 uart 輸出 … 這裡我們要說明如何確認 zigbee 網路有正確 的工作

Item needed We need to connect zigbee to PC, and use terminal to check the network. – USB to 5V UART here we use a FTDI one – Terminal: here we use docklight 1.9 Free version can be down load here:

Connection between 5V FTDI and kittyBee Connect : GND to brown 5V to read orange to FTDI TXD yellow to FTDI RXD

Connecting brown to GND on kittybee Here we use to GND pin on cc debugger header. You can use also the other GND pins on headers.

Connecting Red to 5V power We use 5V from FTDI and connect to power source as pic. Please notice the pin position, only low 2 pins are usable for power input on kittybee

Connecting UART Connect FTDI TXD(orange) to Z_RX_5V FTDI RXD(yellow) to Z_TX_5V Do not connect any 5V signal to 3.3V signal of zigbee, it could damage zigbee chip.

Plug in FTDI Plug in your FTDI into USB, it should appear in hardware manager as a USB Serial Port (In this case COM115)

We first plug in the Coordinator

Docklight operation Basic docklight operation and set up can be found here: UpSimpleZigBeeNetwork UpSimpleZigBeeNetwork

Start up docklight, and press start, we should first send the FE 00 01, ping node command to see the status of module. Detail of command set can be found in another document. 2013/6/17 11:38: [TX] - FE /6/17 11:38: [RX] - FE F 6C 69 CB B FF FF A Here we can check the PAN ID (FF)and channel ( )of coordinator. And check the byte before checksum(8A in this case). 00 = coordinator 01 = router in connection 02= end device in connection 05= router or end device not connected to network. FF FF is a special PANID TI zigbee pro stack, it’s better to avoid it. We can use FE 00 F2 to change PAN ID

Example of changing PANID Here are few example command to change PANID: 1.Chage to FE 00 F F1 2.Chagne to FE 00 F F2 3.Change to FE 00 F F3 For example change to /6/17 11:51: [TX] - FE 00 F F1 2013/6/17 11:51: [RX] - FE 10 F2 02 4F 4B E4 if module return 4F 4B, which are OK in ASCII, the panID has been changed. We can verify with command: 2013/6/17 11:53: [TX] - FE /6/17 11:53: [RX] - FE F 6C 69 CB B B Please note that the PAN ID high low byte is reversed in command

Who has been connected? Since coordinator remember connected children,We can use FE command to see who has been connected: 2013/6/17 11:55: [TX] - FE /6/17 11:55: [RX] - FE AB 34 DC 48 BF The byte after indicate how many devices has been connected to this coordinator and followed by their short address. In this case, there has been 03 device connected, their short address are : AB34, DC48 and BF20. Note: short address is the base of a zigbee network, every one in the network has unique short address. Coordinator has always as short address. If the return of coordinator is correct on and 00 13, we assume the coordinator is working correctly.

Plug in the child Connection as same as we did for coordinator. Open another docklight terminal to connect device.

Com port are different, we can use FE command to see which one is coordinator and which one is end device. Make sure they are on the same channel and have the same PAN ID. And if it shows 05 in the return of end device, it means the device is not connected.

To check if device is connected FE is used to get the short address of the device, compare to the short address in the child list of coordinator, we can tell if the device has been connected to coordinator. From coordinator 2013/6/17 12:08: [TX] - FE /6/17 12:08: [RX] - FE AB 34 DC 48 BF From device: 2013/6/17 12:10: [TX] - FE /6/17 12:10: [RX] - FE BF 20 88

Passing data By default, we can broadcast data from coordinator, and also feedback data from device to coordinator. We should test if data is passing correctly by simply input data through terminal. For example we sent: 2013/6/17 12:18: [TX] we should see out put from device:

Trouble shoot There several possibilities that device lost connection, we can know it from the last byte of FE return, or the short address in the child list. The easiest way is to issue FE 00 02,network reset command to device, and try to get it connect to network. When sending command, module will not return anything, it will erase previous network data, and reset, and start to find correct network to join. So we should check the module with FE few seconds after FE 00 02

example 2013/6/17 12:28: [TX] - FE /6/17 12:29: [TX] - FE /6/17 12:29: [RX] - FE F CB B Re join network would require few seconds, sometimes, the cause of connection problem is not at device side, so we can slso issue a FE on coordinator side to reset the whole network.

Still not working… If FE can’t save the networking, and the PAN ID, channel are all correct, power on/off the module is also worth a try. If none are working, re load zigbee firmware is often the next step.