Currently my colleague is at one of the site for the installation of AWS, and unfortunately there CS215 (AT/RH sensor) sensor is not working properly . it’s giving NAN values for temp. and zero value for Humidity.
I have gone through the user manual for the troubleshooting but could not find anything helpful,
• We tried to run the terminal emulator for changing the SDI12 port address as well command , but its not working and giving SDI12 Failed error message.
• By changing the Control port in CR basic program we tried with all the ports (C1, C3, C5, C7) , but same result.
• we tried same program which is written in user manual (Only for CS215 measurement) , but same result.
• My worry is terminal emulator result-
o we get CR1000 and then write SDI12- and it ask to enter the control port
o Then after entering one of the port no. -we get the message “Entering SDI12 terminal “
o But nothing happens
o Then I try to change the port no. by putting commands- aAb! But message we are getting – “SDI12 failed”
• So I am not sure whether sensor has got some fault or just parameter setting error.
We have put almost 7-8 no. same sensors earlier but never faced this kind of problem.
So Pl try to provide the solution by earliest – if possible, try to provide some inputs by tomorrow.
Thanks
Rgupta
Hi,
Please check two things.
1. Do Connect the wire correct.
2. Please download lastest OS for your dataloger.
3. Please Post your program ?
Please note speed of sdi-12 with your speed.
Hi..
* Wiring is checked no. of times n looks ok to me.
OS upgrade i will try..
* pl see my program
Public Lat,Lon,Alt
Public Place As String
Public Batt_Volt
' Declarations for the CS215 Temperature/Humidity probe
Public TRHData(2)
Alias TRHData(1)=AirTemp_C
Alias TRHData(2)=RH
Public W_Spd, Max_Wind_Gust As Float
Public W_Dir As Float
Public Dim WSwath(3)
Public GHI As Float
Public GHI_daily As Float
Public TILT_daily As Float
Public TILT As Float
Public Peda1MW As String ' Defind to get the file name in the USB memory (Rupal Guptra 20 OCt 2011)
Public Sun_Dur
Public Press
Public WetbulbTemp
Public Dewpnt
Units Batt_Volt=Volts
Units AirTemp_C=Deg C
Units RH=%
Units W_Spd=meters/second
Units W_Dir=Degrees
Units GHI=W/m^2
Units GHI_daily=kWh/m^2
Units TILT=W/m^2
Units TILT_daily=kWh/m^2
Units Sun_Dur=min
Units Press=mB 'millibars or hectopascals (they are the same)
Units Dewpnt=Deg C
Units WetbulbTemp=Dec C
'Define Data Tables
DataTable(Min_One,True,-1)
CardOut (0 ,-1)
DataInterval(0,1,Min,-1)
Average (1,GHI,FP2,False)
Average (1,TILT,FP2,False)
Average(1,AirTemp_C,FP2,False)
Average (1,RH,FP2,False)
Average (1,Press,FP2,False)
WindVector (1,W_Spd,W_Dir,FP2,False,0,0,1)
FieldNames("W_Spd_S_WVT,W_Dir_D1_WVT,W_Dir_SD1_WVT")
Maximum (1,W_Spd,FP2,False,0)
Average (1,WetbulbTemp,FP2,False)
Average (1,Dewpnt,FP2,False)
EndTable
DataTable(Hourly,True,-1)
CardOut (0 ,-1)
DataInterval(0,1,Hr,-1)
Average (1,GHI,FP2,False)
Average (1,TILT,FP2,False)
Average (1,AirTemp_C,FP2,False)
Average (1,RH,FP2,False)
Average (1,Press,FP2,False)
WindVector (1,W_Spd,W_Dir,FP2,False,0,0,0)
FieldNames("W_Spd_S_WVT,W_Dir_D1_WVT,W_Dir_SD1_WVT")
Maximum (1,W_Spd,FP2,False,0)
Average (1,WetbulbTemp,FP2,False)
Average (1,Dewpnt,FP2,False)
EndTable
DataTable(Daily,True,-1)
CardOut (0 ,-1)
DataInterval(0,1440,Min,-1)
Totalize (1,GHI_daily,FP2,False)
Totalize (1,TILT_daily,FP2,False)
Maximum (1,GHI,FP2,False,False)
Maximum (1,TILT,FP2,False,False)
Average (1,AirTemp_C,FP2,False)
Minimum(1,AirTemp_C,FP2,False,False)
Maximum(1,AirTemp_C,FP2,False,False)
Average (1,RH,FP2,False)
Minimum(1,RH,FP2,False,False)
Maximum(1,RH,FP2,False,False)
WindVector (1,W_Spd,W_Dir,FP2,False,0,0,0)
FieldNames("W_Spd_S_WVT,W_Dir_D1_WVT,W_Dir_SD1_WVT")
Maximum (1,W_Spd,FP2,False,0)
Average (1,WetbulbTemp,FP2,False)
Maximum (1,WetbulbTemp,FP2,False,False)
Minimum (1,WetbulbTemp,FP2,False,False)
Average (1,Dewpnt,FP2,False)
Minimum(1,Dewpnt,FP2,False,False)
Maximum(1,Dewpnt,FP2,False,False)
Minimum(1,Batt_Volt,FP2,False,False)
Average (1,Press,FP2,False)
Minimum(1,Press,FP2,False,False)
Maximum(1,Press,FP2,False,False)
EndTable
'Main Program
BeginProg
Scan(30,Sec,1,0)
'Battery Voltage measurement Batt_Volt:
Battery(Batt_Volt)
SDI12Recorder (TRHData(),7,"0","M!",1.0,0) ' CS215 Temp/RH Probe
'05103-10 Wind Speed & Direction Sensor measurements W_Spd and W_Dir:
PulseCount(W_Spd,1,1,1,1,.098,0)
'Measure Wind Direction
BrHalf(W_Dir,1,mV2500,6,Vx1,1,2500,True,0,_50Hz,355,0)
If W_Dir>=360 OR W_Dir<0 Then W_Dir=0
'WMO CONVENTION IS THAT IF WIND SPEED IS "0" WIND DIRECTION SHOULD ALSO READ "0"
If W_Spd=0 Then W_Dir=0
' SPLITE Pyranometers configured Output Solar Radiation
VoltDiff (GHI,1,mV25,2,True ,0,_50Hz,1.0,0) ' CMP3 FOR GHI
If GHI <0 Then GHI=0
'Calculations to convert skyward CMP3 to solar radiation
GHI=GHI*(1000/16.89)
' CMP11 Pyranometers configured Output Solar Radiation TILT
VoltDiff (TILT,1,mV25,1,True ,0,_50Hz,1.0,0) ' CMP11 FOR TILT
If TILT <0 Then TILT=0
'Calculations to convert skyward CMP3 to solar radiation
TILT=TILT*(1000/9.33)
GHI_daily = GHI/1200000. 'Converts to kwh/m2 for daily record
TILT_daily = TILT/1200000. 'Converts to kwh/m2 for daily record
'Use estimate for pressure based on site altitude and temperature
Press = 1013.25*EXP(-0.029*9.8*Alt/(8.314*(AirTemp_C+273)))
WetbulbTemp=(-5.806+0.672*AirTemp_C-0.006*AirTemp_C*AirTemp_C+(0.061+0.004*AirTemp_C+0.000099*AirTemp_C*AirTemp_C)*RH+(-0.000033-0.000005*AirTemp_C-0.0000001*AirTemp_C*AirTemp_C)*RH*RH)
' Dewpnt=(((LN(RH/100)+((17.271*AirTemp_C)/(237.7+AirTemp_C)))*237.7))/(17.271-((LN(RH/100)+((17.271*AirTemp_C)/(237.7+AirTemp_C)))))
DewPoint (Dewpnt,AirTemp_C,RH)
CallTable(Daily)
CallTable (Hourly)
CallTable(Min_one)
NextScan
EndProg
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
wiring of the same :----
CMP11 Red
1H
Blue 1L -G (JUMPER)
Black G
CMP3 Red
2H
Blue 2L-G(JUMPER)
Black G
AT/RH Green C7
Black G
White G
Red 12V
Clear G
Wind Sensor (05103-10) red P1
Blue VX1
Green SE-6
White AG
Black AG
Clear G
Pl check and let me know if any thing is wrong.
Please adjust inverval in Scan(30,Sec,1,0) function, it can make sdi -12 meet to be not response. you have to put higher
Hi,
thanks for the response.
Could you pl let me know the min. scan time for SDI12?
R Gupta
When using "aM!", we recommend that your scan time not be smaller than the reported sensor response time.
For example, the CS215-L has a reported response time of 1 second. I.e. when you issue "aM!" to the sensor, it responds "a0012", where "a" is the sensor's SDI-12 address, "001" is indicating a 1 second response time, and "2" indicates that the sensor will respond with 2 measurements. So for the SC215-L, your scan time should be 1 second or greater.
With that said, please be aware of the physical limitations of the sensor to detect step input changes to temperature and relative humidity. According to the manual,
Temperature: Response Time with Filter, 120 s (63% response time in air moving at 1 m/s)
Relative Humidity: <10s (63% response time in air moving at 1 m/s at humidities <85%)
The symptom you described, i.e. NAN for temperature and 0 for RH, sounds like the communications between the logger and sensor are failing. When SDI-12 coms fail between a logger and a sensor, the first index of the destination array (in this case temperature) will be loaded with NAN.
Please try using the SDI12 terminal mode to verify that you can query the sensor manually.
1) Enter the datalogger terminal mode. Our users generally use Terminal Emulator in LN or the Terminal window in Device Configuration Utility.
2) Hit ENTER until you get the prompt. (e.g. CR1000> if you are using a CR1000)
3) Type "SDI12" and press [ENTER]
4) Enter the control port number the sensor is connected to and press [ENTER]
5) Type "?!" and press [ENTER]. The sensor will respond with it's SDI-12 address.
6) Type "aM!" where "a" is the address of the sensor and press [ENTER]. You should get "a00102" back from the sensor
7) Type "aD0!" and press [ENTER]. You should get back "a+TEMPERATURE+HUMIDITY"
If that looks good, the sensor is okay. Time to move onto your program and wiring.