I am using a USB-1608G to measure current using an analog differential input with the universal library for Python. I am trying to measure the the system current load by sending 4.0V across a 0.1 ohm resistor and measuring the voltage drop across it. When changing the system load's current I am unable to get accurate readings when the current is above 200 mA. However when I start to get into the lower counts, such as 20 mA, I am unable to get any accurate readings. At 4V with a 20mA load I am getting a reading of about 15mA and as the current goes lower it gets more and more inaccurate. See table below.
Also during testing this I noticed that the ADC counts are higher than the expected 32,768 (2^15), with the differential input ADC count at 4.0V at 20mA being 32818 which is higher than the ADC should be able to read. I was under the impression that each the MSB was used for positive or negative with the remaining 15 being the count.
Question
liamsul
Hello,
I am using a USB-1608G to measure current using an analog differential input with the universal library for Python. I am trying to measure the the system current load by sending 4.0V across a 0.1 ohm resistor and measuring the voltage drop across it. When changing the system load's current I am unable to get accurate readings when the current is above 200 mA. However when I start to get into the lower counts, such as 20 mA, I am unable to get any accurate readings. At 4V with a 20mA load I am getting a reading of about 15mA and as the current goes lower it gets more and more inaccurate. See table below.
Also during testing this I noticed that the ADC counts are higher than the expected 32,768 (2^15), with the differential input ADC count at 4.0V at 20mA being 32818 which is higher than the ADC should be able to read. I was under the impression that each the MSB was used for positive or negative with the remaining 15 being the count.
With ~20ma Load:
Any help on this would be greatly appreciated!
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now