You are here:>>200310 UART communication
200310 UART communication 2023-02-10T18:59:22+00:00

Home Forums Voltage Regulator Support 200310 UART communication

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • James
    Post count: 0

    Hi, I’m trying to control the 200310 over UART.

    I have one of the documents describing the UART protocol. I’ve just been trying to read the voltage setting – sending ‘aru\r\n’ . I’ve set the address to 00 on F3 with the mini-module. I’ve tried both 4800 and 9600 as the baud rate. And I’ve tried swapping the TX and RX pins in case I have them backwards, but I can’t get any kind of response.

    The UART document calls out 4800 baud and 3.3V, but does not mention parity, stop bits, or data bits. I assumed no parity, 8 data bits, 1 stop bit. Could you please confirm this?

    I’ve been using a logic analyzer to confirm that I’m sending out the correct bits

    Is there anything that I’m forgetting? Does the mini-module need to be in a particular mode?

    Thanks for the help!

    SNJ
    Post count: 0

    We’re having a similar issue with 200310. We have several older ones that work fine with our code over UART. Purchased new ones and can’t get any communication over UART. What has changed? Is there a current UART guide?

    tinker
    Post count: 0

    Received, from Amazon, my 200310 4 days ago.

    I can connect, but the 200310 erratically responds.
    First, the response is not only not the expected format, but the length of the response is different every time. (see the discord link for code and example output)

    Also, often (every 15 min?) I need to power off the 200310 because it stops responding to the serial input.

    @James, I had to set the F3 address to 00. Baud: 9600 N81 (see code).

    I have noticed that using only Newline gives better behavior generally than using both NL & CR.

     

    The original link for this product is dead.  Please post the new link!

    tinker
    Post count: 0

    I found, in an answer from Sep 2022, the UART link, but it is clearly old since it still states 4800 Baud rate and I know that is wrong (my converter fails at any rate except 9600)

    For what is worth, the link:
    https://www.droking.com/cs/wp-content/uploads/2022/09/200310-communicate.pdf

    tinker
    Post count: 0

    SUCCESS through trial&error I was able to overcome the inconsistencies in the termination strings and the command patterns.  I stuck everything in an instructable so I can include images.

    https://www.instructables.com/Control-Power-Supply-Via-UART/

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: 200310 UART communication
Your information: