Arduino and 0...20 and 4...20mA current loop sensors
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 11
- Joined: Mon Aug 26, 2013 3:21 pm
Arduino and 0...20 and 4...20mA current loop sensors
I have a bunch of industrial sensors, e.g. pressure transducers, that output current. How can I connect them to the arduino? I seem to remember a trick involving a resistor turning that current signal into a voltage, but I'm not quite sure right now how to do this and I'd rather ask first before I sacrificing anything to the blue smoke demons.
-
- Posts: 11
- Joined: Mon Aug 26, 2013 3:21 pm
Re: Arduino and 0...20 and 4...20mA current loop sensors
Ok, I seem to remeber that it is possible to convert a 20mA signal to 5Vwith a 250 Ohm resistor... Can anyone elaborate?
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Arduino and 0...20 and 4...20mA current loop sensors
Ohm's law is what you are looking for: V=IR
The voltage drop (V) across your resistor will be equal to the resistance (R) times the current (I) flowing through it.
The voltage drop (V) across your resistor will be equal to the resistance (R) times the current (I) flowing through it.
-
- Posts: 11
- Joined: Mon Aug 26, 2013 3:21 pm
Re: Arduino and 0...20 and 4...20mA current loop sensors
Yes, I remember that , so in principle I measure the voltage drop across a 250 ohm resistor placed into the current loop with my arduino. Regardless if that current loop utilizes 20 or so volts. That's what I was somewhat afraid of.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: Arduino and 0...20 and 4...20mA current loop sensors
By definition, if it is a 4-20mA loop, any (Ohm's) law-abiding resistor will give you the right voltage drop. Current loops are used to eliminate the effect of wire resistance over a long run. If there is a lot of resistance, the line driver will increase the voltage as necessary to achieve the appropriate current. Any resistor inserted at any point in that loop will still obey Ohm's law.Regardless if that current loop utilizes 20 or so volts.
-
- Posts: 11
- Joined: Mon Aug 26, 2013 3:21 pm
Please be positive and constructive with your questions and comments.