Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to read data analog from 4-20mA port?
#1
Hi. I have already bought 6 units of KC868-A4 model on Ali Express Order ID: 8154057463938467. There are 2 ports for 4-20mA. I have a TDS sensor output 4-20mA range 0-4400 us/ms. 

Got 2 question.

1) Can you give a source code how to read from the 4-20mA port? 
2) If my sensor signal 4-20mA to 0-5v is using 250ohm right? Can you show the diagram how to connect. Thanks.

My TDS sensor have a 3 wire (+,  - & Signal (S1)).

       
Reply
#2
read 4-20mA or 0-5v sensor, use same arduino code, here is demo source code of ADC:
https://www.kincony.com/forum/showthread.php?tid=1644

if you using KC868-A4, you not need to convert 4-20mA to 0-5v signal, just series connection with your sensor and KC868-A4.
such as : power supply + --> your 4-20mA sensor --> output to KC868-A4's analog input+ --> KC868-A4's analog input- --> power supply GND
Reply
#3
(09-25-2022, 10:12 PM)admin Wrote: read 4-20mA or 0-5v sensor, use same arduino code, here is demo source code of ADC:
https://www.kincony.com/forum/showthread.php?tid=1644

if you using KC868-A4, you not need to convert 4-20mA to 0-5v signal, just series connection with your sensor and KC868-A4.
such as : power supply + --> your 4-20mA sensor --> output to KC868-A4's analog input+ --> KC868-A4's analog input- --> power supply GND

Can you draw the Diagram on KC868-A4? The wiring. Just simple draw. with 3 wire.
Reply
#4
here is diagram:
   
Reply
#5
(09-26-2022, 03:44 AM)admin Wrote: here is diagram:

Thanks for helping.
Reply
#6
you are welcome.
Reply
#7
Hi, I would like to plug Siemens mag5000 transmitter flow sensor on kc868-a4. This sensor have + and - 4-20ma output (powered by transmitter). Can you tell me how to plug it on it please ?

I think - to AGND and + to A1 but not sure.

regard


Damien

   
Reply
#8
(12-10-2022, 10:00 AM)Damienlannoy Wrote: Hi, I would like to plug Siemens mag5000 transmitter flow sensor on kc868-a4. This sensor have + and - 4-20ma output (powered by transmitter). Can you tell me how to plug it on it please ?

I think - to AGND and + to A1 but not sure.

regard


Damien

up thread's photo also is suitable for you.
Power+ --> sensor's + --> senor's -  --> KC868-A4's A1
Power - --> AGND
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)