Go Down

Topic: calculate resistor (Read 421 times) previous topic - next topic

kmkn

I connect my arduino to a flowmeter sensor, with multimeter i got i=12miliamp v=4.2volts (without any resistor). As the sensor output is 4-20miliamps, and arduino limit is 5volts, how should I add a resistor so that I could capture all?

Thanks

retrolefty


"Two wire 4-20ma current loops" require an external DC power supply to provide the loop voltage, 24vdc is the most common supply voltage used but 12vdc will work for most 'transmitters' using that method. So wire the +12vdc to the sensor's positive lead and wire the sensor's negative lead to a 250 ohm resistor and the other end of the resistor wires to the 12 vdc negative terminal. Now add a wire from the 12vdc negative terminal to an arduino ground pin and finally add a wire from the non-grounded end of the 250 ohm resistor to an arduino analog input pin. The sensor will cause the arduino to see a 1 to 5vdc measurement value corresponding to a sensor 0% to 100% flow value.

Lefty

kmkn

For powering the arduino I am using the normal power adapter.
So my wire will come from the sensor output positive, negative and ground
Thank you for the reply.

Runaway Pancake

#3
Mar 25, 2013, 03:36 am Last Edit: Mar 25, 2013, 04:07 am by Runaway Pancake Reason: 1
5V / 0.02A = 250?

> > >
current loop current : voltage across resistor, to Arduino Analog In pin
but
something makes me want to buffer that (LM358)
[Maybe it's those infrared hot dogs I ate?]
"Hello, I must be going..."
"You gotta fight -- for your right -- to party!"
Don't react - Read.
"Who is like unto the beast? who is able to make war with him?"

mjkzz

Here are some basic stuff from National Instruments (English)

http://www.ni.com/white-paper/6940/en

Search for "mjkzz" on eBay :-)

kmkn

I think it is a 4 wire, and powered by transmitter ...so how? thanks

Go Up