Hi,
I'm a total beginner when it comes to electronics. But I'm working on a project where I have to read a 4-20mA Signal with a Raspberry Pi. What's the best way to do that?
Thanks in advance and all the best,
Jacques
As hampi pinpoints there is two ways to connect a 4-20mA current loop signal to a A/D converter.hampi wrote:The current needs to be converted to voltage first. This is done with a resistor. If the common mode voltage coming from the cables is not important you could connect the resistor directly to an A/D-converter. Otherwise use a high common mode differential or instrumentation amplifier. There are also specific circuits called current receivers that can be used to get the best precision.
0-10Vdc was a very common analogue signal source, much more common in my experience than 1-5V.yv1hx wrote: BTW, until some years ago, the 4 - 20mA current loop, the 1 to 5Vdc Voltage sources and the 3 to 15 PSI were the most common (if not are the standard) way to send/receive a analog signal in the industrial arena, nowadays those standard are been migrated to industrial Ethernet and HART or Fieldbus devices.
How about you cut out the middle man and do the googling your self
robin48gx wrote: ↑Thu Feb 07, 2019 10:18 amI would really like a Pi Hat that has say four 4-20mA inputs and four 4-20mA inputs.
The 4-20mA signalling protocol is used commonly in industry.
I could lay one out in kicad as its very similar to a project I did with the pi last year ( see https://github.com/robin48gx/TH7 ).
I could re-use the ADC SPI stuff and add some DACS to control voltage to current conversion circuitry.
But its prob 3+ days solid work.
I'd rather buy one.
Anyone know if there is a multi channel pi 4-20mA hat out there already ?
JohnsUPS wrote: ↑Mon Jul 01, 2019 1:58 amWhen you say "4-20ma" signal, that is usually referring to serial communication over a current loop, but as was pointed out, could also be an analog signal that is within that range.
If it is current loop communications that you are referring to, the below may be of help......
If you prefer to roll your own 4-20ma current loop transceiver board, these devices were typically used for that purpose where I used to work:
HCPL-4100 current loop transmitter
HCPL-4200 current loop receiver
Pretty straightforward to implement, but as I noticed when looking up the data sheets, they're not cheap.
Generally I agree that Optical isolation is most often useful, still some implementations will need it, others won't.