Campbell Scientific CWS220 Wireless Sensor Network (CWB100, CWS220, and CWS900 - Page 6

Programming the Datalogger, CWS Button and LED Behavior, Testing the Network, Maintenance,

Page 6 highlights

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70

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