MyRio Voltmeter

Thread Starter

lenoplix

Joined Jun 11, 2020
31
Hi,

I want to use a myRIO in order to measure a voltage of a 9v battery and later on measure the voltage accross resistors. However there are values greater than 5v that is why i am using the C port using the differential analog in.
The problem is that when I have nothing connected to the connecting wires (while they are connected to ports) and jiggle the wires, i see the value of the measurement change. Also when I connect the battery i see the measurements going from 0 to 8.77.

Any help is appreciated... I do believe it is a straight forward application.

Regards
 

Thread Starter

lenoplix

Joined Jun 11, 2020
31

Thread Starter

lenoplix

Joined Jun 11, 2020
31
Hello,

Wich inouts are you using?
Have a look at the pages 5 and 6 for the specs.

Bertus
C port 0+ 0- and AGND, i am connecting the battery to 0+ and AGND but the readings are off, as well as connecting the battery to 0+ and 0-... tried both connections
 

bertus

Joined Apr 5, 2008
22,270
Hello,

What happens when you connect AI0- to AGND and the minus of the battery and the AI0+ to the + of the battery?

Bertus
 
Top