Astrobox (on RPi 2) not connecting to Wanhao Duplicator i3 Plus

Hi. I have set up a fresh installation of astrobox on my Raspberry Pi 2, but during the configuration everything stops when connecting to the printer. It just sais “connecting” forever.
I have tried different baud rates, but it doesn’t help. Still just stuck in “connecting”.
Anyone any ideas for how to proceed?

The printer is listed as
pi@astrobox-7894:/var/log/astrobox $ lsusb
Bus 001 Device 008: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter

From the astrobox.log file
2019-07-02 21:19:11,193 - astroprint.boxrouter - INFO - Connected to astroprint service
2019-07-02 21:19:45,458 - astroprint.printer - INFO - Connected to serial port [/dev/ttyUSB0] with baudrate [9600]
2019-07-02 21:19:45,464 - astroprint.printer.marlin.comm - INFO - Changing printer state from [Offline] to [Connecting]
2019-07-02 21:20:05,969 - astroprint.printer.marlin.comm - WARNING - Printer did not respond in time
2019-07-02 21:20:05,976 - astroprint.printer.marlin.comm - INFO - Changing printer state from [Connecting] to [Closed]
2019-07-02 21:20:27,816 - octoprint.server.util - INFO - Client connection closed [Session id: disvgf2y]
2019-07-02 21:20:28,060 - octoprint.server.util - INFO - New connection from client [IP address: 192.168.0.56, Session id: 2dqzdyxw]
2019-07-02 21:20:58,415 - octoprint.server.util - INFO - New connection from client [IP address: 192.168.0.56, Session id: s4goyizp]
2019-07-02 21:20:59,007 - astroprint.printer - WARNING - Printer was already connected
2019-07-02 21:20:59,012 - astroprint.printer - INFO - Connected to serial port [/dev/ttyUSB0] with baudrate [9600]
2019-07-02 21:20:59,816 - octoprint.server.util - INFO - Client connection closed [Session id: 2dqzdyxw]
2019-07-02 21:21:08,417 - astroprint.printer - WARNING - Printer was already connected
2019-07-02 21:21:08,422 - astroprint.printer - INFO - Connected to serial port [/dev/ttyUSB0] with baudrate [57600]
2019-07-02 21:22:00,645 - astroprint.printer - WARNING - Printer was already connected

The baud rate seems wrong. Have you tried 115,200?

After a good night sleep and a baud rate change to 115200 it worked. :slight_smile:
Thanks Daniel.

1 Like