Hi! I have a problem connecting my Ultrasonic Anemometer 2D WP 4.388x.xx.xxx (Thies CLIMA) to my CR3000 datalogger (Campbell Scientific). This sensor measures wind speed (WS) and wind direction (WD). The analog output range of the sensor is 0-10V. Because the maximum input range of the CR3000 is 5V I am using a voltage divider (VDIV2:1, Campbell Scientific).
I am using LoggerNet and the CRBasic programming language. I tried using VoltSE() and VoltDiff() for single-ended and differential measurements but it does not work.
VoltDiff (WD,1,mV5000,1,True ,0,250,1.0,0)
VoltDiff (WS,1,mV5000,2,True ,0,250,1.0,0)
My question is: Has anyone succeeded in connecting the same sensor to CR3000 datalogger? Where is the mistake in my code?
I would really appreciate it if someone could help me as I am new to programming.
and you couldn't get the digital version? :-)
1) have you tested the signal lines of the sensor to give out 0-10 V when you .. I don't know point a fan at it? Maybe with an oscilloscope?
2) have you seen this: "The VDIV2:1 contains two 10 kΩ resistors that have a ratio tolerance of ±0.02%. Increased input settling time may be necessary to accommodate the relatively high resistance of the voltage divider."
Make sure you connect the signal wires to H and their respective references to L for diff channel 1 and 2.
Then try this (reverse measurement switched off and settling time 1 ms):
Public WD,WS DataTable (ultra,True,-1) DataInterval (0,1,Sec,10) Sample (1,WD,FP2) Sample (1,WS,FP2) EndTable BeginProg Scan (1,Sec,3,0) VoltDiff (WD,1,mV5000,1,False,1000,250,1.0,0) VoltDiff (WS,1,mV5000,2,False,1000,250,1.0,0) CallTable ultra NextScan EndProg
Thank you Nico for your reply!
I connected the wires for differential measurement as you suggested and I used the code you posted. However, it still doesn't work. I can't use the digital version because the ports of CR3000 for digital communication are used for other sensors and I do not have a RS485 to RS232 converter.
Is it possible that the problem is associated with the power supply? ? For power supply I am using the following ports of CR3000: 12V and G.
According to the manual of the sensor the operating voltage for electronic is 8V...40V DC or 12V...28V AC 50Hz/60Hz;0.7W@24V.
Thank you in advance.
the website says 2.5W, so at 12V that's 200mA.. no problem for the CR3000 12V terminal (up to 3A if your power supply can do it).. how does your power supply look like that drives the CR3000?
you can check the diff input of the cr3000 by applying the 5V terminal to the H and L channels.. should give you 5000 without the 2:1 reducer and 2500 with it.
But the logger checks itself upon reboot (or via device config I think you can prompt it) so this is not really needed.. would only give youa test to see if the code works and you got the correct terminals.
I can't see a pinout for the 8 pol sensor connector.
What do you got on that one?
If I were to guess you have:
Is that correct?
Or is it more convoluted?
What does the manual say about wiring when you use the analog signals?
How do you connect the reference Ground that is prob also used for power?
How do you know your analog signals are not in current mode?
How can you switch between the two?
Or is that an at-order-time setting?
Is there a troubleshooting guide in the manual for the sensor?
What test gear do you have at your disposal? Voltmeter? Oscilloscope?
This post is under review.