LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

myRIO analog voltage reference

Hello,

 

I am looking to aquire analog input from an LM35 sensor to myRIO 1900, as per the datasheet the analog input channels on the MXP B support a measurment range of 0-5 V with 12-bit ADC resolution.

the LM35 sensor outputs a voltage of 0-1V with 10mV per C

previously in PIC or other microcontrollers design a ADREF+ and ADREF- is present on the hardware to choose the conversion reference voltage

since there is no ADREF pins in myRIO is it possible to control the reference voltage of a given pin for NI MAX or from an IO property/method node?

I tried using the method node for the AI input on MXP B but it has no methods, the property node showed two options none of them can be changed to "write" so I can set up a conversion between 0-1V reference and utilize the 12-bit resolution effieciently

 

Thank you

0 Kudos
Message 1 of 5
(4,467 Views)

NI myRIO does not allow to change the range of analog input channels. For the MXP connectors' analog inputs it is fixed to be 0-5V. It does not have also control for reference voltage. So the LSB is fixed and is equal to 5/(2^12), which is ~1.2mV.

 

What accuracy do you need for your application? BTW the accuracy of LM35 is typically +/-0.2 °C according the datasheet.

 

Thanks,

Arev

 

CTO | RAFA Solutions

 

Certified-LabVIEW-Embedded-Systems-Developer_rgb.jpgCertified-LabVIEW-Architect_rgb.jpg

Message 2 of 5
(4,452 Views)

Use an op-amp to amplify your signal to the 0-5V range.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 5
(4,431 Views)

Hello and thank you

I was just curious about the availabilty of such option to change and control the REF voltages I am only using the LM35 for testing purposes

Certified Labview Developer
0 Kudos
Message 4 of 5
(4,402 Views)

Thank you the reading is accurate enough on the 0-1V volts I just wanted an answer to be sure if I can control the REF or not

Certified Labview Developer
0 Kudos
Message 5 of 5
(4,399 Views)