0
Offline
Full Member
Karma: 1
Posts: 137
|
 |
« on: January 29, 2013, 08:53:08 am » |
Hi, I would like to measure a voltage drop across a resistor. The voltage over that resistor is 0,7V to 1.4V although the voltage at the resistor can vary between 10 to 14V (that's why the voltage drop is so interesting).
How can I do that?
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15316
Measurement changes behavior
|
 |
« Reply #1 on: January 29, 2013, 09:00:37 am » |
Hi, I would like to measure a voltage drop across a resistor. The voltage over that resistor is 0,7V to 1.4V although the voltage at the resistor can vary between 10 to 14V (that's why the voltage drop is so interesting).
How can I do that?
Well it's pretty easy if you have a digital multimeter, you just place the volt meters leads across the two resistor leads and measure it's voltage drop directly. Or you could measure each end with respect to ground and subtract the difference, both would be the voltage drop across the resistor. Now if you asking how you could have an arduino measure it when that is a different animal in that the voltage to be measured at either end of the resistor must always be less then +5vdc as that is the electrical limit the AI pin can be subjected to. So what are you trying to accomplish or learn? Lefty
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 1
Posts: 137
|
 |
« Reply #2 on: January 29, 2013, 09:55:37 am » |
I'd like to measure that with the arduino.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15316
Measurement changes behavior
|
 |
« Reply #3 on: January 29, 2013, 10:02:49 am » |
I'd like to measure that with the arduino.
That's a little more difficult, as I said the arduino will be damaged if subjected to greater then +5vdc. Maybe with voltage divider resistors wired to both side of the resistor to be measured would work but kind of cluggy. Would have to see the wiring you are presently using for the resistor in question. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Sr. Member
Karma: 12
Posts: 327
The last thing you did is where you should start looking.
|
 |
« Reply #4 on: January 29, 2013, 12:03:00 pm » |
Please attach a drawing or schematic of your project.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 1
Posts: 137
|
 |
« Reply #5 on: January 29, 2013, 12:53:48 pm » |
Here you are
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5920
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #6 on: January 29, 2013, 01:05:09 pm » |
If you power arduino with a battery, you can do that measurement. If you use USB, your arduino gnd is tied to the common ground, you will damage arduino. Not sure about ac adapters. They seem to be floating or are they? How large are these resistors you drew. If they are not very large, you can build another voltage divider to get the voltage lowered. But the resolution of arduino will suffer if you lower the voltage to 0-5V since your variation will be scaled down from 0,7-1,4 to about 1/3 of that. Can you swap the locations of the two resistors? That'll be truly useful.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15316
Measurement changes behavior
|
 |
« Reply #7 on: January 29, 2013, 01:07:48 pm » |
If you power arduino with a battery, you can do that measurement. How? The arduino board must still share a common ground with the voltage source driving the constant current driver so I don't see how that solves the 'too high a voltage for an arduino AI pin, no matter how you power the arduino board? Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Sr. Member
Karma: 12
Posts: 327
The last thing you did is where you should start looking.
|
 |
« Reply #8 on: January 29, 2013, 01:13:36 pm » |
See ideas for layout:
|
|
|
|
|
Logged
|
|
|
|
|
Central MN, USA
Offline
Faraday Member
Karma: 35
Posts: 5920
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
|
 |
« Reply #9 on: January 29, 2013, 01:21:46 pm » |
If you power arduino with a battery, you can do that measurement. How? The arduino board must still share a common ground with the voltage source driving the constant current driver so I don't see how that solves the 'too high a voltage for an arduino AI pin, no matter how you power the arduino board? Lefty If I use a battery, I would attach floating arduino gnd to the junction between the two resistors and measure the junction between the left resistor and power supply. If the constant current is small, then the junction between it and resistor will have low voltage. Otherwise it's as high as 10-14V. There's no numbers to decide which way it is.
|
|
|
|
|
Logged
|
|
|
|
|
Australia
Offline
Full Member
Karma: 5
Posts: 200
|
 |
« Reply #10 on: January 29, 2013, 05:29:18 pm » |
You need an opamp specifically designed for this purpose like this. http://www.analog.com/static/imported-files/data_sheets/AD626.pdfOperates off 5V , but can measure common mode voltages as high as 50 V. Has fixed gain of either 10 or 100.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 114
Posts: 2205
|
 |
« Reply #11 on: January 29, 2013, 06:09:25 pm » |
How can I do that? Find an opamp with common mode voltage range beyond its supplies. Likely an instrumentation opamp.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Full Member
Karma: 1
Posts: 137
|
 |
« Reply #12 on: January 30, 2013, 07:07:25 am » |
Found a TI chip named INA200...need to order now
|
|
|
|
|
Logged
|
|
|
|
|
|