Activity Forums Questions & Troubleshooting Hardware 4-20mA analog input

  • 4-20mA analog input

     Suspended Member updated 2 years, 4 months ago 7 Members · 11 Posts
  • franco

    Member
    December 3, 2019 at 7:25 am

    How do I use a 4-20mA input signal on the controllino?

  • askat0061

    Member
    December 4, 2019 at 8:04 am

    If you mean detecting that signal. Probably u can connect it to resistor and read the Voltage change as current changes.

  • franco

    Member
    December 4, 2019 at 9:48 am

    Thank u so much. I see it’s same way we do with arduino

  • visztani

    Member
    September 3, 2020 at 5:26 pm

    Hi,

    I’m new in Arduino and Controllino…

    Can you please post an example circuit and the size of the resistor? It would be a 24v dc pressure transmitter.

    Thanks!

  • miko-edv

    Member
    September 4, 2020 at 9:16 am

    Hi,

    we’ve had a similar job a few weeks ago: a laser for distance measurement, operating on 24V, gives 4-20 mA, that the Controllino shall read as analogInput.

    The manufacturer offers an adaptor cabling with a 250 Ohm shunt between the laser’s signal output and ground, to produce 0-5 V analog current. Should work on the Controllino’s X1-port, but the mechanical attachment is not really good for single wires … so the 24V ports are preferred.

    So for our usage, we modified this resistor into 820 Ohm for 8-16V, and if you would take 1k Ohm, you will end at somewhere about 6-20V.

    AnalogRead () now gets values between 80 and 550, that’s a good enough range for our application.

    Good luck

    Michael

  • visztani

    Member
    September 8, 2020 at 9:21 am

    Thank you Michael for your explanation.

    Did you extended it with any other circuit in order to protect Controllino against overvoltage / overcurrent (datasheet warns, the analog input max. current is <3mA )?

    Thanks,

    Peter

  • miko-edv

    Member
    September 8, 2020 at 7:38 pm

    ooppss … never cared about, never took values; it is working “as is”, just a resistor between signal and ground.

  • This content has been hidden as the member is suspended.
  • This content has been hidden as the member is suspended.
  • This content has been hidden as the member is suspended.
  • This content has been hidden as the member is suspended.
Viewing 1 - 11 of 11 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now