Home
MoteView Users Manual
Contents
1. K Connect to WSN Hag Mode Gatewav Database Sensor Board LG 1 Select Operation Mode AGE Acquire Live Data View Historical Data Gu Gateway 2 Select Acquisition Type Local Database Remote Custom 2 In the Gateway tab specify the Interface Board type Port Host Name etc as described below 1 If using a MIBS10 in the Gateway tab make sure that the MIB510 s COM is set to the correct port number and that the baud rate is 57600 Connect to WSN Wes 3 Select Gateway 2 Mode Interface Board MIB510 T Serial Port COM1 Gateway Baud Rate 57 600 4 d Advanced Server Settings Sensor Board Mode Gateway Database Sensor Board 11 If using MIB520 enter the higher of the 2 COM ports installed by the MIB520 s driver and set the baud rate to 57600 Page 10 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual a Connect to WSN Joby Mode Gateway Database Sensor Board L 3 Select Gateway set Interface Board MIB520 T Serial Port COM11 x Gateway Baud Rate 57 600 x Advanced Server Settings Sensor Board NOTE The MIB520 requires the installation of the FTDI FT2232C drivers Once these drivers are installed the Device Manager Start gt Control Panel gt System gt Hardware will display the MIB3520 as two new virtual com ports Refer to the MPR MIB Series User s
2. MoteView Users Manual Revision A May 2007 PN 7430 0008 05 WWW xbow com 2003 2007 Crossbow Technology Inc All rights reserved Information in this document is subject to change without notice Crossbow MoteWorks IRIS MICA TrueMesh and XMesh are trademarks of Crossbow Technology Inc Other product and trade names are trademarks or registered trademarks of their respective holders Crossb w MoteView User s Manual Table of Contents L BCP OGU COON aiii AA a aE 1 A Wireless Mesh Networkine Overview coran l 2 MOEN NN SN 2 1 3 Supported Sensor Boards and Mote Platforms cccccccoononnncccnnnononononnnnnnnnnnonononononnnnnnnos 2 1 4 Supported Mote Software AppliCati0DS ooocccccncccconononncnncnnnnnonnononnnnnnnnnonnnnannnnnnnnnnnnos 3 2 Msalato ease a Ne 4 2 1 Supported PC Platforms and Operating SysStelQS occcccccnooooncnnnnnnnonnnononnnnnnnnnnnnaninncnnnnnnos 4 2 2 Additional Software Requirements ccccccccccccccccccceesseseeesseeececceeeeeeeeeeseeeeaaaaeesseses 4 A A 5 lid A EEOC ESNEA ENOC EEEN 8 ll Venir Pose SOL msalani a a EEA 8 3 2 Connecting to a Live Sensor Network on your local PC ccccccnoononnncnnnnnccnnnnnnnnnnns 10 3 3 Connecting to a Live Sensor Network on a Remote PC or Stargate ccoooomooommos o 12 JA AUO dEV ry OF NOIES SN 14 35 Mar View ata GAIN CC osne r a r r 14 d Node 15 AM Add NO a a S 16 2 Delete Node dades 16 A Wie NTN 177 NS AA TAGS
3. Sensor Board ias 3 Select Gateway Sensor Board Interface Board Hostname IP 10 1 1 12 Y Port 9001 vi Advanced Server Settings DEL NOTE The Port Username and Password fields are preset to reasonable defaults and should not have to be changed 3 Inthe Sensor Board tab choose the XMesh Application Name that matches the firmware programmed into the Mote from Application Name dropdown Click on Done NOTE If you are unable to view the tables on a remote database verify that the remote PC s firewall accepts connections from your client PC Also check that the pg_hba conf file has valid authentication information and that the postgresql conf file has the following line listen addresses Doc 7430 0008 05 Rev A Page 13 MoteView User s Manual Crossb w 3 4 Auto discovery of Nodes New nodes will also appear in the upper left hand corner of the Topology view These nodes can be dragged to their correct position on the topology map and those placements can be saved to the configuration file in the database 3 5 MoteView at a Glance Mote View has four main user interface sections 1 Toolbar Menus Allows the user to specify actions and initiate command dialogs 2 Node List Shows all known nodes in a deployment and health status summary 3 Visualization Tabs Enables the user to view the sensor data in various ways 4 Server Error Messages Displays a log of serv
4. 6 75 2 6v 93 33 80 216 8 31 2006 1 2 47 35 3 44 36 20 34 893 26v 66 67 80 210 8 31 2006 1 2 23 29 57 39 73 307 6 92 2 6v 86 67 86 67 223 8 31 2006 1 5 03 4 02 48 8 7 19 12 94 2 7v 40 86 67 211 8 31 2006 1 ll gt tr 8 18 2006 12 10 11 AM 8 31 2006 11 57 12 AM Server Messages Error Messages Charts Done Database Localhost Figure 10 1 Sample Node Health Table 10 1 Node Health Packet Definitions The node health table contains the node ID server timestamp and the following fields 10 1 1 Health Packets Health_pkts is the total number of node health and neighbor health packets that have originated at the node after the last reboot This number is displayed in raw units number of packets and Packet ratio of health packets to node packets Page 50 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual 10 1 2 Node Packets Node_pkts is the total number of packets that have originated at the node since the last reboot This number includes all data node health neighbor health and route update packets 10 1 3 Forwarded Packets Forwarded is the total number of packets that the node has forwarded from other nodes This number is displayed in raw units number of packets and Packet ratio of forwarded packets to node packets A large number would indicate network congestion at this node 10 1 4 Dropped Packets Dropped is the total numbe
5. Enter the SMTP Server name of your mail server Specify the User Name and Password of your mail account In Send To field specify the Email address where the alert needs to be sent Enter any optional Message to be sent in the body of the Email Click on OK Page 38 Doc 7430 0008 05 Rev A Crossb w Mote View User s Manual MailConfig JOE Mail Server Information SMTP Server Www xbow com User Name Aer Manager Password Send To lalerts xbow com Message Alert Limits Exceeded attend immediately OK Cancel Test Mail Figure 6 12 Screenshot of the Alert Mail Configuration 6 13 Tools gt MDA Support Mote View allows users to define their own calibration parameters to convert from raw voltage into engineering units for external sensors when connected via MDA series data acquisition boards Users can specify the calibration coefficients for each of the available channels MDA Support interface allows the users to define custom external sensors conversions and associate them with channels on a data acquisition board It is composed of several pieces MDA Board Type MDA100 MDA300 MDA320 or MDA325 MDA500 Sensor Type Configuration name associated with an ADC channel Configuration Name assigned to a particular sensor Units Engineering units associated with a particular configuration conversion Conversion type Third order polynomial look up table or thermistor To create a new ex
6. do the following 1 Click on the System tab on the left side of the Command tab 2 Select the Node ID Check All Nodes to modify the data rate for all nodes in your network 3 Enter a data rate and press Set The minimum data rate supported is 300 ms for high power nodes The default data rate for most high power applications is 2 seconds The default rate for low power application is 3 minutes To obtain the 64 bit unique ID of a Mote do the following 4 Click on the System tab on the left side of the Command tab 5 Select the Node ID Press Get MoteView 2 0 Job File Settings Tools Units Help All Nodes Room 661 Room 662 System LED Conf Room Room 663 Set Data Rate Room 664 Room 665 Room 666 Room_667 Get Unique ID lt T papa 11 14 2005 1 05 06 PM Current Time 11 18 2005 6 12 32 AM Server Messages Error Messages Charts Done Database Localhost Figure 5 2 Screenshot of the System Configuration in the Command Tab Doc 7430 0008 05 Rev A Page 19 MoteView User s Manual Crossb w To change the LED status do the following 1 Click the LED tab on the left side of the Command tab 2 Select the Node ID of your network If changing the system parameters for all nodes check the All Nodes checkbox 3 Select the Red Yellow or Green LED s and check ON To turns the LED On OFF To turns the LED Off TOGGLE To toggle the state of the LED 4 Press SET to send the spe
7. 2 47 voltage V 11 14 2005 1 05 06 PM Current Time 11 18 2005 6 12 32 AM Server Messages Error Messages Database Localhost Figure 5 7 Screenshot of the demo database in Histogram view 5 7 Topology The Topology tab shows a Mote network map with placement and parenting information This allows the user to define and view a topology of their Mote deployment e New nodes will show up in the upper left hand corner Page 24 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual e The user can drag nodes and place them at a new location on the map with a left click of the mouse Node locations are stored in the database and are shared by all users of that database MoteView 2 0 BAX File Settings Tools Units Help o Qu Data Command I Charts Health Histogram Scatterplot Conf Room Room 663 Room 664 Room 665 Room 666 Room_667 i l l I l I l I l I i I l i I i l 1 i i l I I I I l l i I l l i m m gt i 11 14 2005 1 05 06 PM 11 18 2005 6 12 32 AM Server Messages Error Messages Figure 5 8 Screenshot of the demo database in Topology view e A visualization pop up menu will appear when the user right clicks the background bitmap Table 5 2 Items from the visualization pop up menu that appears when right clicking in the map area of the Topology view Visualization Menu Description Add Node Cre
8. a ER Ea e I aa 18 L DN 18 A OIA EE EE EEE EE 19 ND CM e E RAE AA E iio 20 TEN 22 JD SO A 23 O SN 24 TONN 24 Soo ive MO PA BAK MOG sved 29 OI AAA o a r a A aR 30 OW TEEN NN 30 Oo NE NNN 34 Oe FR SELON NNN 34 0 Ple RN NN 35 Doc 7430 0008 05 Rev A Page i MoteView User s Manual Crossb w GD PE Plass 36 FRE NN 36 ol SAM gt Ceneralo si isaiani dia inner iria lion cisne 36 SANN NN 36 609 TR RENN 36 GO TR gt NANO eee 36 6 11 Tools gt Prom Mie sus 37 0 12 Tools S AM 37 6 13 Tools MIDA MP SA 39 O14 Tools gt Reset Pine 43 GU 43 010 Help VM 43 6 17 HP gt SN 43 Gls Help MN 43 Server Error Status NICSSAGES ass 44 Server A CMMMISEF ALON ii ii 45 Database Administration in O AAA ea eaaa ne E eaaa 47 POSTES Odia 47 DAS S O E a A ibi 47 do Database Old dead 49 10 A A RE 50 10 1 Node Health Packet Dennis sad ios 50 Page ii Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual About This Document The following annotations have been used to provide additional information NOTE Note provides additional information about the topic M EXAMPLE Examples are given throughout the manual to help the reader understand the terminology gt IMPORTANT This symbol defines items that have significant meaning to the user 6 WARNING The user should pay particular attention to this symbol It means there is a chance that physical harm could happen to either the person
9. lt mode gt XMDA300 lt freq gt lt mode gt XMDA300p lt freq gt lt mode gt XMDA320 lt freq gt lt mode gt XMDA320 XBW DA325 lt freq gt lt mode gt XMDA500 lt freq gt lt mode gt XMEP410 lt freq gt lt mode gt XMEP510 lt freq gt lt mode gt XMEP SYS 4 If you are not able to receive data you may also need to check the Live check box on the main Mote View screen if it has not been previously checked Use the Server Messages pane at the bottom of your Mote View display to verify that node data is being received by your PC 3 3 Connecting to a Live Sensor Network on a Remote PC or Stargate To connect to a live sensor network on a remote PC requires changes to the database server and gateway settings Page 12 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual 1 Select File gt Connect to WSN from the menu Select the Mode tab check on Acquire Live Data as operation mode and Remote as acquisition type and click on Next gt gt Connect to WSN Joby Mode Gateway Database Sensor Board EA 1 Select Operation Mode are Ce Mode Acquire Live Data O View Historical Data Gateway 2 Select Acquisition Type i Local Database Remote gt Custom Sensor Board 2 In the Gateway tab type the Hostname IP address of the remote server Stargate The Port should default to 9001 Click on Next gt gt Connect to WSN Job Mode Gateway Database
10. or the equipment The following paragraph heading formatting is used in this manual 1 Heading 1 1 1 Heading 2 1 1 1 Heading 3 This document also uses different body text fonts listed in Table 0 1 to help you distinguish between names of files commands to be typed and output coming from the computer Table 0 1 Font types used in this document Courier New Normal Sample code and screen output Courier New Bold Commands to be typed by the user Times New Roman Italic TinyOS files names directory names Franklin Medium Condensed Text labels in GUIs Doc 7430 0008 05 Rev A Page iii Crossb w MoteView User s Manual 1 Introduction 1 1 Wireless Mesh Networking Overview Wireless sensor networks have attracted a wide interest from industry due to their diversity of applications A key to realizing their potential is multi hop mesh networking which enables scalability and reliability A mesh network is a generic name for a class of networked embedded systems that share several characteristics including e Multi Hop the capability of sending messages peer to peer to a base station thereby enabling scalable range extension e Self Configuring capable of network formation without human intervention e Self Healing capable of adding and removing network nodes automatically without having to reset the network and e Dynamic Routing capable of adaptively determining the route based on dynamic network cond
11. radio button in the Isobar Visualization box Users can also specify the Mote Radius as a percentage of bitmap image size 0 0 10 100 for spread of gradient around the node check options for displaying the ScaleBar Legend and drawing the Logo Doc 7430 0008 05 Rev A Page 27 MoteView User s Manual Crossb w Visualization Properties M IsobarStyle 1 Mote Radius None fr Draw Gradient Draw Scale W Draw ScaleBar IY Draw Logo DataSet Sensor Network Topology Company Crossbow Technology Inc Copyright 200 ok Cancel Figure 5 11 Screenshot for Isobar Visualization Dialog Health Visualization Users can specify the time duration after which the link between the nodes goes grey If a packet is not received from any after the specified minutes the link would turn grey Visualization Properties Y Link Quality Decay 5 min Figure 5 12 Screenshot for Link Quality Visualization Dialog Page 28 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual 5 8 Live Historical Playback Mode In order to have MoteView display data from an active sensor network the users must check on the Live checkbox In Live mode MoteView refreshes the node list charts and topology views as packets are received at the base station If Live is unchecked the time bar at the bottom of the visualization tabs will be enabled This allows users to scroll back and forth and view data collected
12. 0 you may get a PostgreSQL 8 0 0 re1 window when installing the database as shown below PostgreSQL 8 0 0 rc1 xi Failed to run initdb 11 Please see the logfile in C Program FilestPostgreSQL 48 0 0 1014tmpinitdb log Note You must read copy this logfile before you click OK or it will be automatically removed Record the exact error message in C Program Files PostgreSQL 8 0 0 rc1 tmp initdb log In most cases you can simply click the OK button and proceed However in other cases you may have to do the following a Uninstall PostgreSQL 8 0 from Start gt Control Panel gt Add or Remove Programs Page 6 Doc 7430 0008 05 Rev A Crossb w Mote View User s Manual b Remove the C Program Files PostgreSQL directory manually through the Windows Explorer utility Start gt Right Click gt Explore c Reinstall Mote View with all checked except the NET Framework 8 Please note that if you receive an MDAC warning such as the one pictured below you may ignore this warning and continue on with the installation The warning is simply notification that your operating system contains an MDAC version that 1s newer than what Mote View is installing This warning can be ignored by clicking on Cancel Installing ee oe ae ml Finish 3 MDAC 2 8 RTM MDAC 2 8 RTM is incompatible with this version of Windows All of l its features are currently part of Windows Pleas To ext click Cancel For more
13. 5 Rev A Page 37 MoteView User s Manual Crossb w oS From the Sensor Name drop down list select a sensor that you want to use to trigger the Alert This automatically updates the Unit column associated with that particular sensor type From Alert Condition drop down list specify an appropriate condition to trigger the Alert yiz lt gt lt gt For Alert Threshold field input numerical value in the text box From Alert Action drop down list chose an action Send Alert Email or Pop up Alert Form From the Alert Interval drop down list specify the interval for the Alert to be sent From Duration drop down list specify the time duration for which the Alert Condition needs to be met before the Alert Action can be triggered E Alerts Manager DEMO Node 23 temp 30 00 Send Alert Email Every Hoar DEMO Node 45 light DD Pop up Alert Form Ever Hour Add Alert Item Delete Alert Item Figure 6 11 Screenshot of the Alert Manager after adding two Alerts To delete an alert select and highlight the item that you wish to delete then click the Delete Alert Item button the selected alert item will be deleted For the Alert manager to send Email the users should first configure the mail settings This can be accomplished as follows l A m e AA Click from Tools gt Alerts gt Alert Mail Configure and that will bring up the dialog box shown in Figure 5 10
14. 6 Under Conversion group box from the Type dropdown select the calibration type i e Polynomial Look Up Table or Thermistor a If you used Polynomial as the conversion type then specify the Coefficient values a b c and d to convert from raw voltage X into engineering units Y as shown in Figure 5 13 a MDA 300 adcO Sensor Configuration JE Available Configurations Current Configuration Nei Cont Name Voltage Units Conversion Type Polynomial Coefficient Value Y a bX cX dX A 2 500 1 000 B C 0 000 D 0 000 Add New Sensor Remove Sensor Figure 6 15 MDA300 Sensor Configuration using the Polynomial Conversion b If you used Look Up Table as the conversion type then input the Voltage readings and corresponding engineering values in the table as shown in Figure 5 14 Users can add or delete a row using the Add Row or Delete Row buttons Doc 7430 0008 05 Rev A Page 41 MoteView User s Manual Crossb w MDA 300 adcO Sensor Configuration Job Available Configurations Current onfiguration Voltage Name Units Conversion Type Look Up Table JE 1 000 1 500 1 750 2 000 2 500 3 000 Add New Sensor Remove Sensor 20 000 30 000 45 000 55 000 65 000 75 000 Add Row Delete Row Figure 6 16 MDA300 Sensor Configuration using the Look Up Table Conversion a If you used Thermistor as the conversion type input the ex
15. 7 51 8 69 3 8 5 09 2 9v 100 93 33 8 31 2006 1 Node 8 14 9 59 09 37 25 3 66 4 09 2 9v 100 93 33 8 31 2006 1 8 07 69 56 24 66 5 78 7 58 25v 86 67 93 33 8 31 2006 1 9 18 79 05 16 34 461 458 27v 100 93 33 8 31 2006 1 Node 10 3 04 26 13 65 98 7 88 6 75 2 6v 93 33 80 8 31 2006 1 Node 11 2 47 353 436 20 34 8 93 2 6v 66 67 80 8 31 2006 1 Node 12 2 23 29 57 39 73 30 7 6 92 26v 86 67 86 67 8 31 2006 1 5 03 44 02 488 7 19 12 94 27v 40 86 67 8 31 2006 1 Node 9 Node 13 Node 14 Node 15 8 18 2006 12 10 11 AM 8 31 2006 11 57 12 AM Server Messages Error Messages Charts Done Database Localhost Figure 5 5 Screenshot of the demo database in Health view Page 22 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual 5 5 Histogram The Histogram tab shows a bar chart that graphically summarizes the statistical distribution of a single sensor data allowing you see its center spread and skewness etc These features provide strong indications of the proper distributional model for the data e A single sensor can be selected from Sensor drop down box for plotting e Up to 24 different Nodes can be selected for plotting by checking on the boxes next to the node list on the left side A different plot color will be used for each node a legend is displayed on the right side of the window e The x axis on the graph shows data in engineering units for the sensor val
16. FOTS 229 25 2 2500 200 200 9 2 2 Display subset of readings Type select field field from lt tablename gt where field condition value The select statement will display results rom the given lt tablename gt The character 1s a wildcard meaning that all columns should be displayed task select result time temp light from surge results where nodeid 1 Pese e E Ke Te AN ocr a de e A AA IS 234 AAA O ZO 232 9 2 3 Rename a table Type ALTER TABLE lt tablename gt RENAME TO lt newname gt 9 2 4 Delete all readings from table Type DELETE FROM lt tablename gt 9 2 5 Deleting specific readings from table To delete all results before the specified date type DELETE FROM lt tablename gt WHERE result time lt 2004 11 20 To delete all results with ADC voltage reading greater than 400 type DELETE FROM lt tablename gt WHERE voltage gt 400 To delete all results from node number 3 type DELETE FROM lt tablename gt WHERE nodeid 3 9 2 6 Delete table entirely Type DROP TABLE lt tablename gt Page 48 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual 9 3 Database Tools PostgreSQL includes tools for offline manipulation of data besides the psql shell The more useful of these are described here These windows command prompt version of these tools are installed to C Program Files PostgreSQL S8 0 0 rc1 bin by default The psql tool is available from the Cygwin command p
17. Manual for details 11 If using a MIB600 select MIB600 from Interface Board dropdown and enter the IP address of the MIB600 in the Hostname text box The Port should default to 10002 Connect to WSN Job Mode Gateway Database Sensor Board L 3 Select Gateway Mode Interface Board MIB600 T Hostname IP 10 1 1 12 vi Gateway Port 10002 vi Advanced Server Settings Sensor Board Once the Gateway settings are complete click on Next gt gt 3 In the Sensor Board tab uncheck the View Alternate Table checkbox and choose the XMesh Application Name that matches the firmware programmed into the Mote from Application Name dropdown Click on Done Doc 7430 0008 05 Rev A Page 11 MoteView User s Manual Crossbgw a Connect to WSN Job Mode Gatewav Database Sensor Board 5 Select Sensor Application Application Name XMTS310 v EE Database Table Name Gateway View Alternate Table 3 Sensor Board If you have an XMesh Application Then choose one of the following pull down choices XMesh application XMTS101_ lt freq gt _ lt mode gt XMTS101 XMTS300 lt freq gt lt mode gt XMTS310_ lt freq gt _ lt mode gt XMTS400 lt freq gt lt mode gt XMT5410 lt freq gt lt mode gt XMTS410 XMT5420 lt freq gt lt mode gt XMTS450 lt freq gt lt mode gt XMT5510 lt freq gt lt mode gt XMDA100 lt freq gt lt mode gt XBW DA100 lt freq gt
18. Table 4 1 Icon properties of the node list E Gray Mote icon No results received E Green Mote icon Fresh results within the last 20 minutes E voss pe wine Results stale by gt 20 minutes E Yellow Mote icon Results stale by gt 40 minutes E Orange Mote icon Results stale by gt 60 minutes be Red Mote icon Results stale by more than a day The time intervals for the node color changes can be edited from the dialog box that appears when you right click on the node and select Health Status Settings Node Health Settings Node Health Settings Results within last Results within last Results within last Results within last Results older than Mo results received Figure 4 1 Screenshot of the Node Health Settings window Doc 7430 0008 05 Rev A Page 15 MoteView User s Manual Crossb w 4 1 Add Node This dialog can be opened by right clicking on the Node List and selecting Add Node This will bring up the Mote Properties dialog for creation of a new node The user can select a unique node ID and name the node at this time a Node Properties Figure 4 2 Screenshot of the Add Node dialog window 4 2 Delete Node Users can delete a node by highlighting a node right clicking on it and selecting Delete Node A warning message would appear requesting confirmation of the delete operation Figure 4 3 Screenshot of the Delete Node dialog window 6 WARNING NOTE The Delete Node operation will p
19. amework The installation files for these components are included on the MoteView installation CD 2 2 1 PostgreSQL All the visualization tools in Mote View require being connected to a database This database can reside on your PC localhost a remote server or a Stargate The size of this database is bound by the storage available on the system gt IMPORTANT The PostgreSQL 8 0 installation requires administrative privileges on the system including the ability to create a new user called postgres for PostgreSQL Page 4 Doc 7430 0008 05 Rev A Crossb w Mote View User s Manual gt IMPORTANT Running the PostgreSQL database service is required if your PC is hosting both the server and client layer functions 2 3 Installation Steps Shut down all the programs running on your computer l 2 3 4 5 Insert the Mote View Support CD into the computer s CD drive Double click on Mote View Setup exe from Mote View folder At the Welcome to the MoteView Setup Wizard window click Next gt Select the desired installation directory then click Next gt 5 Setup MoteView Select Destination Location Where should Mote View be installed CJ Setup will install Mote View into the following folder To continue click Next If you would like to select a different folder click Browse C Program Files Crossbow Mote View At least 0 7 MB of free disk space is required Gas Ce is Se
20. ane ne 0 e lt sf hostname port gt lt fsf hostname port gt lt device dev gt lt port num gt lt baud num gt lt platform plt gt lt debug level gt lt configfiles filename filename gt lt loadparsers filename filename gt lt loaddatasinks filename filename gt lt heartbeat lt num missed gt Es display help help E raw display of tos packets raw a SC Meise lay On BOs pa koks as cual P parsed display of tos packets parsed aC converted display of tos packets conveted E raw tos packets xported to file export raw SO parsed tos packets exported to file export parsed SKE converted tos packets exported to file export converted Selo parsed tos packets exported to db database parsed dbserver database server name default localhost ALO database server port number default 5432 dbname database name default MoteView db dbuser database user default MoteView user dbpasswd database user password default MoteView user password SA parsed tos packets exported to db deprecated database parsed gt raw tos packets exported to xml xml raw ie parsed tos packets exported to xml xml parsed e converted tos packets exported to xml xml converted xmlfile file name to store exported xml default screen Seige Nene port number to start the xml server SV show version of all modules Doc 7430 0008 05 Rev A Page 45 MoteView User s Manual Cross
21. at different times The time bar interface is supported on the data and topology tabs 1114 2005 1 05 06 PM Current Time 1118 2005 6 1232 Figure 5 13 Screenshot showing a portion of the MoteView window to highlight the Timebar On the right hand side of the time bar are a collection of playback controls Scroll the time bar to a specific time and press the play button to view an animation of the data collected over time Right clicking on these controls will open a settings dialog that allows the user to set the playback interval Doc 7430 0008 05 Rev A Page 29 MoteView User s Manual Crossb w 6 Toolbar Menus The Mote View menu area contains the File Settings Tools Units Help menus and a toolbar providing quick access to some of the more common features of the Mote View application From left to right the toolbar provides buttons for Connect to WSN wizard Program Mote MoteConfig Alerts Manager MDA configuration Export to Spreadsheet Print Print Preview Refresh View MoteView Help Stop XServe Start XServe and checkbox for displaying Live vs historical sensor network data MoteView 2 0 File Settings Tools Units Help lr Hame Figure 6 1 Screenshot showing a portion of the MoteView window to highlight the icon toolbar menu This chapter will describe the features in each of these menu items 6 1 File gt Connect to WSN This will bring up the Connect to WSN wizard which enables th
22. ates a new node at the current mouse location A Mote properties dialog will appear to allow selection of node name and id number Arrange Nodes gt Grid Will automatically arrange all the nodes into a grid layout This is useful when there are a large number of unplaced nodes Visualization Properties Allows the user to visualize temperature gradients or other Mote properties using a specific color pattern MSP Properties Sets the orientation of quadrant 1 relative to image in the topology view and the draw radius of a PIR event Applicable for MSP410 users Load Bitmap Allows users to select a bitmap from their file system to be the background of the map Supported background image formats include bmp gif ico and jog The image will be automatically scaled to fit the available screen space Use Default Bitmap Use the standard grid as the background of the topology view Doc 7430 0008 05 Rev A Page 25 MoteView User s Manual Crossb w The Visualization Properties lets users customize the following Sensor Color Gradient Allows users to specify the minimum and maximum sensor values and associate specific color with it l DN Right click on the Topology bitmap and select Visualization Properties Click on the Sensor tab of the Visualization Properties Select a Sensor type from the drop down list Specify desired Maximum and Minimum sensor values Click on the square colored box next to Maximum Color or Minimu
23. b w Sn display data through web server m export data using modbus spol set server port lt default 9001 gt gt SL connect to unframed serial forwarder SE connect to framed serial forwarder dev ee ICO Mea Lor Serra device det des Ey SO Daud set serial baud rate lt default 57600 gt plattorm seb plattorm default micaz gt values micaZdot micaZ mica telos micaz debug set debug level lt default DBG_WARNING gt alert alert when data values are above below specified ranges daemon run in daemon mode nomoro rUn Wie ONE el SN se Clie Mom die ods contes load xml Configuration files loadparsers load only the listed parsers files from the shar a Jud MN Get ale cullen miles suse JO ce loaddatasinks load only the listed datasinks files from the shared 1p ero ii a trikes ares loaded heartbeat turn on the heartbeat monitor and reset after lt num missed gt OA convert incoming network packets from micaZ headers to mica2 headers and vice versa CONV EOL convert incoming network packets from mica2 headers to micaZ headers and vice versa Ouse node mapping file for unique ids joining the nextwork SOS remate ais able organo ORO NN modes Refer to the XServe User s Manual for more details Page 46 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual 9 Database Administration 9 1 PostgreSQL PostgreSQL is an advanced relational database system inc
24. cified commands to node s in your network 5 Press SET ALL to activate all LEDs simultaneously MoteView 2 0 max Fie Settings Tools Units Help Gateway All Nodes Room 661 Room 662 System Conf Room Room 663 Room 664 O TOGGLE Room 665 Room 666 Room_667 TOGGLE TOGGLE gt lia pr Current Time 11 18 2005 6 12 32 AM Server Messages Error Messages Charts Done Database Localhost Figure 5 3 Screenshot of the LED actuation in the Command Tab 5 3 Chart The Chart tab provides the ability to generate graphs of a sensor reading against time for a set of nodes The following features and constraints apply to the graphs plotted in this view e Up to 3 sensor types can be selected for plotting 1 e 3 different graphs Page 20 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual e Up to 24 different Nodes can be selected for plotting by checking on the boxes next to the node list on the left side A different plot color will be used for each node a legend 1s displayed on the right side of the window e The x axis on the graph shows the date and time e The y axis on the graph shows data in engineering units for the sensor readings Y MoteView 2 0 E File Settings Tools Units Help QU LIVED Data Command Charts Health Histogram Scatterplot Topology Chartt temp v Chart2 light y Chas fone v Room 661 Room 662 Conf Room Room 663 Roo
25. citation voltage external fixed resistance and the Steinhart Hart coefficients as shown in Figure 5 15 Note that the converted temperature is only available in degrees C MDA 300 adcO Sensor Configuration Conversion Coefficient Available Configurations Current Configuration a Name Voltage Units Type Thermistor Value V exc R fixed Add New Sensor Remove Sensor 2 500 10000 000 0 0011253088521 0 0002347118633 0 0000000856653 22 a b n Ry e In Ry rn where Ve Vip t Rip R fixed Figure 6 17 MDA300 Sensor Configuration using the Thermistor Conversion Page 42 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual 7 Click on Done for the new Sensor Configuration to take effect This saved Sensor Configuration will now be available in Sensor dropdown box of Figure 5 11 and can then also be used for other ADC channels 9 Users can remove a particular sensor configuration by highlighting it and then clicking on Remove Sensor 6 14 Tools gt Reset Database This executes a script that will delete all data from the local database and reinitialize it This feature is not supported for remote databases 6 15 Units The units menu allows the user to select their preferred engineering units for a given class of sensor All sensors of that class will convert to the units specified by the user A user may select to view raw data as direct ADC readings i
26. d click on Next gt gt 3 Make sure that the Database tab shows the current database highlighted as localhost and click on Next gt gt a Connect to WSN Job Mode Gatewav Database Sensor Board LS 4 Select Database to view Mode Available Databases Current Database Localhost Server Localhost Database task Port 5432 Ls 3 User Name tele Password tiny Database 3 E S tenor Sensor Board 4 In the Sensor Board tab check on View Alternate Table and select sample_mts310 table from the Database Table Name dropdowns and click on Done Page 8 Doc 7430 0008 05 Rev A Crossb w Mote View User s Manual a Connect to WSN Job Mode Gatewav Database Sensor Board 5 Select Sensor Application Application Name Database Table Name sample mts31d iv mts510_results View Alternate Table node_health sample_mts300 3 sample mts310 sample_nodehealth surge_results Database xbw_da100_results xbw_da325 results w Sensor Board te oe NOTE If the task database is not available or if the table names are empty the PostgreSQL install was not successful Verify that the psglODBC drivers have been installed using the Control Panels gt Add or Remove Programs wizard Verify that the postgres database service has started using the Task Manager If not use the Control Panels gt Administrative Tools gt Services to start the postgres
27. de Interface Board MIB51q x gt MIB510 Serial Port MIB520 MIB600 Baud Rate XServe u Advanced Server Settings Sensor Board Figure 6 3 Gateway Tab of the Connection Wizard Pressing the Advanced Server Settings button opens the Advanced Logging Dialog Doc 7430 0008 05 Rev A Page 31 MoteView User s Manual Crossbgw Advanced Logging Data Logging Options Display Raw Data Display Parsed Data Display Converted Units Log to Database Full Version Information Spawn Separate Shell v Print output to ml File DE Cancel Figure 6 4 Advanced Logging Dialog Window Table 6 1 Description of advanced logging options and the equivalent XServe flag Display Raw Data The raw packet bytes coming into the PC E The raw ADC values displayed as parsed fields e o The incoming data converted to engineering units e Will store raw ADC values to PostgreSQL database Display exact version for all board modules Launches XServe in command line shell The Start XServe and Stop XServe buttons are also provided in the icon toolbar for easy access The Start XServe button will be enabled if XServe is not already running Clicking on Start XServe will initiate XServe as a separate process with the given options The output of XServe will be streamed to the Server Messages pane If Spawn Separate Shell has been selected the Xserve output will be displayed in the Command window as shown in Figur
28. e 6 5 5 CA Program Files Crossbow Mote iew xserve exe MServe Ver Id xserve c v 1 6 2005 03 84 19 23 41 mturon Using params IU AAA l Opening device coml Figure 6 5 Portion of a Command Prompt window that appears once the data logging has started If Log to Database is selected Xserve will output the SQL statements used to insert the contents of each data packet as they arrive Following is an example of the MTS400 and MDA300 SQL Statements XMTS400 XMTS420 Logging Output INSERTA Poes 20 results result time nodeid parent voltage humid humtemp inte rsemacall intersemacal2 intersemacal3 intersemacal4 prtemp press values now IE SS GS TN Me Osis chor Ne SS NES Page 32 Doc 7430 0008 05 Rev A Crossb w Mote View User s Manual XMDA300 Logging Output INSERT into mda300 results result time nodeid parent voltage humid humtemp adc0 de ME NN NE mo IAC Si in SOU GOs SN NN 6 1 3 Database This allows users to configure database settings Saved configurations are stored in the tree view to the left and the current database gets highlighted Clicking on a database name loads those settings into the fields on the right Users can Add Edit or Remove these entries A Connect to WSN Joby Mode Gateway Database Sensor Board LAR 4 Select Database to log to Mode Available Databases Current Database Localhost tanec T 10 1 1 11 id saa Database task SR Port 5432 Use
29. e user to specify the Operation Mode Acquisition Type Gateway Database and Sensor Application This wizard provides 4 different tabs 6 1 1 Mode This allows users to select Operation Mode and Acquisition Type Operation Mode can be e Live Data View data from an active network e Historical Data View logged data Acquisition Type can be e Local The gateway connected directly to the local PC via a MIB board and the database runs on local PC localhost e Remote The gateway will be a Stargate or remote server and the database resides on this remote gateway e Custom The gateway will be a remote server and the database can be either mirrored locally localhost or can reside on another remote server Page 30 Doc 7430 0008 05 Rev A Crossb w a Connect to WSN MoteView User s Manual og Mode Gatewav Database Sensor Board 1 Select Operation Mode Acquire Live Data E View Historical Data Gateway 2 Select Acquisition Type J Local Database Remote gt Custom Sensor Board Figure 6 2 Mode Tab of the Connection Wizard 6 1 2 Gateway This allows users to specify the Gateway and Port settings The available options are MIB510 Serial gateway MIB520 USB gateway MIB600 Ethernet gateway XServe Connection to a remote XServe a Connect to WSN og Mode Gateway Database Sensor Board LS 3 Select Gateway Mo
30. ealth Status Opens the node health settings window described in Section 4 Properties Opens a node properties window for a selected node see Section 4 3 It allows the user to assign a Name and Group of the Mote The Color tab allows the user to select the charting color for the Mote 6 8 1 Spreadsheet Delimiter This feature specified how the spreadsheet file delimited text file separates its data values 3 delimiters are available commas tabs or spaces 6 9 Tools gt Refresh View This will force a visual refresh of all visualization windows in MoteView After clicking on this menu the Nodes list the Chart and Topology views will all update to display the latest information from the sensor network 6 10 Tools gt Add Node This will bring up the Mote Properties dialog which allows the creation of a new node with a user specified Node ID and name see Section 4 1 Page 36 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual 6 11 Tools gt Program Mote This opens a separate application called MoteConfig which allows users to download firmware to a Mote over a gateway and over the air Details are available in the MoteConfig User s Manual 6 12 Tools gt Alerts The Mote View alert manager allows users to define alert conditions based on any sensor data of any sensor node An alert is a user programmable event that gets triggered when sensor data exceeds pre defined threshold An alert is composed of seve
31. er allows you to sort by node ID parent temperature voltage last result time or any other sensor reading Right clicking the column header displays a pop up menu with unit conversions relevant to the sensor Y MoteView 2 0 SAX File Settings Tools Units Help O fs Qe Ea w Y 0 Q ve Nodes Data Command Charts Health Histogram Scatterplot Topology Node Data W Gateway Id 4 voltage accel_x accel y Room 661 Room 662 Conf Room Room 663 Room 664 Room 665 Room 666 Room_667 22 42 mga 26 33 mga 11 18 2005 6 12 25 AM 105 2 mga 104 8 mga 11 18 2005 6 12 02 AM 30 66 mga 30 39 mga 11 18 2005 6 10 46 AM 30 12 mga 30 12 mga 11 18 2005 6 10 19 AM 105 47 mg 105 34 mg 11 18 2005 6 10 33 AM 105 47 mg 105 61 mg 11 18 2005 6 10 08 AM 104 66 mg 104 8 mga 11 18 2005 6 09 51 AM 105 61 mg 105 61 mg 11 18 2005 6 11 06 AM 106 55 mg 106 28 mg 11 18 2005 6 12 32 AM vo 0 Y MM AUNO Ww lt eer gt sal le 11 14 2005 1 05 06 PM 11 18 2005 6 12 32 AM Server Messages Error Messages Charts Done Database Localhost Figure 5 1 Screenshot of a demo database displayed in the Data tab Page 18 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual 5 2 Command The Command tab provides the user with an ability to change different node parameters wirelessly NOTE These commands do not get stored in the EEPROM and hence are volatile To modify the data sample and transmission rate
32. er events and incoming messages Node List Toolbar Menus Visualization Tabs Id a voltage temp light accel x mag x mag y mic Room 661 Room 662 Conf Room Room 663 Room 664 Room 665 Room 666 Room 667 wood sj oom Bb ty hoo pr Lu or KF OC fo fo 8 GMN 22 42 mga 105 2 mga 30 66 mga 30 12 mga 105 47 mg 105 47 mg 104 66 mg 105 61 mg 106 55 mg 25 33 mga 104 8 mga 30 39 mga 30 12 mga 105 34 mg 105 61 mu 104 8 mga 105 61 mg 106 28 mg 200 178 162 448 11 18 2005 6 12 25 AM 11 18 2005 6 12 02 AM 11 18 2005 6 10 46 AM 11 18 2005 6 10 19 AM 11 18 2005 6 10 33 AM 11 18 2005 6 10 08 AM 11 18 2005 6 09 51 AM 11 18 2005 6 11 06 AM 11 18 2005 6 12 32 AM i Y 7 Jou 09 raja 11 14 2005 1 05 06 PM Current Time 11 18 2005 6 12 32 AM Server Messages Error Messages AA Server Messages Database localhost sample_mts310 MIB510 COM1 57600 Figure 3 1 Screenshot of the MoteView GUI More details about these user interfaces and their functional descriptions will be covered in the subsequent chapters Page 14 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual 4 Node List The Node List displays all the known nodes in a deployment This section allows users to configure the visualization settings for the nodes The users can sort the nodes by clicking on the column header The checkbox next to the node IS selects nodes to be plotted in Charts Histogram Scatterplot view
33. ermanently delete all the data associated with the specified node ID from the database Page 16 Doc 7430 0008 05 Rev A Crossb w Mote View User s Manual 4 3 Node Properties This dialog is opened by selecting the Properties menu when right clicking a node in the Topology map or by double clicking a node in the node list This allows the user to assign a Name to the Mote The Color tab allows the user to select the charting color for the Mote NOTE The Sensorboard tab of this dialog is only used to display calibration coefficients for boards that are equipped with an Intersema pressure temperature sensor such as the MTS400 MTS420 and MEP410 f Node Properties General Chart Color Sensorboard Room 662 Saturation 255 Brightness 255 Figure 4 4 Screenshots of the Mote Properties dialog window Doc 7430 0008 05 Rev A Page 17 MoteView User s Manual Crossb w 5 Visualization Tabs Seven visualization tabs Data Command Charts Health Histogram Scatterplot and Topology provide different methods of viewing your sensor data 5 1 Data The Data tab displays the latest sensor readings received for each node in the network see Figure 4 1 for an example from the demo database The columns include node ID server timestamp and sensor values from the sensor board firmware packet The sensor data is automatically converted into standard engineering units Left clicking the column head
34. eze MoteView It is recommended that you exports the data in chunks by specifying the node ID or Time range Export Table to XML exports the contents of the current table in the task database to an XML file Export Active Tab to J PEG exports an image of the current tab view to a JPEG file 6 4 File gt Print Preview The Print Preview screen will display the expected output for the Print command for the active visualization tab The magnifying glass icon allows you to zoom in on the preview The printer icon will immediately print out the page to the default printer Doc 7430 0008 05 Rev A Page 35 MoteView User s Manual Crossb w 6 5 File gt Print This menu items prints the active visualization tab 6 6 File gt Exit This menu option will exit the application and close MoteView MoteView always attempts to save the current configuration when closed and restore that configuration the next time the application is started 6 7 Settings gt General Server Heartbeat The user can select how many heartbeat messages are displayed in the Server Messages window These messages are sent by the XMeshBase firmware at 5 second intervals Toolbar Style The user can choose from Simple Modern and Cartoon style for toolbar display Playback settings The user can set the speed at which historical data is displayed when using the playback controls on the right hand side of the time bar 6 8 Settings gt Node H
35. information click Details Fo nej o Tae 9 When the Setup Wizard has finished it will ask if you want to start Mote View You may start Mote View now but in some cases it may ask you to restart your computer first 10 If you have restarted or at any time after you can start MoteView by double clicking on the MoteView icon or by going to the installation folder the default install folder 1s C Program Files Crossbow Mote View and double clicking on Mote View exe Doc 7430 0008 05 Rev A Page 7 MoteView User s Manual Crossb w 3 Application Quick Start Once a sensor network is running and MoteView is installed on a PC minimal configuration is necessary to start collecting data from the sensor network 3 1 Verify PostgreSQL Installation During the installation of Mote View a static database was included to make it possible to demonstrate Mote Views features without having to be connected to an active sensor network or a remote server database The steps described here also apply to viewing data collected from an active sensor network 1 Click on the Connect to WSN icon gt in the upper left hand corner or select File gt Connect to WSN from the menubar The Connect to WSN Wizard will appear Connect to WSN Joby Mode Gateway Database Sensor Board LG 1 Select Operation Mode Acquire Live Data Mode G View Historical Data L 2 Check on View Historical Data in the Mode tab an
36. itions e g link quality hop count gradient or other metric When combined with battery power management these characteristics allow sensor networks to be long lived easily deployed and resilient to the unpredictable wireless channel With mesh networking the vision of pervasive and fine grained sensing becomes reality A wireless network deployment is composed of the three distinct software tiers e The Client Tier provides the user visualization software and graphical interface for managing the network Crossbow provides free client software called MoteView that bundles software from all three tiers to provide an end to end solution e The Server Tier is an always on facility that handles translation and buffering of data from the wireless network and provides the bridge between the wireless motes and the internet clients XServe and XOtap are server tier applications that can run on a PC or Stargate e The Mote Tier where XMesh resides is the software the runs on the cloud of sensor nodes forming a mesh network The XMesh software provides the networking algorithms required to form a reliable communication backbone connecting all nodes within the mesh cloud to the server Doc 7430 0008 05 Rev A Page 1 MoteView User s Manual Crossbgw MOTE TIER SERVER TIER CLIENT TIER XMesh XSensor Apps Database Logger Visualization Analysis Tools Figure 1 1 Software framework for a wireless sensor network 1 2 MoteView Ove
37. k see Figure 10 1 for an example from the demo database In addition to the node health packet each Mote also transmits a neighbor health packet The latter is logged to the postgreSQL database but is not currently displayed by Mote View 2 MoteView 2 0 oe File Settings Tools Units Help gt s 0e Peas OO QUO meo Nodes 00 Gateway Node 1 Node 2 Node 3 Node 4 Node 5 Node 6 Node 7 Node 8 Node 9 Node 10 Node 11 Node 12 Node 13 Node 14 Node 15 Data Command Charts Health Histogram Scatterplot Topology Node Data Id health_pkt node pkts forwarded dropped retries battery power sur board id quality tx quality mx path cost parent_rssi Time 5 89 25 84 2 82 71 34 84 99 2 6v 0 0 217 8 31 2006 1 7 93 42 93 50 66 64 28 2 5 100 93 33 229 8 31 2006 1 2 84 15 78 70 14 14 08 66 1 28v 100 100 225 8 23 2006 2 0 47 97 54 0 2 46 6 83 2 7v 13 33 93 33 220 8 31 2006 1 5 5 47 53 48 73 3 75 167 27v 46 67 Y 93 33 219 8 31 2006 1 3 46 14 32 60 41 25 27 428 27v 80 100 221 8 31 2006 1 5 63 48 58 31 12 203 3 98 2 6 v 80 93 33 233 8 31 2006 1 10 14 87 51 8 69 3 8 5 09 2 9v 100 93 33 221 8 31 2006 1 14 9 59 09 37 25 3 66 4 09 2 9v 100 93 33 213 8 31 2006 1 8 07 69 56 24 66 5 78 7 58 2 5v 86 67 Y 93 33 208 8 31 2006 1 9 18 79 05 16 34 4 61 4 58 2 7v 100 93 33 222 8 31 2006 11 3 04 26 13 65 98 7 88
38. luded in the MoteView installer The database tables that MoteView accesses can be manipulated directly by advanced users To access the PostgreSQL database from a Cygwin shell type psql h localhost U tele task Below is an example of what you should get as a response to that command Sa sol lo e cios U eee Mio Welcome to psql 7 4 5 the PostgreSQL interactive terminal ves eee aio la For obsecion tems Ade none da So m ndla SOR Soano Nor help om tnwvernal slash commands NG oles een ewes emite oo no exo eee Spano civic ele ce You can also use the psql command line interface in the Windows Command window from the C Program Files PostgreSQL 8 0 0 rc1 bin folder 9 2 SQL SQL is the generic command language used to manipulate databases such as PostgreSQL SQL commands can be typed in directly from the PostgreSQL command shell A list of useful commands follows 9 2 1 Display all readings Type select from lt tablename gt The select statement will display results out from the given lt tablename gt The character is a wildcard meaning that all columns should be displayed Doc 7430 0008 05 Rev A Page 47 MoteView User s Manual Crossb w task select from surge results result time epoch nodeid parent light temp voltage mao MA EGO o A ee oa t t hor hor 2004 07 12 12 47 54 29425 TOI 4 0 Ve ell cee 229 Doe 2555 200 200 2004 07 12 12 48 02 26325 Too 4 0
39. luded with MoteView generate health packets at regular intervals These health packets encapsulate the state of the wireless mesh over time The Health tab displays the latest health packet readings received for each node in the network see Figure 4 1 for an example from the demo database The columns include node ID health packet contents and server timestamp as described in Section 10 1 The sensor data is automatically converted into appropriate units typically in Left clicking the column header allows you to sort by node ID last result time or any other health reading Right clicking the column header displays a pop up menu with conversions relevant to the health field MoteView 2 0 max File Settings Tools Units Help e s 0e paw OY Geo Data Command Charts Health Histogram Scatterplot Topology Node Data Id health_pkt node pkts forwarded dropped retries battery power sur board id quality tk quality mx path cost parent rssi Time Gateway Node 1 5 89 25 84 2 82 71 34 84 99 2 6 v 0 0 8 31 2006 1 Node 2 7 93 42 93 50 66 6 4 2 8 25v 100 93 33 8 31 2006 1 Node 3 2 84 15 78 70 14 14 08 66 1 28v 100 100 8 23 2006 2 ar 0 47 97 54 0 246 6 83 2 7v 13 33 93 33 8 31 2006 1 5 5 47 53 48 73 3 75 167 2 7v 46 67 93 33 8 31 2006 1 Node 5 3 46 14 32 60 41 25 27 428 2 7v 80 100 8 31 2006 1 Node 6 563 48 58 31 12 20 3 3 98 26v 80 93 33 8 31 2006 1 Node 7 10 14 8
40. m 664 Room 665 Room 666 a Room_667 e 12 348 5 i i i i i I 11 14 05 1 05PM 11 15 053 56AM 11 15 056 47PM 11 16 059 39AM 11 17 05 12 304AM 11 17 05 3 21PM 11 18 05 6 12AM 0 i i 11 14 05 1 05PM 11 15 05 3 56AM 11 15 05 6 47PM 11 16 05 9 39AM 11 17 05 12 30AM 11 17 05 3 21PM 11 18 05 6 12AM pA ETA EA 11 14 2005 1 05 06 PM Current Time 11 18 2005 6 12 32 AM Server Messages Error Messages Charts Done Database Localhost Figure 5 4 Screenshot of the demo database in the Chart tab e The user can zoom into and pan through data as instructed in Table 4 2 within each of the graphs independently of each other Table 5 1 How to zoom pan and reset in the Chart Histogram Scatterplot View Icon Desired Action Instructions f To zoom in Click on the Zoom icon Left click and drag a region to zoom into Release the mouse to complete the region selection All To pan through data Click on the Pan icon Y y Left click and drag a point within the chart to the new location Release the mouse button Doc 7430 0008 05 Rev A Page 21 MoteView User s Manual Crossb w ry To undo a zoom pan Click on the Undo icon once for each level of undo e y To zoom out fully Click on the View All icon e Right clicking allows the user to select a fixed x axis range last hour last day last week last month last quarter all data 5 4 Health The pre compiled XMesh applications inc
41. m Color This will bring up another dialog box Move the square marker on to choose the desired color and click OK The Sensor info also lets users display the sensor readings next to the node on the topology map and specify the font for the text 6 Visualization Properties Sensor Select tem v Maximum 1 Color Maximum han st bl Minimum 110 r Sensor info Select Maximum Color Dialog FONT Green E Minimum Color Blue i Draw Sensor Info Hie Saturation 255 Brightness 255 Figure 5 9 Screenshot for Sensor Gradient Visualization Dialog Mote Visualization Users can choose from 3 different display styles for nodes Page 26 None No nodes are displayed BlackDot A black dot is displayed to represent the node MoteGlow A colored circle is displayed along with the node ID The circle s color is based on the current sensor value and the minimum and maximum sensor values specified in the visualization properties Doc 7430 0008 05 Rev A Crossb w Mote View User s Manual Users can also check options for Draw Links between nodes and specifying whether Gateway has a sensor on it for gradient visualization Visualization Properties M MoteStyle l None i BlackDot f MoteGlow W Draw Links Gateway has sensor OK Figure 5 10 Screenshot for Mote Visualization Dialog To view a color gradient superimposed on the topology view select the Draw Gradient
42. nstead of a particular unit The units for a specific sensor can be changed by right clicking on the column header in the data tab 6 16 Help gt User s Manual This menu item opens the MoteView User s Manual 6 17 Help gt Support This menu item opens a browser window to the Crossbow support webpage if your PC is connected to the internet 6 18 Help gt About This displays a splash screen containing MoteView version information Doc 7430 0008 05 Rev A Page 43 MoteView User s Manual Crossb w 7 Server Error Status Messages The Server Messages pane is the bottom section of the Mote View window and displays server side messages error messages and general status messages as Mote View is running Starting xserve xserve s COM1 b 5 7600 4 xmfile m Stream xml amip amiport 3005 XSERVE 2 DE Sid sewe cv 1 6 2 3 2007 02 02 17 45 01 ricapur Exp Waming Converting Windows COM1 device to Cygwin device Using params db parsed eml parsed server port 5001 Opening se al device dev ittyS 57600 Charts Done Database Localhost MIB510 COM1 Figure 7 1 Screenshot showing a portion of the MoteView window to highlight the Server Error and Status Messages The Server Messages tab displays the XServe messages raw converted packets and database insert statements The Error Messages tab displays exceptions errors reported by Mote View software The Status bar at the bottom displays chart query status cur
43. on system and the MEP Mote environmental monitoring system Table 1 3 Page 2 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual Table 1 1 Sensor MTS series and data acquisition boards supported by MoteView and their plug and play compatible Mote platforms Sensor and Data Acquisition Boards Mote Platforms IRIS MICAz MICA2 MICA2DOT y Y MTS101 MTS300 310 Y Y Y MTS410 Y MTS400 MTS420 Y Y Y MTS450 Y Y MTS510 Y MDA100 Y Y Y XBW DA100 Y MDA300 Y Y Y MDA320 Y Y Y XBW DA325 Y MDA500 Y Table 1 2 Mote processor radio MPR platforms supported by MoteView Mote Platforms Model Number s RF Frequency Band s XM2110 2400 MHz to 2483 5 MHz M2110 2400 MHz to 2483 5 MHz MPR2400 2400 MHz to 2483 5 MHz MICA2 MPR400 868 MHz to 870 MHz 903 MHz to 928 MHz MPR410 433 05 to 434 8 MHz MPR420 315 MHz for Japan only MPR600 868 MHz to 870 MHz 903 MHz to 928 MHz MICA2DOT MPR510 868 MHz to 870 MHz 903 MHz to 928 MHz MPR510 433 05 to 434 8 MHz MPR520 315 MHz for Japan only Table 1 3 Sensor integrated MEP MSP platforms supported by MoteView Sensor Integrated Mote Platforms Description of Usage MEP410 Microclimate and ambient light monitoring MEP510 Temperature and humidity monitoring MSP410 Physical security and intrusion detection 1 4 Supported Mote Software Applications XMesh is Crossbow s multi hop mesh networking protocol that has various options including low power listening time synch
44. r ETX Doc 7430 0008 05 Rev A Page 51 MoteView User s Manual Crossb w Path Cost 2 quality_tx quality_rx The lowest possible cost is 4 this mean the node requires one transmission to send its packet to the base station This number is displayed as a parent_path_cost path cost between a node s parent and the base station and as a node path cost path cost between a node and the base station 10 1 11 Parent RSSI Parent_RSSI is the Received Signal Strength Indicator level of a parent s radio Mote View displays the raw counts as signed 2 s complement integers To convert these counts to dBm use the following model MICAz Platform Convert the unsigned raw counts x to a signed integer y Fx lt 127 y x Hx gt I127 v X5256 Convert the signed counts y to RSSI in dBm subtract 45 dBm RSSI y 45 dBm Example Raw Counts 217 Convert to signed integer gt 217 256 39 Calculate RSSI dBm gt 39 45 84 dBm MICA2 Platform Calculate VRSSI raw counts battery voltage 1024 P 51 3 VRSSI 49 2 dBm at 433 MHz P 50 0 VRSSI 45 5 dBm at 868 MHz Page 52 Doc 7430 0008 05 Rev A Crossb w Crossbow Technology Inc 4145 N First Street San Jose CA 95134 Phone 408 965 3300 Fax 408 324 4840
45. r Name tele Password tiny Val e 4 gt Sensor Board Figure 6 6 Database Tab of the Connection Wizard Clicking on Add or Edit buttons bring up the dialog box show in Figure 6 4 al Database Connection DEG Edit Database Server 10 1 1 11 Database task Fort RATI User Name Password Figure 6 7 The Database Server Configuration dialog box Doc 7430 0008 05 Rev A Page 33 MoteView User s Manual Crossb w Specify the following fields Server Can be a hostname or IP address To specify your workstation as a local server enter localhost Database The name of the database defaults to task Port TCP IP port of PostgreSQL database server Defaults to 5432 which is the standard PostgreSQL port User username for database server tele is the default Password password for database server tiny is the default After inputting these five fields above click the OK button to attempt to connect to the specified database 6 1 4 Sensor Board This allows users to specify the sensor application type that 1s programmed into the Motes or the table name in the database to connect to a Connect to WSN Job Mode Gatewav Database Sensor Board LA 5 Select Sensor Application Mode Application Name XMTS310 p T Database Table Name Gateway C View Alternate Table Sensor Board 4 Figure 6 8 Sensor Board Tab of the Connection Wi
46. r of packets that the node has dropped Packets are considered to have been dropped when 1 packets has been retransmitted 8 times without receiving the link level acknowledgement This number is displayed in raw units number of packets and Packet ratio of health packets to node packets 10 1 5 Retries Retries is the total number of retransmissions that the node had to make due to the fact that the node did receive a link level acknowledgement 10 1 6 Battery Voltage Battery 1s a measure of the battery voltage available to the Mote 10 1 7 Power Sum This measurement is not currently supported by the XMesh firmware This value will always be O 10 1 8 Board ID Board id indicates which sensor board is attached to the Mote 10 1 9 Quality Quality tx and quality rx are estimates of the link level quality that takes packet collisions into account Quality 1 Number of transmissions In raw units this is expressed as a number from 0 15 which corresponds to a quality of 0 100 Quality_tx is the link level quality from the node to its parent Quality_rx is the link level quality from the parent to a node 10 1 10 Path Cost Path Cost is an estimate of the number of transmissions required to send a packet from a node to its base It takes into account the number of hops and the number of retransmissions per hop that is necessary for a node to send its packet to the base station Path Cost 4 Estimated Transmission Numbe
47. ral pieces I Alert ID A sequential number to identify the alert 2 Node Name the node whose conditions can trigger an alert 3 Sensor Name the sensor whose readings can trigger an alert 4 Alert Condition the comparison operation to decide when an alert should be triggered e Equals e Exceeds e Below e Exceeds or Equals e Below or Equals Alert Threshold the value to compare the alert condition against Unit the unit for the alert threshold 7 Alert Action the operation to perform in response to a triggered alert e Display a message dialog and console message e Send an email allows text paging a mobile phone Alert Interval specify the interval for the action to be taken 9 Alert Duration specify the time interval of the alert condition before the alert should be triggered ad Sig To set an Alert follow these steps below 1 Chose from Tools gt Alerts gt Alert Manager and click the button Add New Alert Item This operation will add a blank alert item to the list with Alert ID I as shown in Figure 5 8 Alerts Manager Node Name Alert Threshold 1 gt Gateway PS DEMO Node 23 DEMO Node 25 DEMO Node 26 DEMO Node 33 DEMO Node 37 DEMO Node 43 Add Alert Item Delete Alert Item OK Cancel Figure 6 10 Screenshot of the Alert Manager 2 From the Node Name drop down list select a node that is currently a part of your deployment Doc 7430 0008 0
48. rent database and gateway settings in a plain view e On the left hand side it displays the Charts query Loading or Done e At the center it displays the Database and table name e On the right hand side it displays the gateway type and port settings Page 44 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual 8 Server Administration XServe is a powerful packet parsing and data logging server preinstalled by MoteView A user may run XServe from a Cygwin shell included in the MoteWorks CD NOTE To use the command line interface for XServe you must have the Cygwin shell installed on your PC Instructions for installing Cygwin from MoteWorks InstallShield Wizard are detailed in the MoteWorks Getting Started Guide For proper operation the cygwin1 d11 library in the Mote View installation directory must exactly match the cygwin1 d11 library in the user s cygwin bin directory MoteView starts XServe when a logging session is started as described in sections 3 2 and 5 1 1 To understand how XServe can be used from a Cygwin shell type xserve to display the command line options Usage ts ecuestre e coi dan oy gt cage ler lt l tablename gt lt dbserver servername gt lt dbport portnum gt lt dbname database name gt lt dbuser username gt lt dbpasswd password gt lt 1 patr hi hostnane porten Cc Onr ke rele lt m com baud protocol slaveaddress defaultregistervaluesas gt meer en
49. rompt as well 9 3 1 PostgreSQL Export To output the entire task database to a file e g my_database out pg_dump h localhost U tele f my_database out task To save the contents of mts400_results table to a file of SQL commands named mts400data out pg_dump h localhost U tele t mts400 results f mts400data out task NOTE Exporting a database table or the entire database can also be performed by selecting the following from the MoteView menu bar File gt Export gt Export Database to SQL File gt Export gt Export Table to SQL NOTE A database table can be exported to a spreadsheet file tab comma or space delimited or XML file by selecting the following from the MoteView menu bar File gt Export gt Export Table to Spreadsheet File gt Export gt Export Table to XML 9 3 2 PostgreSQL Import To load files from a PostgreSQL exported table use the following command psql task lt surge out NOTE Importing previously exported SQL files can also be performed by selecting the following from the MoteView menu bar File gt Import gt Import from SQL Doc 7430 0008 05 Rev A Page 49 MoteView User s Manual Crossb w 10 Health Packets The pre compiled XMesh applications included with MoteView generate health packets at regular intervals These health packets encapsulate the state of the wireless mesh over time The Health tab displays the latest health packet readings received for each node in the networ
50. ronization sleep modes any to base and base to any routing All of our sensor and data acquisition boards are supported with XMesh enabled applications Refer to the MoteConfig User s Manual for details Doc 7430 0008 05 Rev A Page 3 MoteView User s Manual Crossbgw 2 Installation 2 1 Supported PC Platforms and Operating Systems MoteView 1s supported on the following platforms e Windows XP Home e Window XP Professional e Windows 2000 with SP4 NOTE The filing system on the hard disk must be NTES For information on converting from FAT to NTFS please click on the following link http www microsoft com technet prodtechnol winxppro maintain convertfat mspx 2 1 1 PC Interface Port Requirements The gateway platform used in the base station determines the PC interface port required by Mote View 1 Fora MIB510 serial gateway an RS 232 serial port 2 Fora MIB520 USB gateway a USB port 3 For a MIB600 Ethernet gateway A wired Ethernet or 802 11 wireless card only if the MIB600 is on a LAN with wireless access 4 For a Stargate or other server A wired Ethernet an 802 11 wireless card only if the Stargate has a wireless modem or is on a LAN with wireless access or a cellular modem for wireless Internet access 2 2 Additional Software Requirements For the application to run the following additional components are required e PostgreSQL 8 0 database service e PostgreSQL ODBC driver e Microsoft NET 1 1 fr
51. rview Mote View is designed to be an interface client tier between a user and a deployed network of wireless sensors Mote View provides the tools to simplify deployment and monitoring It also makes it easy to connect to a database to analyze and to graph sensor readings Figure 1 1 depicts a three part framework for deploying a sensor network system The first part is the Mote layer or sensor mesh network The Motes are programmed with XMesh TinyOS firmware application to do a specific task e g microclimate monitoring asset tracking intrusion detection etc The second layer or Server tier provides data logging and database services At this layer sensor readings arrive at the base station e g MIB510 MIB520 MIB600 or Stargate and are stored on a server or Stargate The third part is the client tier in which software tools provide visualization monitoring and analysis tools to display and interpret sensor data The purpose of this document is to explain the features of MoteView and to provide information on the supported Mote layer applications Mote platforms and sensor boards 1 3 Supported Sensor Boards and Mote Platforms MoteView supports all of Crossbow s sensor and data acquisition boards Table 1 1 as well as the MICA2 MICA2DOT and MICAz processor radio platforms Table 1 2 In addition MoteView can be used to deploy and monitor sensor integrated platforms such as the MSP Mote security intrusion detecti
52. service A good source of debugging information is http peinstaller projects posteresal ore faq FAO windows html 5 MoteView will then access the sample_mts310 table in the database task and show Data view as shown below a MoteView 7 0 MEN Fe senge Too Umri Hep S Qe Bes CY GQ Hades Daa Command Chani Heath bisiogam Scamapic Topalog Node Data l valle De See ar ma gt af Eo pa pa por ps pa HJ ee dd MI ki bf bi a fo G GE G O G amp amp 106 55 me sl et eie i Tram 1 05 06 FM 11102005 6 12 AM Teren METERS Error Menges Crartz Deer Database Loci R gt IMPORTANT There are two ways to repair a corrupt database installation 1 Select Tools gt Reset Database from the Mote View menu 2 Open a File Manager navigate to C Program Files Crossbow MoteView and execute resetdb cmd Doc 7430 0008 05 Rev A Page 9 MoteView User s Manual Crossb w A sample mts300 table and a sample nodehealth table are also included in the default task database created by the Mote View installer 3 2 Connecting to a Live Sensor Network on your local PC Use the following steps to access data from a live sensor network connected to your local PC via the MIB510 MIB520 or MIB600 gateway 1 Select File gt Connect to WSN from the menu Select the Mode tab check on Acquire Live Data as Operation mode and Local as acquisition type and click on Next gt gt
53. ternal sensor configuration follow these steps 1 MDA Configuration dialog window can be started by clicking on Tools gt MDA Support This will bring up a window shown in Figure 5 11 Doc 7430 0008 05 Rev A Page 39 MoteView User s Manual MDA Configuration Job Em mor too HB mos 200 BD monsn GB moa 22s D MDA 500 Channel sensor ADC O Voltage Modify ADC 1 Voltage Modify ADC 2 Voltage Modify Voltage Modify Voltage Modify Voltage Modify Voltage Modify Done Cancel Figure 6 13 Screenshot of the MDA Configuration Support Crossb w 2 Select the specific MDA board type that you are currently using to connect external sensors 3 Next to the Channel of interest from the Sensor dropdown box see if any of the choices is relevant to you If not click on Modify This will bring up a dialog window for Sensor Configuration as shown in Figure 5 12 at MDA 100 adc Sensor Configuration Available Configurations Current Configuration Name Votta units m Conversion Type Coefficient Value Y a bX 0X dX 0 000 1 000 E C 0 000 D 0 000 Add New Sensor Remove Sensor Figure 6 14 MDA Sensor Configuration Page 40 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual 4 Click on Add New Sensor Edit the Name and Units under Current Configuration group box
54. tup MoteView Lua EJ Select Start Menu Folder t Where should Setup place the program s shortcuts E Setup will create the program s shortcuts in the following Start Menu folder To continue click Next If you would like to select a different folder click Browse Costo 6 Select all available installation tasks and click Next gt Doc 7430 0008 05 Rev A Page 5 MoteView User s Manual Crossb w iG Setup MoteView Select Additional Tasks Which additional tasks should be performed Select the additional tasks you would like Setup to perform while installing Mote View then click Next Microsoft NET Framework PostgreSQL 8 0 Database Postgre 50L ODBC Driver Reset Mote Database Mote View 2 0 Application Additional icons 7 Confirm your selections and click Install ml Setup MoteView Ready to Install Setup is now ready to begin installing Mote View on your computer Click Install to continue with the installation or click Back if you want to review or change any settings Destination location C Program Files Crossbow Mote View Start Menu folder OW Additional tasks Microsoft NET Framework PostgreSQL 8 0 Database PostgreSQL ODBC Driver Reset Mote Database Mote View 2 0 Application Additional icons Execute the NET framework and PostgreSQL OBDC installation prompts if applicable and follow the instructions 4 NOTE If you have a version of MoteView prior to v1
55. ues e The y axis shows for the instances for each of these sensor values e The user can zoom into and pan through data as described in Table 4 2 e Right clicking allows the user to select a fixed x axis range last hour last day last week last month last quarter all data Y MoteView 2 0 Job Fjes an i enseres Y EE EEI a 338283 Fe F marn 11 18 2005 6 12 32 AM Figure 5 6 Screenshot of the demo database in Histogram view Doc 7430 0008 05 Rev A Page 23 MoteView User s Manual Crossb w 5 6 Scatterplot The Scatterplot tab provides the ability to plot two a sensor reading against each other for a set of nodes The scatter plot would help obtain a visual comparison of the two sensor data fields and help to determine what kind of relationship there might be between them e The users can choose X and Y axis variables to be plotted from the drop down boxes to apply to this view e The user can zoom into and pan through data as described in Table 4 2 e Right clicking allows the user to select a fixed x axis range last hour last day last week last month last quarter all data MoteView 2 0 Job File Settings Tools Units Help Ja 60 OO Data Command Charts Health Histogram Scatterplot Topology Gateway XAxis votage m YAxis temp x Room 661 Room 662 Conf Room Room 663 Room 664 Room 665 i Room 666 Room_667 LIT 4 All I I 2 46
56. zard Users can specify the Sensor Application from the Application Name dropdown box or View Alternate Table by checking the checkbox and selecting from Database Table Name drop down 6 2 File gt Import Mote View can import data from a previously exported SQL data file This will modify the contents of your database 6 3 File gt Export You can export data into 5 different formats Page 34 Doc 7430 0008 05 Rev A Crossb w MoteView User s Manual Export Database to SQL exports the entire task database to an SQL file Export Table to SQL exports the contents of the current table in the task database to an SQL file Export Table to Spreadsheet exports the contents of the current table in the task database to a spreadsheet file delimited text file The file delimiter comma tab or space Nodes all nodes or only a subset of nodes and Time range all data or time range can be specified in the dialog window as shown in Figure 6 9 Export Database Table to Spreadsheet File Export the currently selected database table to a delimited ones text file that can be imported into a spreadsheet Select File Delimiter Comma O Tab O Space Select Nodejs All Modes Node 0 Select Time Range Gere Start May 01 2007 11 01 AM Y End May 11 2007 11 01 AM Figure 6 9 Export Database Table Dialog Window gt IMPORTANT Exporting large sets of data may cause slow down of your PC and fre
Download Pdf Manuals
Related Search
Related Contents
Mode d`Emploi du Site 床暖対応大引き受金物 取扱説明書 `li `1` ¡`I~ " Manuel d`utilisation Analysis and research into errors produced while Puccini - 株式会社太陽インターナショナル Harbor Freight Tools 2_Stage Product manual Page 1 The Genuine. The Original. ~) ATENCION: Sisu abrepuertas Mini Chiemsee Bedienungsanleitung Références 63183100 et 63183130 ETAU ORIENTABLE A 3 AXES Copyright © All rights reserved.
Failed to retrieve file