Pages: [1]   Go Down
Author Topic: Measuring voltage over a resistor  (Read 1052 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Full Member
***
Karma: 1
Posts: 140
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Brattain Member
*****
Karma: 362
Posts: 17307
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Full Member
***
Karma: 1
Posts: 140
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'd like to measure that with the arduino.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 362
Posts: 17307
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Faraday Member
**
Karma: 69
Posts: 2862
The last thing you did is where you should start looking.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Please attach a drawing or schematic of your project.
Logged

The way you have it in your schematic isn't the same as how you have it wired up! That goes for me too.

0
Offline Offline
Full Member
***
Karma: 1
Posts: 140
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Here you are


* Neues Bild.png (47.97 KB, 949x513 - viewed 54 times.)
Logged

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 76
Posts: 7305
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Brattain Member
*****
Karma: 362
Posts: 17307
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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 Offline
Faraday Member
**
Karma: 69
Posts: 2862
The last thing you did is where you should start looking.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

See ideas for layout:


* CS.jpg (104.55 KB, 460x485 - viewed 46 times.)
Logged

The way you have it in your schematic isn't the same as how you have it wired up! That goes for me too.

Central MN, USA
Offline Offline
Tesla Member
***
Karma: 76
Posts: 7305
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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 Offline
God Member
*****
Karma: 11
Posts: 516
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You need an opamp specifically designed for this purpose like this.
http://www.analog.com/static/imported-files/data_sheets/AD626.pdf

Operates off 5V , but can measure common mode voltages as high as 50 V.
Has fixed gain of either 10 or 100.
Logged

Offline Offline
Edison Member
*
Karma: 116
Posts: 2205
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
How can I do that?

Find an opamp with common mode voltage range beyond its supplies. Likely an instrumentation opamp.
Logged

0
Offline Offline
Full Member
***
Karma: 1
Posts: 140
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Found a TI chip named INA200...need to order now
Logged

Pages: [1]   Go Up
Jump to: