Activity Forums Questions & Troubleshooting Software & Firmware AnalogInput Reading Problem with Maxi Power automation

  • AnalogInput Reading Problem with Maxi Power automation

     Lro007 updated 3 years, 11 months ago 2 Members · 7 Posts
  • Lro007

    Member
    January 14, 2021 at 1:29 am

    Hi…

    I’ have been trying to get an Analog reading according to the power supply of the controllino Maxi Power Automation, here is my setup…

    Power supply for Controllino: 12 VDC

    Analog Input connected directly to 12 VDC

    Result for analogRead of the input = 402

    According to the manual that analog reading is consistent with a 24 Volts Power supply, and this is not the case in this situation…

    Am i doing something wrong?? Am i missing something??

    Thanks

  • ivan-controllino

    Administrator
    January 14, 2021 at 2:42 pm

    Hi Lro007, thank you for joining our forum!

    The Maxi Power Automation is only 24V-compatible, it has no internal switch for 12V. Please check your Controllino labels, there you will see the 24V and GND label.

    That’s the issue why you also get 402 of your reading.

  • ivan-controllino

    Administrator
    January 14, 2021 at 3:14 pm

    Hi again, Lro007.

    I’m moving your activity feed reply here into the forum:

    Hi Ivan

    thank you so much for for reply…
    I just review (again) the information for the controllino Maxi Power Automation, and i could not find that specific piece of information regarding the no internal switch for 12 V… (maybe i’m not looking at the right place); since i really need to look for a solution can you tell me if there is a Workaround for this situation?

    Thanks”

    Comment replies in the activity feed are actually not there to reply to a forum topic. As it’s indeed a bit confusing, we have now removed the comment function for activity feed posts that are about discussions.

    Anyway, I can definitely ask the team if there is a workaround, as I’m not 100% aware of all technical details. Can you please describe me what your use case is and what you are trying to achieve / how the end result should look like? Thanks a lot!

    • Lro007

      Member
      January 14, 2021 at 3:28 pm

      Hi Ivan..

      I´m working on a data acquisition application of 0-10 V analog sensors, I was working with the Maxi power automation and with a power supply of 24 V, with no problems..

      In this case, a 12V at an input would produce a Result for analogRead of the input = 402

      But after some data analysis i realized that i needed more resolution, so i decided to switch to a 12V power supply following the provided manual instructions, but as you saw earlier in this post the resolution does not change…

      I need 12V at an input to produce a Result for analogRead of the input = 804 or something like that, in order to better take advantage of the 10 bit conversion of the Analog Input.

      • ivan-controllino

        Administrator
        January 14, 2021 at 4:13 pm

        Hi again and thank you for your explaination,

        hmm, I’m afraid there is no practical way to increase the resolution by scaling down to 12V as the Automation series is working with 24V-only, but I will still ask the team tomorrow when I’m in office.

        Please wait for a reply until tomorrow, maybe there are other options that some of our team members can think of.

        All the best in the meanwhile!

      • ivan-controllino

        Administrator
        January 15, 2021 at 1:28 pm

        Hi again, @Lro007

        I’m sorry to tell you that there is really no practical way to achieve what you need, without purchasing some addon modules or similar things…

        • Lro007

          Member
          January 15, 2021 at 7:42 pm

          Hi Ivan…

          ok, got it, i ‘ve already sent an e-mail to see if the information provided on the manuals can be changed according to the specific model so this kind of confusion can be prevented in the future..

          In the meantime, and just for you to know, I am doing some tests with a Controllino Maxi Pure,

          Power supply –> 12 VDC

          Analog Input connected directy to 12 VDC

          Result for AnalogRead of the Input = around 803

          This is the expected conversion, seems ok, but then again, with this setup the only possible way for me to get the full range (0-1024) is to have an Input ranging from 0 — 15,36 VDC and the official instruction Manual reads: “If you use a 12V supply voltage the measured value can be between 0-13,2V”… so the full scale of the 10 bit resolution will be unattainable

Viewing 1 - 3 of 3 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now