Page 2
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 company serves your country. To obtain a Returned Materials Authorization (RMA) number, contact CAMPBELL SCIENTIFIC, INC., phone (435) 227-9000. Please write the issued RMA number clearly on the outside of the shipping container. Campbell Scientific’s shipping address is: CAMPBELL SCIENTIFIC, INC.
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 ATTACHMENTS TO TRIPODS AND TOWERS SUCH AS SENSORS, CROSSARMS, ENCLOSURES, ANTENNAS, ETC.
6.1 Command line/menu ................13 6.2 Configuring a PC for talking to the CS140 ..........13 6.3 Definition of the variables that can be set by the user on the CS140 with the command line interface ............14 6.4 Command line mode ................15 6.4.1 The SET Command...............
Page 6
4-4. Cable Connections ................... 9 4-5. CS140 Configuration Cable ..............9 7-1. CS140 Calibrator ................... 23 7-2. CS140 Calibrator Connections .............. 24 8-1. CS140 DevConfig OS download instructions ........23 8-2. CS140 DevConfig screen when OS update is complete ......23...
These should be followed carefully in order to gain the maximum benefit from the use of this product. 1.2 Sensor Unit Safety The CS140 sensor has been checked for safety before leaving the factory and contains no internally replaceable or modifiable parts. CAUTION Do not modify the CS140 unit.
It uses a photodiode with a spectral response close to the CIE human eye model and removes any unwanted wavelengths via an inbuilt band-pass filter. The CS140 features a fixed 6˚ field of view as specified by the FAA. For easy installation the CS140 is simply mounted horizontally with the required 6˚ inclination being built into the design.
Instruction Manual 2.2 Specifications 2.2.1 Optical Specifications Accuracy ±0.2 cd/m < 2 cd/m , ±10% > 2 cd/m Field of view 6° Spectral response CIE 1931 Measurement range 0-45,000 cd/m Resolution 0.1 cd/m 2.2.2 Electrical Specifications Minimum Value Nominal Value Maximum value Main power supply for DSP and dew heater Power supply, DC only...
Ingress protection IP52 Communication RS-232, 38400 bd Dimensions (excluding cables) 72 mm long x 46 mm diameter Weight 300 g Connecting the CS140CAL to a CS140 forces communications to RS-232, 38400 bd and also forces the sensor ID to ‘0’.
The CS140 can be orientated in any direction required by local practice and it is not damaged by sunlight shining directly into it. It should not be pointed at a source of bright light that may be unrepresentative.
Clamp the pole between the plate and brackets by tightening using the nuts provided. The machine screws A and B in Figure 4-1 are used to level the CS140. Screw A is used to lock the CS140 at the right elevation with screw B acting as a pivot. Usually this will be with the hood horizontal which gives a field of view elevated by 6 degrees.
Only tighten the nuts to a degree necessary to hold the CS140 firmly in place. Where the CS140 is to be mounted onto another type of mast, please refer to the manual for that mast for mounting details.
CAUTION If the power cable is incorrectly wired to the CS140 then irrevocable damage can be done to the unit. The communications cable is terminated at one end with a 9 pin D-connector (DB9).
A configuration cable is available from Campbell Scientific that will force communications to RS-232 38400 baud, and sensor id “0”. The cable has connectors allowing it to be put in between the CS140 and the existing connection and a 5 m flying lead with a 9-way D connector for RS-232 communication.
CS140 Background Luminance Sensor 4.7 Storage Information The CS140 should be stored between -40°C to +85°C in a dry place. The optics should be protected from possible accidental damage. 5. Messages 5.1 Message structure Basic Format 0x02 35833.7 4E7C 0x03 0x0D 0x0A Example basic format output 0 0 1 35833.7 1 4E7C...
Page 17
Instruction Manual Example full format output 2 0 1 10 15292.4 1 1 0 0 0 0 1 0 3 0 0 0 0 0 0 F8DA Message ID break down Definition Basic format. Contains only luminance and system information Partial format.
Page 18
The amount of background light as seen by the detector hood. saturation level 0 = Within limits 1 = Saturated. The CS140 is experiencing direct light levels that are saturating the photo diode Signature error 0 = Signature of entire flash was checked and matches the...
This would be the preferred method of setting up a CS140 if it was connected to a logger for instance. The configuration setting commands can be sent via a logger to the CS140 removing the need for a local PC to set up the unit.
The period of time that the luminance value should be averaged over. Either one minute or ten. Dew heater override 0 = Allow the CS140 to automatically control the dew heater 1 = Turn the dew heater off Hood heater override...
The CS140 can be configured to expect any commands sent to it to include a valid checksum. For simple commands, e.g. GET and POLL, fixed value checksums can be used (see the example programs).
SETNC. The only functional difference is that the SETNC command does not commit the values set into flash memory. This means that the next time the CS140 is power cycled it will revert back to its previous settings. This command should be used when a setting in the sensor is changed regularly, e.g.
Page 23
Instruction Manual The GET command GET transmitted data Example Description 0x02 Delimiting character Address based on Sensor ID Delimiting character Reserved for future use, zero default Delimiting character 2C67 Checksum Delimiting character 0x03 0x0D Carriage return (1) These values are shown in hexadecimal format not ASCII. Example of a GET request GET : 0 : 0 : 2C67 : Example data returned by the GET command...
(1) These values are shown in hexadecimal format not ASCII. 6.5 The CS140 menu system When connected to the CS140 the user can enter the menu system by typing ‘open id’ into their terminal program then pressing the return key on their keyboard. The id corresponds to the sensor ID number.
Page 25
No changes will take effect until you `Exit and Save’. The exception to this is the calibration menu, but you will be informed before any changes are made. Typing ‘1’ opens the message menu containing settings relating to the CS140’s outputs.
Page 26
CS140 Background Luminance Sensor Menu 2: The user alarm menu CS140 ALARM AND LIMIT - MENU 2 ID 0 S/N 1009 (1) Toggle user alarm one: DISABLED (2) Toggle alarm one threshold: LESS THAN (3) Set new user alarm one activation point:...
Page 27
If the dirty window alarm is set it is recommended you follow the cleaning section of this manual (Section 8.2). If there is a flash error or signature error it is recommended that you contact Campbell Scientific. The aux supply voltages are internal 5 volt and 3 volt supplies. They should be between 4.5 and 5.5 and 2.7 and 3.3 volts respectively.
Page 28
CS140 Background Luminance Sensor Menu option (6) allows calibration of the CS140 using an optional CS140CAL calibration device. It also allows the user to reset the CS140 to factory default values. CS140 CONFIGURATION - MENU 6 ID 0 S/N 1004...
The calibration must be run using the onboard menu system. If you have Campbell Scientific’s Device Configuration program (DevConfig) a terminal emulation screen is provided in the CS140 screens to let you access this function. To perform the calibration you will need a CS140CAL calibrator and a computer with a compatible USB port.
CS140 Background Luminance Sensor Figure 7-2. CS140 Calibrator Connections The CS140 menu structure will still be available while the calibrator is connected. You will then be asked to confirm that you would like to perform a calibration. Do you want to perform a calibration Y/N? Once you have entered yes at this point you will not be able to exit until the test is complete.
Operating system updates for the CS140 background luminance sensor are performed using Campbell Scientifics Device Configuration Utility (DevConfig) software. This is available as a free download from the Campbell Scientific website. Please refer to the help built into the DevConfig software for full instructions on how to update the CS140.
Page 32
CS140 Background Luminance Sensor Figure 8-1. CS140 DevConfig OS download instructions Figure 8-2. CS140 DevConfig screen when OS update is complete...
This will vary depending on the site location. The CS140 is capable of self-diagnosing a dirty window and will indicate in its output when the window is contaminated.
Appendix A. Example C code of the CCITT CRC The code below is provided as an example for programmers implementing their own code to communicate with the sensor. Users using Campbell loggers can use the checksum command in CRBasic to generate a CCITT checksum. Command: Checksum/ChkSumString,1,0).
SerialOpen (Com1,38400,3,0,10000) ' Send request for information once every 10 seconds Scan (10,Sec,0,0) ' Create the POLL string going out to the CS140 TempString = "POLL:0:0" CheckVal = CheckSum (TempString,1,0) ' Use the CCITT CRC16 checksum OutString = CHR(2) + TempString + ":" + FormatLong (CheckVal,"%04X") + ":"...
Page 36
Dim CS140CommandString As String * 100 Dim i As Long Dim CheckVal As Long ' Create a string containing the values going out to the CS140 TempStringFunc = "SET:0:" For i = 1 To 18 TempStringFunc = TempStringFunc + CS140CArray(i) + " "...
Page 37
Appendix B. Example CRBasic programs ' Create final string going out to CS140 including start characters and end characters CS140CommandString = CHR(2) + TempStringFunc + ":" + FormatLong (CheckVal,"%04X") + ":" + CHR(3) + CHR(13) + CHR(10) 'CS140CommandString = CHR(2) + TempStringFunc + CHR(3) + CHR(13) +...
Page 38
TempStringFunc = TempStringFunc + CS140CArray(i) + " " Next ' Create a check sum of the values going out CheckVal = CheckSum (TempStringFunc,1,0) ' Use the CCITT CRC16 checksum ' Create final string going out to CS140 including start characters and end characters...
Page 39
' Send information once every 10 seconds Scan (10,Sec,0,0) TempString = CS140_SETCommand() ' Create the outgoing string SerialOut (Com1,TempString,"",0,100) ' Send SET command to the CS140 Delay (1,1,Sec) SerialIn (InString,Com1,100,0,1000) ' Grab retuned data from the CS140 ' Returned data is identical to the...
Page 40
SerialOpen (Com1,38400,3,0,10000) ' open port to the Luminance sensor ' Send a request for information once every 10 seconds Scan (10,Sec,0,0) ' Create the basic GET string for the CS140 TempString = "GET:0:0" CheckVal = CheckSum (TempString,1,0) ' Use the CCITT CRC16 checksum OutString = CHR(2) + TempString + ":"...
Page 41
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...
Need help?
Do you have a question about the CS140 and is the answer not in the manual?
Questions and answers