Problem with sending of commends to Serial Connection

Try to modify your code in function 1 node to something like this

var buf = Buffer.from([0x52, 0x46, 0x38, 0x20, 0x53 , 0x0D, 0x0A]);
msg.payload = buf;
return msg;

And I am not sure if the serial request node can work together with the serial out node, so why not delete one of them and try.

By the way, a corresponding post has been discussed in this forum already.
How to send this HEX command to my device using Node-red - General - Node-RED Forum (nodered.org)

1 Like