Limited warranty “Products manufactured by CSI are warranted by CSI to be free from defects in materials and workmanship under normal use and service for twelve months from the date of shipment unless otherwise specified in the corresponding product manual. (Product manuals are available for review online at www.campbellsci.com.) Products not manufactured by CSI, but that are resold by CSI, are warranted only to the limits extended by the original manufacturer.
Page 3
Campbell Scientific reserves the right to refuse service on products that were exposed to contaminants that may cause health or safety concerns for our employees.
Page 4
Periodically (at least yearly) check electrical ground connections. WHILE EVERY ATTEMPT IS MADE TO EMBODY THE HIGHEST DEGREE OF SAFETY IN ALL CAMPBELL SCIENTIFIC PRODUCTS, THE CUSTOMER ASSUMES ALL RISK FROM ANY INJURY RESULTING FROM IMPROPER INSTALLATION, USE, OR MAINTENANCE OF TRIPODS, TOWERS, OR...
Once it completes a set of measurements, the SDMS40 takes an intelligent average of the depths to provide a representative average snow depth of the target area.
Never open the sensor when the power is turned on. The SDMS40 uses a Class 2 laser. Do not stare into the laser beam. 3. Initial inspection Upon receipt of the SDMS40, inspect the packaging and contents for damage. File any damage claims with the shipping company.
Page 9
3. In the Available Sensors and Devices box, type SDMS40 or locate the sensor in the Sensors | Miscellaneous Sensors folder. Double-click SDMS40 (SDI-12) Multipoint Scanning Snowfall Sensor. The default average snow depth units are millimeters. This can be changed by clicking the Snow depth average box and selecting different units.
Page 10
9. If the sensor is connected to the data logger, check the output of the sensor in the data logger support software data display in LoggerNet, PC400, RTDAQ, or PC200W to make sure it is making reasonable measurements. SDMS40 Multipoint Scanning Snowfall Sensor...
After mounting, the sensor performs a fully automatic calibration process to calculate install angle and height Output data on SDI-12 or RS-232 serial data interface Compatible with Campbell Scientific CRBasic data loggers: CR200(X) series, CR300 series, CR6 series, CR800 series, CR1000, CR1000X series, CR3000, and CR5000 6. Specifications Power supply:...
Quickstart (p. 2) for a tutorial. 7.1 Mounting The SDMS40 is environmentally sealed for outdoor installations. The enclosure provides protection from moisture and high humidity. It is not intended for operation under water. All that SDMS40 Multipoint Scanning Snowfall Sensor...
Page 13
Position the SDMS40 about one meter above the maximum seasonal snow depth height (FIGURE (p. 7), FIGURE 7-2 (p. 7)). This provides adequate height for required accuracy and resolution. Mounting procedure is provided in Table 7-1 (p.
Lightly push the connector into place and screw the connector to secure. 7.1.1 Adjusting inclination angle or direction of the SDMS40 The SDMS40 can be installed at any angle between 0 and 45 degrees from the pole. After loosely tightening the screw on the common hole (FIGURE 7-1 (p.
Page 15
(p. 9) provides SDI-12 wiring and Table 7-3 (p. 10) provides RS-232 wiring. Once mounting and wiring of the SDMS40 are complete, apply power to the SDMS40. Table 7-2: SDI-12 sensor wire color, function, and data logger connection Power supply...
For the CR6 and CR1000X, triggering conflicts may occur when a companion terminal is used for a triggering instruction such as TimerInput(), PulseCount(), or WaitDigTrig(). For example, if the SDMS40 is connected to C3 on a CR1000X, C4 cannot be used in the TimerInput(), PulseCount(), or WaitDigTrig() instructions.
CRBasic program, the variable used SerialIn() SerialIn() in the instruction needs to be declared as an ASCII string format. SplitStr() Split out digital count value from the input string. SDMS40 Multipoint Scanning Snowfall Sensor...
9. Operation 9.1 SDI-12 sensor measurements (p. 12). When using an M! The SDMS40 responds to the SDI-12 commands shown in Table 9-1 command, the data logger waits for the time specified by the sensor, sends the D! command, pauses its operation, and waits until either it receives the data from the sensor or the sensor timeout expires.
"a” refers to the address of the sensor. 9.2 RS-232 sensor measurements The SDMS40 measures the current snow depth at a user-programmable interval (minutes) and transmits data on its RS-232 serial data lines to an external device, such as a data logger. By default, the sensor is in polling mode, where measurements are triggered by request from a data logger.
Page 20
@m⏎ Run a round of measurements immediately. SDMS40 status. This shows various system information such as cur- @s⏎ rent firmware version and installation angle and height. Perform automatic calibration to determine installation height and @ac⏎...
(Manual calibration (p. 16)). 10.2.1 Automatic calibration SDMS40 supports a fully automatic calibration process, which calculates the height and inclination angle of the SDMS40. Calibration is required when you first set up the sensor and SDMS40 Multipoint Scanning Snowfall Sensor...
10.3 Updating operating system To update the sensor operating system, download the operating system available from: www.campbellsci.com/sdms40. A terminal emulator software such as PuTTY Portable is required to do this update. PuTTY Portable is available at no charge from https://portableapps.com/apps/internet/putty_portable.
Page 23
Select the Session Category and set the parameters to the following: a. Select a serial line: Use the COM port assigned to your serial cable. b. Speed (baud): 57600 c. Data bits: 8 d. Stop bits: 1 e. Parity: None f. Flow control: None SDMS40 Multipoint Scanning Snowfall Sensor...
Page 24
Table 10-1: Updating operating system procedure Step Procedure Select the Terminal Category and select the Force on option for both the Local echo and Local line editing parameters. SDMS40 Multipoint Scanning Snowfall Sensor...
Page 25
Once the PuTTY terminal emulator opens, apply power to the sensor. Let the sensor initialize and perform its initial measurements. Proceed to step 10 after @@systemready@ is displayed. Type @b 0 and press the return key. SDMS40 Multipoint Scanning Snowfall Sensor...
Page 26
Baud rate: 57600 Click the Upload button. The message Uploading … will appear at the bottom of Xloader. The operating system update may take a few minutes. Upon successful completion, an XXXXXX bytes uploaded message will appear. SDMS40 Multipoint Scanning Snowfall Sensor...
Page 27
Operating system reset Pin 4 Blue Pin 3 Yellow Pin 2 Brown Ground Pin 5 *Only use when resetting the operating system. Table 10-3: Power wiring Color Function Connection Power 12 V Black Power Ground SDMS40 Multipoint Scanning Snowfall Sensor...
“–Wiring for CRXXX–” into the CRBasic program, usually at the head of the file. After pasting, edit the information such that an apostrophe (') begins each line. This character instructs the data logger compiler to ignore the line when compiling. You can SDMS40 Multipoint Scanning Snowfall Sensor...
Page 29
CRBasic code then right-click and select Comment Block. (This feature is demonstrated at about 5:10 in the CRBasic | Features video.) SDMS40 Multipoint Scanning Snowfall Sensor...
SequentialMode '************************************************************************** ' Constants '************************************************************************** Const SDMS40_Interval = 1 'in minutes Const SDI12_PORT1 = C1 ' C1 is the Communications port used for connection to SDMS40 '************************************************************************** ' Diagnostic variables '************************************************************************** Public PTemp, batt_volt Units PTemp = deg C Units...
Page 31
CRBasic Example 1: CR1000X SDI-12 program to measure the SDMS40 Units Snow_Depth_Avg = mm SDI_Calibrate_Return Public Calibrate_Flag As Boolean Public SDMS40_Snow_Depth_Points(36) Units SDMS40_Snow_Depth_Points() = mm '************************************************************************** ' Diagnostic Data Table '************************************************************************** 'Daily diagnostic data table for troubleshooting purposes DataTable (Diagnostic,True,-1)
CRBasic Example 1: CR1000X SDI-12 program to measure the SDMS40 NextScan EndProg B.2 RS-232 program Wiring for this example program is shown in Table B-2 (p. 27). Table B-2: Wiring for RS-232 example program Wire color Function CR1000X connection terminal...
Page 34
CRBasic Example 2: CR1000X RS-232 program to measure the SDMS40 Public As Boolean SDMS40_Calibrate_Now 'the user can set this to TRUE to calibrate the sensor Public SDMS40_Install_Height Units SDMS40_Install_Height = mm ReadOnly SDMS40_Install_Height Public SDMS40_Install_Angle Units SDMS40_Install_Angle = degrees ReadOnly...
Page 35
CRBasic Example 2: CR1000X RS-232 program to measure the SDMS40 SplitStr "angle:" (SDMS40_string_temp,SDMS40_string, ,1,4) SplitStr "" (SDMS40_Install_Angle,SDMS40_string_temp, ,1,0) SplitStr (SDMS40_string_temp,SDMS40_string, "Height:" ,1,4) SplitStr (SDMS40_Install_Height,SDMS40_string_temp, "" ,1,0) Scan (10,Sec,5,0) PanelTemp (PTemp,_60Hz) Battery (batt_volt) 'The user's programming for other sensors would go here in the main scan...
SDI-12, Serial Data Interface at 1200 baud, is a protocol developed to simplify sensor and data logger compatibility. Only three wires are necessary — serial data, ground, and 12 V. With unique addresses, multiple SDI-12 sensors can connect to a single SDI-12 terminal on a Campbell Scientific data logger.
For example, to change an address from 0 to 2, the command is 0A2!. The sensor responds with the new address b, which in this case is 2. NOTE: Only one sensor should be connected to a particular terminal at a time when changing addresses. SDMS40 Multipoint Scanning Snowfall Sensor...
To use this command, the scan interval should be 10 seconds or less. The response to each command has the form atttn<CR><LF>, where a = the sensor address ttt = time, in seconds, until the measurement data is available SDMS40 Multipoint Scanning Snowfall Sensor...
Page 41
10 seconds later, after a total of 30 seconds have XD0! passed, the data logger starts the process of data from sensor X by issuing the first D command. The sensor immediately responds with the sensor X+1+2+3+4+5<CR><LF> address and the 5 values. SDMS40 Multipoint Scanning Snowfall Sensor...
A sensor may return up to 35 characters of data in response to a D command that follows an M! or MC! command. A sensor SDMS40 Multipoint Scanning Snowfall Sensor...
Data logger security may need to be unlocked before activating the transparent mode. Transparent mode is entered while the PC is communicating with the data logger through a terminal emulator program. It is accessed through Campbell Scientific data logger support SDMS40 Multipoint Scanning Snowfall Sensor...
10. To change the SDI-12 address, type aAb!, where a is the current address from the above step and b is the new address (see FIGURE C-1 (p. 39). Press Enter. The sensor changes its address and responds with the new address. 11. To exit SDI-12 transparent mode, click Close Terminal. SDMS40 Multipoint Scanning Snowfall Sensor...
10. To change the SDI-12 address, type aAb!, where a is the current address from the above step and b is the new address (see FIGURE C-2 (p. 40). Press Enter. The sensor changes its address and responds with the new address. 11. To exit SDI-12 transparent mode, click Close Terminal. SDMS40 Multipoint Scanning Snowfall Sensor...
FIGURE C-2. CR200(X) example of using the SDI-12 transparent mode to change the SDI- 12 address from 0 to 1 C.4 References SDI-12 Support Group. SDI-12: A Serial-Digital Interface Standard for Microprocessor-Based Sensors – Version 1.4. River Heights, UT: SDI-12 Support Group, 2017. http://www.sdi- 12.org/current_specification/SDI-12_version-1_4-Dec-1-2017.pdf. SDMS40 Multipoint Scanning Snowfall Sensor...
Page 47
Campbell Scientific Worldwide Offices Australia Germany Location: Garbutt, QLD Australia Location: Bremen, Germany Email: Email: info@campbellsci.com.au info@campbellsci.de Website: www.campbellsci.com.au Website: www.campbellsci.de Brazil South Africa Location: São Paulo, SP Brazil Location: Stellenbosch, South Africa Email: andread@campbellsci.com.br Email: sales@csafrica.co.za Website: Website: www.campbellsci.com.br www.campbellscientific.co.za...