Hi there,
I am trying to read a battery voltage (3.39 V) using 10bit-ADC (MCP3002 with SPI) by MyRIO 1900. I think I have connected everything correctly (plz see the attached). However, the output value is constant on 1023 which is equal to 2^10 (in other words, all the bits of ADC have one value (1111111111)), which is the completely wrong value. Also, the result (1023) will not change even if all the wires between ADC and MyRIO are disconnected. MyRIO .vi file and other pictograms are attached.
Please, is there anybody can tell me where is my mistake?
Thanks for any help in advance!
↧
Reading battery voltage using the 10 bit ADC via SPI on MyRIO-1900
↧