Can't connect Tronxy xy2

I have been using Astroprint for a few years now and love it. It has worked fine with my Robo and anet A6’s. I just bought a tronxy XY-2, because, you know, why not!? I can’t get it to work with Astroprint at all. I have tried all baud rates and none of them will connect. I put octoprint in my pi and it connects and runs fine. I really don’t want to use octoprint. Please, somebody help me! Thanks

It should be compatible. Perhaps enable serial logs, try connecting using a few baud rates and send logs to us so we can see what might be going on.

I have tried all baud rates. I sent the data.
I don’t know if this will help, but the octoprint connects fine at 115200. I have copy and pasted the script from it.

Thanks again.

Changing monitoring state from “Offline” to “Detecting serial port”
Serial port list: [’/dev/ttyUSB0’]
Connecting to: /dev/ttyUSB0
Changing monitoring state from “Detecting serial port” to “Opening serial port”
Connected to: Serial<id=0x711d0d10, open=True>(port=’/dev/ttyUSB0’, baudrate=115200, bytesize=8, parity=‘N’, stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Starting baud rate detection…
Changing monitoring state from “Opening serial port” to “Detecting baudrate”
Trying baudrate: 115200
Send: N0 M110 N0125
Recv: ok N:0
Changing monitoring state from “Detecting baudrate” to “Operational”
Send: N0 M110 N0
125
Recv: ok N:0
Send: N1 M11539
Recv: ok CBD make it.Date:Dec 10 2018 Time:15:12:35
Send: N2 M21
18
Recv: //SD init fail!
Recv: ok N:2
Send: N3 M10536
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N4 M105
35
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N5 M10534
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N6 M105
33
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N7 M10532
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N8 M105
47
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N9 M10546
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N10 M105
22
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N11 M10523
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N12 M105
20
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N13 M10521
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N14 M105
18
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N15 M10519
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N16 M105
16
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Connection closed, closing down monitor
Changing monitoring state from “Operational” to “Offline”
Changing monitoring state from “Offline” to “Detecting serial port”
Serial port list: [’/dev/ttyUSB0’]
Connecting to: /dev/ttyUSB0
Changing monitoring state from “Detecting serial port” to “Opening serial port”
Connected to: Serial<id=0x711d0d10, open=True>(port=’/dev/ttyUSB0’, baudrate=250000, bytesize=8, parity=‘N’, stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from “Opening serial port” to “Connecting”
Send: N0 M110 N0125
There was a timeout while trying to connect to the printer
Changing monitoring state from “Connecting” to “Offline”
Connection closed, closing down monitor
Changing monitoring state from “Offline” to “Detecting serial port”
Serial port list: [’/dev/ttyUSB0’]
Connecting to: /dev/ttyUSB0
Changing monitoring state from “Detecting serial port” to “Opening serial port”
Connected to: Serial<id=0x674d7050, open=True>(port=’/dev/ttyUSB0’, baudrate=115200, bytesize=8, parity=‘N’, stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from “Opening serial port” to “Connecting”
Send: N0 M110 N0
125
Recv: ok N:0
Changing monitoring state from “Connecting” to “Operational”
Send: N0 M110 N0125
Recv: ok N:0
Send: N1 M115
39
Recv: ok CBD make it.Date:Dec 10 2018 Time:15:12:35
Send: N2 M2118
Recv: //SD init fail!
Recv: ok N:2
Send: N3 M105
36
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N4 M10535
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N5 M105
34
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N6 M10533
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N7 G91
22
Recv: ok N:7
Send: N8 G1 Y10 F600056
Recv: ok N:8
Send: N9 G90
25
Recv: wait
Recv: ok N:9
Send: N10 G9132
Recv: ok N:10
Send: N11 G1 Z10 F200
55
Recv: ok N:11
Send: N12 G9035
Recv: wait
Recv: wait
Recv: ok N:12
Send: N13 M105
21
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N14 G9136
Recv: ok N:14
Send: N15 G28 X0 Y0
38
Recv: wait
Recv: wait
Recv: wait
Recv: wait
Recv: wait
Recv: wait
Recv: wait
Recv: wait
Recv: wait
Recv: ok N:15
Send: N16 G9039
Recv: ok N:16
Send: N17 M105
17
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N18 M10530
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N19 M105
31
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N20 M10521
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N21 M105
20
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Connection closed, closing down monitor
Changing monitoring state from “Operational” to “Offline”
Changing monitoring state from “Offline” to “Detecting serial port”
Serial port list: [’/dev/ttyUSB0’]
Connecting to: /dev/ttyUSB0
Changing monitoring state from “Detecting serial port” to “Opening serial port”
Connected to: Serial<id=0x6a933a10, open=True>(port=’/dev/ttyUSB0’, baudrate=250000, bytesize=8, parity=‘N’, stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from “Opening serial port” to “Connecting”
Send: N0 M110 N0125
There was a timeout while trying to connect to the printer
Changing monitoring state from “Connecting” to “Offline”
Connection closed, closing down monitor
Changing monitoring state from “Offline” to “Detecting serial port”
Serial port list: [’/dev/ttyUSB0’]
Connecting to: /dev/ttyUSB0
Changing monitoring state from “Detecting serial port” to “Opening serial port”
Connected to: Serial<id=0x671f8b50, open=True>(port=’/dev/ttyUSB0’, baudrate=115200, bytesize=8, parity=‘N’, stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Changing monitoring state from “Opening serial port” to “Connecting”
Send: N0 M110 N0
125
Recv: ok N:0
Changing monitoring state from “Connecting” to “Operational”
Send: N0 M110 N0125
Recv: ok N:0
Send: N1 M115
39
Recv: ok CBD make it.Date:Dec 10 2018 Time:15:12:35
Send: N2 M2118
Recv: //SD init fail!
Recv: ok N:2
Send: N3 M105
36
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N4 M10535
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N5 M105
34
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N6 M10533
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N7 M105
32
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N8 M10547
Recv: ok T:20 /0 B:21 /0 @:0 B@:0
Send: N9 M105
46
Recv: ok T:20 /0 B:21 /0 @:0 B@:0

Well…I don’t know why it works this time, but after shutting down and retrying multiple times, it is connecting now. Go figure. Thanks!

2 Likes

I’ve experience the same issue with a Ultimaker 2+. After initial setup of the Astrobox, no matter what baud rate I set to connect it will fail.

I restart the Raspberry Pi and turn the printer off and then on and it starts to connect at the correct baud rate and then never has any further connection issues.

I was having problems with it disconnecting. It even stopped mid print a few times. Besides that, it was a horrible printer anyway. I fixed the issue by sending it back and getting an ender 3. It works great so far.