Activity Forums Questions & Troubleshooting Hardware AnalogOut on Maxi Automation

  • AnalogOut on Maxi Automation

     Jarda updated 4 years, 6 months ago 2 Members · 4 Posts
  • niellsonn

    Member
    April 22, 2020 at 1:52 pm

    Hi,

    I have a Power Supply with a 0-10V input and i want to use the 0-10V analogOut on the Maxi Automation to control the Power Output of the Power supply. However, with a pin value of 0, the voltage between AO0 and GND (screw terminal) is 10V and keeps rising as I raise the pin Value. A pin value of 255 results in a Voltage of 18,3 V. What am I doing wrong ?

    Code :

    Code:

    #include

    void setup() {
    pinMode(CONTROLLINO_AO0, OUTPUT);
    }

    // the loop function runs over and over again forever
    void loop() {
    int analogOut0 = 0; // 0 – 255 to be set (0 – 10 000 mV, or 0 – 20 000 uA)
    analogWrite(CONTROLLINO_AO0, analogOut0); // set the analog output 0 to 5V or 10mA

    The Controllino is running on 24V. The Power Supply I want to control is a Meanwell DRA-60-12.

  • Jarda

    Member
    April 27, 2020 at 10:00 am

    Hello,

    please are you measuring the voltage output of CONTROLLINO without the load?

    Thank you

    BR

    Jarda

  • niellsonn

    Member
    April 29, 2020 at 7:41 am

    Hi,

    Thank you for answering. At the time of measuring, the Dim+ (Input of the Power Supply) was connected to AO0 and Dim- to GND. But i am not sure what current goes into Dim+. Is it possible that the load resistance is not high enough ?

    niellsonn

  • Jarda

    Member
    May 18, 2020 at 11:20 am

    Hello,

    could you please check this thread> https://forum.controllino.biz/viewtopic.php?f=4&t=2222” class=”bbcode_url”>https://forum.controllino.biz/viewtopic.php?f=4&t=2222 ?

    Best Regards

    Jaroslav

Viewing 1 - 4 of 4 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now