Exploring programming a XY6020L power supply via modbus ..#2

Thread Starter

Hockey

Joined Jan 2, 2024
2
Hello,
Looking for some help here! I stumbled upon this thread as I was researching how to communicate with these boards.

I don't have the mini plug for the UART connection into the board... so I soldered wires right into the board beside the port. They are labelled on the underside, and if you looks closely, the traces are visible in the PCB to the port/plug.

Next, I connect my PL2303HX cable (yes I rolled back the Windows driver). Just GND, TX and RX, and try sending some of the commands listed in the post above. It doesn't matter if I try from Arduino Serial Monitor on my PC or from minicom in Ubuntu, I get no response from the read, and not effect from any of the SETs. I confirmed that the PL2303HX is working with a simple loopback as well as an Arduino serial test program using pins 0,1. Perhaps I am formatting the serial messages incorrectly when sending? I tried 9600 8N1, 115200 8N1, I tried swapping the TX and RX (in case they are mis-labled) Really not sure what else to try.

I've never done this kind of thing before (UART communications with a PS board), so hopefully I am just missing something simple.

Let me know if there is some other information you need about my setup to help figure this out.

Much appreciated.

Mod: Link to other thread.
https://forum.allaboutcircuits.com/...l-power-supply-via-modbus.197022/post-1877097
 
Last edited by a moderator:
Top