Wireless Sensor Network Table of Contents
3.2
Creating a Model of the WSN
...............................................................
16
3.2.1
Wireless Sensor Planner and Network Planner
............................
16
3.2.2
Installing Wireless Sensor Planner
...............................................
17
3.2.3
Using Wireless Sensor Planner
....................................................
17
3.2.3.1
Simple WSN Example
........................................................
18
3.3
Configuring the Devices in the WSN
....................................................
21
3.3.1
Configuring the CWB100
............................................................
21
3.3.2
Configuring the CWS655
.............................................................
23
3.3.3
Configuring the CWS900
.............................................................
24
3.4
Sending the Sensor Configuration File to the Datalogger
.....................
24
3.5
Programming the Datalogger
.................................................................
25
3.6
Connecting the CWB100 to the Datalogger
..........................................
27
3.7
Powering CWS Sensors and Initiating Auto-discovery
.........................
27
3.8
Verify that Data is being Transmitted
....................................................
28
3.9
Physical Connections
.............................................................................
28
3.9.1
Connecting the Base Station to the Datalogger
............................
28
3.9.2
Connecting Sensors to the CWS900
............................................
29
4.
Programming the Datalogger
....................................
29
4.1
Array Declaration
...................................................................................
29
4.2
CWB100() Instruction
...........................................................................
30
4.2.1
Configuration String
.....................................................................
31
4.2.2
Field Names
.................................................................................
32
4.2.3
Status Monitoring
.........................................................................
32
4.3
ArrayIndex() Instruction
........................................................................
33
4.4
CWB100RSSI() Instruction
...................................................................
34
4.5
CWB100Routes() Instruction
................................................................
34
4.6
Program Example
...................................................................................
35
5.
CWS Button and LED Behavior
................................
37
5.1
Sensor Link to Base Station
...................................................................
37
5.2
Sensor Battery Voltage
..........................................................................
37
5.3
CWS Sensor Search for Base Station
....................................................
37
6.
Testing the Network
...................................................
38
7.
Maintenance
...............................................................
40
7.1 Replacing a Sensor in the Network
.........................................................
41
7.2 Stopping or Loading a New Datalogger Program
...................................
41
8.
Troubleshooting
.........................................................
42
Appendices
A.
Using DevConfig for CWS Setup
...........................
A-1
ii