Activity › Forums › Questions & Troubleshooting › Hardware › AnalogOut on Maxi Automation
-
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 10mAThe Controllino is running on 24V. The Power Supply I want to control is a Meanwell DRA-60-12.
-
Hello, please are you measuring the voltage output of CONTROLLINO without the load?
Thank you
BR
Jarda
-
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
Log in to reply.