04-27-2017 01:37 AM
I Want to measure the resistance of a sensor using USB-6210 ,but i am not getting the accurate result Can you please help me about the circuit as i need to connect 5v as input and ground to the circuit , can i get the output of circuit by connecting it to the analog input pin ai9
thanks
04-27-2017 08:14 AM - edited 04-27-2017 08:15 AM
Parulp,
Think about this, you are using a piece of equipment that captures voltage using the analog inputs. If you place 5V and ground across the sensor, what would you expect to read? (5V of course)
How is resistance calculated? (V/I)
We already know how to measure V across the sensor inputs. The question is how to find the current? You will need to place a Current Sense Resistor (0.1 ohm) in series with the sensor and read the voltage drop across that resistor. Reading the Voltage across a known resistance will give you I which can then be used to calculate the sensor resistance. BE CAREFUL. Not many sensors are purely resistive in nature.