Sending commands via console port
I'm struggling to find a way to send control commands to our Minis, MK4s and XL over serial ports. I am monitoring the printer for activity via the micro USB/USB C ports, using 57600 baud and 8/N/1. I have no trouble reading and parsing the information coming through. What I haven't been able to get working is sending basic commands like M604 to cancel a print in progress if it's outside approved time limits (maker space) or an alert via M0 (M0/M1 still don't work as advertised - opening up a request on github separately for that).
Sending commands via Pronterface works fine, though I see the connection is at 115200/8/N/1.
Am I missing something here, like DTR, DCD, CTS flags? I have the same issues in Realterm, Tera Term, putty, any console software.
Any advice would be appreciated.
-Ryan
RE: Sending commands via console port
Updating: I was able to interact at 115200 8/N/1.. Unfortunately I haven't been able to find a way to abort a print regardless of the current progress. Is this possible, or do I just solder to the reset pin? 😛
RE:
You can send abort command via web API (PrusaLink),.it may be much more convenient.
Moreover you could connect them to Home Assistant and control there.
See my GitHub and printables.com for some 3d stuff that you may like.
RE: Sending commands via console port
We aren't deploying Home Assistant at our maker space just to abort a print, thanks though. I specifically need to prevent or abort a print before it starts unless the user is authorized by a separate stand alone device. Was hoping to do it without having to maintain custom firmware, but that may be the only way at this point.