I'm currently trying to read values from the voltage monitoring pin on my power supply. I don't understand how can I going to read values from this pin. I've come up with the idea that using Arduino analog pins but I can't complete the circuit to read the signals. It was controlled by PLC before. Here is the datasheet of my power supply: High Voltage Power Supply Datasheet
Thanks in advance.
As I understand the data sheet the monitor outputs are 5V for the full scale voltage and current, fine for 5V Arduinos. For real values multiply the analogRead() by the full output range then divide by 1024.
Yes, the Vmoni pin is a downscaled equivalent of output voltage. For example, if the output voltage is 30.000 kV Vmoni voltage will be 5 Volts. Imoni pin is the same but you can read the current amp. And also I need to print the voltage readings to the LCD screen so the Arduino is vital at this point. I'm really thankful for your reply!
If you have a 5V Arduino, not 3.3V, you can connect directly to the analog input pins. Then the accuracy depends on the stability and accuracy of the 5V power supply. For lower reference voltages, e.g. the built-in 1.1V reference, use a voltage divider to scale down the 5V input to the reference voltage.
Don't forget to connect the Arduino GND to pin 2 or 3 of the power supply as well as Vmoni to an analogue input.
If you are powering the Arduino via USB, then the 5V can vary considerably, (USB 2 specification is 4.75V to 5.25V), even connecting to different USB ports on the same computer will give differing results.
Powering the Arduino from the Vin pin and using the internal voltage regulator to provide the 5V will give a more stable result.
However the voltage may not be exactly 5.000V, but you can calibrate it out in your software.
It should be noted that the HV power supply has a 5 Vdc ± 1% reference voltage source, which can be used as an AREF for the Arduino if the accuracy of its power supply is in doubt.
I think that external AREF is usable only within the range of the operating voltage of the ADC. The ADC will fail if Vcc happens to drop below the external 5V.