Résumé du contenu de la page N° 1
U se r 's G u i d e
User's Guide
ZigBee Sensor Monitor
SWRU157D
2008 Low-Power RF
Résumé du contenu de la page N° 2
Résumé du contenu de la page N° 3
Contents ZIGBEE SENSOR MONITOR................................................................................................................... 1 1. INTRODUCTION ............................................................................................................................... 2 1.1. CC2530ZDK................................................................................................................................. 2 1.2. EZ430-RF2480...................................
Résumé du contenu de la page N° 4
1. Introduction 1 ZigBee Sensor Monitor (or ZSensorMonitor ) is a PC application that will be used to monitor the sensors in a ZigBee Network. ZSensorMonitor can be used together with either the CC2530ZDK or an eZ430-RF2480 kit. The network is formed when setting up the basic out of the box demo included either of the kits. In the case of eZ430-RF2480 this includes the ZigBee Accelerator Sample Application. This document will only describe the user interface of the ZSensorDemo PC
Résumé du contenu de la page N° 5
2. Installation The installation of ZSensorMonitor is very straight forward. Download the zip file from internet and unzip the setup file. Double click on the setup file and follow the instructions. 3. eZ430-RF2480 Driver Installation This section is only relevant if the eZ430-RF2480 kit platform is used. Note: When using eZ430-RF2480 the PC application should be installed before the eZ430-RF2480 dongle is connected to the PC. This is to be sure that the required files for the dri
Résumé du contenu de la page N° 6
Select “Install the software automatically” and click next. If the IAR kickstart for MSP430 has been installed before this application, it might be that this dialog will pop up and ask the user to select one of the two inf files. Both inf files are equal and it doesn’t matter which one that is selected. Either should work fine. The installation will start without any further selections. 4
Résumé du contenu de la page N° 7
If this warning appears, the option “Continue Anyway” must be selected in order to install the driver. This dialog will be shown when everything has been successfully installed. Click Finish to close the wizard. 5
Résumé du contenu de la page N° 8
3.2. Windows Vista The first time the USB dongle (sink) is connected to the PC, the new HW is detected and the system will ask to install driver software. Select “Locate and install driver software”. Select “I don’t have the disc. Show me other options.” Select “Browse my computer for driver software.” 6
Résumé du contenu de la page N° 9
The required “inf” file will be installed together with the application. Browse to the directory of the application and select the sub directory “Drivers”. Click Next to continue. Select “Install this driver software anyway” At the end the software should be successfully installed. Click Close to end the installation. 7
Résumé du contenu de la page N° 10
4. User Interface The user interface is developed to be as simple as possible with only a few buttons and input fields. When the eZ430-RF2480 dongle is connected to the PC, the application will search for an applicable COM port and start reading if a connection is successfully established. Below is a screenshot showing a ZigBee Coordinator, Routers and End Devices where the Coordinator is operating as a data Sink and all remaining devices are operating as data Sources. 8
Résumé du contenu de la page N° 11
4.1. Toolbar Drop down list with all the available COM ports Stop capturing data from Refresh list of serial the serial COM port COM ports Pause capturing data from Start logging to the serial COM port file Open log file for playback Start capturing data from the serial COM port Start playback of log file Configuration Open application user manual About information The list of available COM ports will automatically be updated when the eZ430-RF2480 dongle is connected or disconn
Résumé du contenu de la page N° 12
4.3. Data logging and playback It is possible to capture the data traffic on the serial port to a log file for debugging and playback purposes. The log file is pure ASCII text which displays a time-stamp and the raw data in hexadecimal format. Data logging is started by clicking the button . The user will then be requested to provide a file using the standard “File Save” dialog. The log file shown below is a sample ZigBee PRO log file included in the distribution as “ZSensorMonitor_pro.l
Résumé du contenu de la page N° 13
4.4. Help The User’s Manual is a file which opens when the “help” button is clicked. The “About” button can be clicked to obtain information about the application. 4.5. Configuration Click on the “Configuration” button and the settings dialog will appear. 11
Résumé du contenu de la page N° 14
Temperature unit Celsius or Fahrenheit can be selected. Time interval The timestamp of each node will be checked regularly to see if any message has been received within the given time interval. If the elapsed time is longer than specified, the Node will be removed from the screen. 12
Résumé du contenu de la page N° 15
4.6. Network View The PC demo will always display one node on the top of the screen, the Sink. Below the Sink the presence of additional network nodes will be displayed as they are detected. Be aware that nodes may place themselves on top of existing nodes when they first appear, but can easily be dragged away with the mouse. The various states of the nodes are described below. Sink node not connected to the PC. An attempt to read from the COM port has been made, but no res
Résumé du contenu de la page N° 16
voltage and a timestamp from when the last message was received from this node. The source node will blink each time a message is received by the connected Sink node. The role of each node is also indicated if the mouse is held over the node for more than a second. The nodes are connected with arrows to show the relationship between parent and child 3 nodes based on the CSKIP addressing scheme. This relationship is with respect to addressing, and does not necessarily reflect th
Résumé du contenu de la page N° 17
5. Troubleshooting 5.1. Incorrect temperature values If the temperature is much different from the expected value, this is because the temperature sensor is not calibrated. 5.2. Status of the connected dongle NB! This section only applies to the eZ430-RF2480. It is possible for the status of the connected dongle to get out of synchronization if the dongle gets disconnected and connected rapidly without any delay in between. In this case the start/stop capturing data should be used man
Résumé du contenu de la page N° 18
The serial COM port. The composite device When the eZ430-RF2480 is removed, these device drivers should disappear from the view in the Device Manager. If they don’t disappear, a restart of the PC will be necessary. Check that the “MSP430” device is available in the drop down list of available COM ports. 16
Résumé du contenu de la page N° 19
5.6. Not able to start the application If an error message about missing the msvcp80.dll is received, or the error message shown below appears when attempting to start the application, you may be required to install an additional package from Microsoft. The package contains some additional runtime components needed by applications developed with Visual C++. To resolve this problem, install the package by running the file vcredist_x86.exe file found in the folder \vcredist of the Z
Résumé du contenu de la page N° 20
Document History Revision Date Description/Changes swru157 08/03/2008 Initial release. • Added logging and playback • Changed document name • Added support for CC2530 Z- swru157a 08/05/2009 Stack Sensor Demo • Added status bar swru157d 25/08/2009 Changed document title 18