AnalogOut on Maxi Automation

Post Reply
niellsonn
Posts: 3
Joined: Wed Apr 22, 2020 1:14 pm

AnalogOut on Maxi Automation

Post by niellsonn » Wed Apr 22, 2020 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: Select all

#include <Controllino.h> 

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.

User avatar
Jarda
Posts: 45
Joined: Fri Dec 14, 2018 10:52 am

Re: AnalogOut on Maxi Automation

Post by Jarda » Mon Apr 27, 2020 10:00 am

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

Thank you
BR
Jarda

niellsonn
Posts: 3
Joined: Wed Apr 22, 2020 1:14 pm

Re: AnalogOut on Maxi Automation

Post by niellsonn » Wed Apr 29, 2020 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

User avatar
Jarda
Posts: 45
Joined: Fri Dec 14, 2018 10:52 am

Re: AnalogOut on Maxi Automation

Post by Jarda » Mon May 18, 2020 11:20 am

Hello,
could you please check this thread> viewtopic.php?f=4&t=2222 ?

Best Regards
Jaroslav

Post Reply