What is the problem?
I want to connect an Artillery Sidewinder X1 to octoprint but I only managed to do it once until it would refuse to connect because of this error:
Connecting to: /dev/ttyUSB0
Changing monitoring state from "Offline" to "Opening serial port"
Connected to: Serial<id=0xaf9bce50, open=True>(port='/dev/ttyUSB0', baudrate=250000, bytesize=8, parity='N', stopbits=1, timeout=30.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from "Opening serial port" to "Connecting"
Send: N0 M110 N0*125
No answer from the printer within the connection timeout, trying another hello
Send: N0 M110 N0*125
There was a timeout while trying to connect to the printer
Changing monitoring state from "Connecting" to "Offline"
Connection closed, closing down monitor
What did you already do to try to solve it?
I have tried changing baud rates and ports and I have updated the Artillery printer firmware.
Logs
OctoPrint log:
https://drive.google.com/file/d/1VduV87TToyTFBKT_VtPStXn4Elsz1hU0/view?usp=sharing
Terminal output:
Connecting to: /dev/ttyUSB0
Changing monitoring state from "Offline" to "Opening serial port"
Connected to: Serial<id=0xaf9bce50, open=True>(port='/dev/ttyUSB0', baudrate=250000, bytesize=8, parity='N', stopbits=1, timeout=30.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from "Opening serial port" to "Connecting"
Send: N0 M110 N0*125
No answer from the printer within the connection timeout, trying another hello
Send: N0 M110 N0*125
There was a timeout while trying to connect to the printer
Changing monitoring state from "Connecting" to "Offline"
Connection closed, closing down monitor
Additional information about your setup
I have tried on macOS High Sierra (version 10.13 ), Windows 10, and Debian 10 (Buster).
I am slicing with Ultimaker Cura 4.6
and I have Octoprint version OctoPrint : 1.4.0.
Pi is Raspberry pi 1 model B
Printer is Artillery Sidewinder X1 (Evnovo)
Marlin firmware version 2.0.5.3 (stable)
I have also tried connecting the printer directly to a PC using Cura's printer control and it worked perfectly. USB and SD printing works fine as well.