input/output 0-20/4-20 mA signal

Hi All,

Project: I want to control the speed, on/off, and direction of a perstaltic pump using an out signal from a flowmeter. the flowmeter can generate 0-20/4-20 mA signal. The pump can also read 0-20/4-20 mA signal.

Question: How can I use the Arduino Uno or any other Arduino board (if more suitable) as a controlling interface here? As far as I know, the Arduino Uno can only read/write a 0-5V signal.
Can I simply use a resistor or there is a better/solid solution to this problem?

Thanks in advance for any guidance help.

Reading 0-20/4-20 mA is easy, and basically only needs a resistor to convert current to voltage.
Making a 4-20mA current loop is a bit more complicated.

Losts of 4-20mA projects on this site.
Start by entering something like "4-20 mA" in the search field on top of this page.

Post#10 in this thread shows a diagram, with some added protection.
Leo..

Of course you could also use a dedicated chip for that.
Note that you will need a higher voltage power supply for this to work (6-24V).

(note: this is not a recommendation/endorsement of the AN462, it is just the first that I found with a quick Google search, I'm sure there will be others).