High-Precision-AD-DA-Board icon indicating copy to clipboard operation
High-Precision-AD-DA-Board copied to clipboard

4-20mA current loop

Open chronowerxs opened this issue 4 years ago • 1 comments

Hi!

Can this raspberry pi hat be used to read out 4-20mA current loop sensor devices?

Best regards,

Robert

chronowerxs avatar Jan 28 '21 15:01 chronowerxs

Hi @chronowerxs , it is a bit late but i hope, i can help you or some one else a bit. I am using this hat since 2 Months.

I think it is not possible to messure the 4-20mA directly. But, it is possible to messure it indirectly. You only have to take a burden and messure the Voltage over it.

I hope the following sketch helps:




              Input Voltage
 |+                                    A-
 V                                      |
Sensor --4-20mA -> ----|Resitance|--- -> 
                      |            |
                    AD0         AinCom 
                     Waveshare Hat ADC

For my System i used a 250Ohms resitance with 4-20mA.

U = R*A
U_max = 5V (Waveshare ADC)

=> 5V = R*A 

A_max = 20mA

=> 5V = R * 20mA
switch to R
=> R = 5V / 20mA = 250Ohms

greetings, Daniel

Daniel-R-B avatar Jun 28 '22 07:06 Daniel-R-B