Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Lufft WS400 Sensor + CR1000 CRBasic Code: Not Getting Any Readings


mdavis Mar 18, 2011 06:17 PM

Hello,

Im Having a Problem with the Test Sensors we got from lufft.
i've tested the sensor using their software and its working.
we want to use the CR1000 to read the WS400 sensor. but i cant figure out why i am not getting any reading from the sensor.

Here's my setup:
WS400 Device Address - 1
Yellow Wire - Com1 - Tx
Green Wire - Ground
Brown Wire - 12V
White Wire - Ground
Pink + Gray - Jumpered together

Here's my code:
Public WS400_Temperature
Public WS400_Humidity
Public WS400_Pressure
Public WS400_Precipitation

Units WS400_Temperature=Deg F
Units WS400_Humidity=%
Units WS400_Pressure=hPa
Units WS400_Precipitation=in/h

Average (1,WS400_Temperature,FP2,False)
Average (1,WS400_Humidity,FP2,False)
Average (1,WS400_Pressure,FP2,False)
Average (1,WS400_Precipitation,FP2,False)

SlowSequence
SDI12SensorSetup (1,1,1,1)
SDI12SensorResponse (SDI12Source)
SDI12Recorder (WS400_Temperature,1,1,"aM1!",1.0,0)
SDI12Recorder (WS400_Humidity,1,1,"aM2!",1.0,0)
SDI12Recorder (WS400_Pressure,1,1,"aM3!",1.0,0)
SDI12Recorder (WS400_Precipitation,1,1,"aM6!",1.0,0)

i tried switching the SDIaddress to (0x7001=28673) 7001 or 28673 cuz i saw it on the sensor address but didnt work.

Can anyone help?
Thanks
Mark Davis
Trimark Associates


akoskelo Sep 20, 2017 08:52 AM

Hello, 

Did you ever find a solution to this problem? Having similar issues with getting measurements. 


JDavis Sep 20, 2017 03:08 PM

You need to use the M! or C! command before the other measurement commands. It is stated somewhere in the Lufft manual.


akoskelo Sep 20, 2017 05:42 PM

Sorry, dumb question...what do you mean when you say pink and gray wires are "jumpered together"? Thanks 

Log in or register to post/reply in the forum.