Connot connect OctoPrint to printer anycubic i3 mega

What is the problem?

I cannot connect OctoPrint with raspberry pi 3B.
The communication stuck on first reply.
I have select AUTO and single baud without success

What did you already try to solve it?

As i figured out that the baud rate for that printer is 560000 and working perfectly with windows.
The quite strange thing is that the chip is from SiLabs but i could install profilic driver.
I have already install the plugin Fix CBD Firmware Plugin (0.4.0) to fix the protocol issue, but all that did not help
I don't know how to proceed further.

Have you tried running in safe mode?

Runnind in safe mode does not help.

Did running in safe mode solve the problem?

Runnind in safe mode does not help.

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

octoprint-systeminfo-20220214212647.zip (38.7 KB)
Changing monitoring state from "Offline" to "Opening serial connection"
Connecting to port /dev/ttyUSB0, baudrate 250000
Changing monitoring state from "Opening serial connection" to "Connecting"
Connected to: Serial<id=0x6b196bb0, open=True>(port='/dev/ttyUSB0', baudrate=250000, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Repl: M110 N0 -> M110
Send: N0 M11035
No answer from the printer within the connection timeout, trying another hello
Repl: M110 N0 -> M110
Send: N0 M110
35
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

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

OctoPrint Version 1.7.3
OctoPi Version 0.18.0

Hello @Ksergeother !

After reading your post twice, I think your problem is that you can't connect o your printer (not OctoPi)

Nice you shared all information.
But can you tell us what printer you use?

Thanks and sorry for that. I am using a printer anycubic i3 mega with Trigorilla Pro Board
Firmware version is V1.4.1RC1/P2

You may try different USB cables. Some cables only have power wires but no data wires.

I have a cable currently. I can connect with Cura and Octoprint for Windows. The issue now is that i connect to my printer using raspberry pi 3B

I see.

BTW:
You may delete these plugins:

Rewrite wait to busy
Strip M110 Parameters

These are not compatible to Python 3.7.

I also found this :slight_smile:

Also this:

i remove
Rewrite wait to busy
Strip M110 Parameters

i set the baudrate to 250000. it is still not connect

Changing monitoring state from "Offline" to "Opening serial connection"
Connecting to port /dev/ttyUSB0, baudrate 250000
Changing monitoring state from "Opening serial connection" to "Connecting"
Connected to: Serial<id=0x6c043030, open=True>(port='/dev/ttyUSB0', baudrate=250000, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Repl: M110 N0 -> M110
Send: N0 M11035
No answer from the printer within the connection timeout, trying another hello
Repl: M110 N0 -> M110
Send: N0 M110
35
There was a timeout while trying to connect to the printer
Changing monitoring state from "Connecting" to "Offline"
Connection closed, closing down monitor

I solved the issue following this link. AnyCubic i3 Mega - non standard responses · Issue #2309 · OctoPrint/OctoPrint · GitHub
I have an anycubic i3 mega version 4 with profilic driver.
the original firmware support only 250000 bps which is not working with linux.
After installing the update version, the printer communicate with 115200 and that's worked perfectly now.
I can print now using OctoPrint. Hurraa!

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.