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.

How to set range high and low to correspond to certain values? For barometric pressure sensor


SofiaAR Jul 21, 2021 03:22 AM

Hello!

I am trying to install a 6140V barometric pressure sensor with a CR1000 logger, but I can't seem to get it to work. One of the problems is that I need to set the span to 0-5000mV where the low (0V) should correspond to 500 hPa and the high (5000mV) correspond to 1100 hPa. I do not know how to do this?

The sensor is now connected to a differential channel and I have set the range to 5000mV. How do I make the low correspond to 500 and the high to 1100?

The full code can be seen below. Multiplier and offset are set to 0.12 and 500 as stated in the sensor manual, the rest is left as default.

'Declare Public Variables
Public PTemp, Batt_volt, BP

'Define Data Tables.
DataTable (Table1,1,-1) 'Set table size to # of records, or -1 to autoallocate.
	DataInterval (0,12,Sec,10)
	Minimum (1,Batt_volt,FP2,False,False)
	Sample (1,PTemp,FP2)
	Average (1,BP,FP2,False)
EndTable

'Main Program
BeginProg
	Scan (3,Sec,0,0)
		PanelTemp (PTemp,60)
		Battery (Batt_volt)
		VoltDiff (BP,1,mv5000,5,True ,0,250,0.12,500)
		
		'Call Output Tables
		CallTable Table1
	NextScan
EndProg

 

Thank you in advance!

Kind regards,

Sofia


nsw Jul 22, 2021 05:30 AM

The program looks correct. The multipler and offset supplied by RM Young manual should work with a 0 - 5000mV output range.

I would check your wiring to the datalogger - differential input channel 5 is used in the program.

How is the 61402V powered? Check it is powered from the 12V connection on the CR1000 (not SW12) or from the battery itself.

Check the jumpers in the 61402V to make sre they are set for 5VDC output and that the Optional External Trigger connection on the sensor is not connected.

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