Modulating valve control from 4-20 mA flow meter signal

Hi guys

I have a project where I need a modulating valve to control the flow from a flow meter.

I will use an arduino to read the 4-20 mA signal from the flow meter and control the valve using a PWM to 0-10 V signal converter.

My question, has anyone done or seen a project like this before? I would like to see how they solved the schematics and programming of this.

Yes ... use a resistor to create a voltage drop from the 4-20mA signal , feed into an analog input.

Need to know the motor spec to know what it needs to drive it - does it really want 0-10v PWM ?? Or is that what you want to use , whatever the motor wants ??
If you are controlling flow , you want to look at PID loops too.

Few things to have A go at there