neil.e
Posts: 127
Joined: Nov 12, 2017 12:02 am
Contact: Send private message

Re: OctoPrint issues and tips

Feb 17, 2018 10:42 pm

I'm trying to get OctoPrint working over USB with a Raspberry Pi 3. I must be missing something painfully obvious :) I have OctoPrint up and running. I've connected the Pi to the MK3 with the USB cable that came with the MK3. I can never get the Pi to connect.

I've tried AUTO/AUTO for the Serial Port/Baudrate. I've also tried /dev/ttyACM0 (the only serial port that shows in OctoPrint) and 115200. When I hit connect I hear the fans spin up on the printer, then after a few minutes I get this error in OctoPrint:
Unhandled communication error. There was an unhandled error while talking to the printer. Due to that OctoPrint disconnected. Error: No more baudrates to test, and no suitable baudrate found.
I have firmware 3.1.1-201 installed on the printer and OctoPrint 1.3.6. I must be missing something obvious here, can someone point me in the right direction? Thanks!

neil.e
Posts: 127
Joined: Nov 12, 2017 12:02 am
Contact: Send private message

Re: OctoPrint issues and tips

Feb 18, 2018 2:50 am

I figured it out: apparently having RPi port [on] in the settings prevents USB from working. I turned it off and OctoPrint immediately started working.

Olef
Posts: 334
Joined: Jun 21, 2017 9:31 am
Topics answered: 1
Location: England
Contact: Send private message

Re: OctoPrint issues and tips

Feb 18, 2018 6:56 am

I knew I had seen something about this somewhere but do you think I could think what it was! Glad you found it and posted the answer for others to find :)

User avatar
Protoncek
Posts: 173
Joined: Feb 01, 2017 7:54 am
Location: Menges, Slovenia
Contact: Send private message Website

Re: OctoPrint issues and tips

Feb 18, 2018 8:53 am

Hm....that is commonly known and written many times on this forum (and elsewhere): RPi and USB share same channel on ATmega2560, so it''s one or another.
Even one comm channel causes problems, having two alive is science fiction on such low-powered MCU.

neil.e
Posts: 127
Joined: Nov 12, 2017 12:02 am
Contact: Send private message

Re: OctoPrint issues and tips

Feb 18, 2018 2:27 pm

Protoncek wrote:
Feb 18, 2018 8:53 am
Hm....that is commonly known and written many times on this forum (and elsewhere): RPi and USB share same channel on ATmega2560, so it''s one or another.
Even one comm channel causes problems, having two alive is science fiction on such low-powered MCU.
It may be commonly written but when you don't know what to search for it's not something one can find. I spent a good hour looking around the web and came up with nothing. Case in point: this thread, which is titled "OctoPrint issues and tips". It does not mention this requirement anywhere (well, it didn't, until I posted).

There's also no documentation on the Prusa site or in the manual about all of the commands in the LCD UI saying what "RPi port" is for. Nor does the small section on OctoPrint in the manual, nor the section on OctoPrint on the support page, mention anything about this.

Many of us buying the MK3 are doing so as a first printer. We don't have the years of background of twiddling with hacked together machines like some of the people here do. "Commonly known" doesn't help us if it isn't written down somewhere we can find.

User avatar
Protoncek
Posts: 173
Joined: Feb 01, 2017 7:54 am
Location: Menges, Slovenia
Contact: Send private message Website

Re: OctoPrint issues and tips

Feb 18, 2018 3:30 pm

I'm not sure, but i think that i've read this somewhere in the forum. Anyway, I agree that it doesn't harm if this fact is written on more places. And, i agree that it should be posted in Prusa manual (i guess that eventually it will be).

timothy.g7
Posts: 35
Joined: Oct 11, 2017 1:36 pm
Contact: Send private message

Re: OctoPrint issues and tips

Feb 19, 2018 2:22 am

Just a question about OctoPrint and the filament sensor. Is the filament sensor suppose to work while printing from Octoprint. I continue to have issues with certain filaments false triggering (Mostly Black Petg) but after the latest firmware update I notice that while the sensor is on the print will stop for a while and in the terminal it will report

Send: N4746 G1 X167.212 Y104.257 E38.1640*95
Recv: echo:Enqueing to the front: "G1 E-3 F200"
Recv: echo:Enqueing to the front: "G1 E3 F200"

until it finally starts to go again only it misses large amounts of the print. It will do this several times each time missing large parts of the print until the sensor finally triggers and it asks to unload the filament. at this point after reloading the false trigger it does look like it starts in the place it left off. If I disable the sensor it prints completely fine. I print a lot of Black PETG so i rarely ever turn on the sensor. For the most part It is like this feature remains unusable for almost every case I print from...


hiElvis
Posts: 30
Joined: Sep 26, 2017 10:17 pm
Contact: Send private message

Re: OctoPrint issues and tips

Feb 19, 2018 8:45 pm

I'm using a Rpi3 that was working well with another printer and is now only connected to the MK3 using the same USB cable, Serialport set to "AUTO" or "/dev/ttyACM0", Baudrate 250000 I get the following error when trying to connect:

Code: Select all

Send: N0 M110 N0*125 Recv: \x1e\x06~\x06��\x06~��f��\x06����\x18�x��\x06\x18�\x06��\x18x\x00��\x18\x06f��\x06����\x18\x18�\x06��\x06~\x00�f\x06\x06x\x06\x06~f\x06x�\x18\x18`f��\x06\x18��\x18\x18x\x00��\x18\x18���\x1e����\x1e�\x18x\x1e\x18\x18\x06�\x00f~`\x06���\x18�~\x00\x18�������f\x06�\x00\x18xf�x\x06f~��`\x06������xf�~f���\x1e����\x00f���f\x06x�\x18\x18`f��\x06\x18��\x18\x18x\x00��\x18\x18\x06f��\x06����\x18\x18`\x18fxf\x06�\x1efx����\x18f�~\x00���\x1ex��\x18\x18\x18f�\x06����f����f~x�xf����f\x06~f���~\x00���x\x06\x18x��f��\x06����\x18�\x06��\x06x\x1e��`fx`\x06\x18`f�x\x06f~��`\x06��fx`\x06~����~��\x06\x18���\x06\x06xf\x06x��\x06\x06x\x1e�f�����`�\x06\x1e��f��\x06�`fx`fx\x1e\x06~\x00�\x06��\x06��\x06�f\x06`\x06�\x1e��`f�\x1e�x\x06�x\x00�f�����`\x06�����\x00����`fx�\x18���\x18f\x1ef\x06���\x00f\x00\x06f���\x18xf�f�����`�~\x06\x18\x06x��fx��\x1e��\x18\x06\x18\x06`f�\x1ef\x00��\x06�f\x06`����f��\x06������\x06`\x00��f��\x06x\x00������ There was a timeout while trying to connect to the printer
Octoprint: latest (1.3.6)
MK3: latest (3.1.1)
I'm sure it's something stupidly simple, but I couldn't google myself to a solution.

Thanks for your help!

EDIT: Baudrate 115200 seems to work just fine! Is this the MK3s limit, I don't think so?

john.v11
Posts: 93
Joined: Jul 12, 2017 2:43 pm
Contact: Send private message

Re: OctoPrint issues and tips

Feb 20, 2018 3:29 am

Non-standard baud rates or those greater than 115200 are not always setup by default. The issue is most likely in octoprint. The 115200 rate works fine for me printing the last few hundred hours or so.

Here's a quick google link from 2012 that touches on the issue. (I'm sure there are more current links) https://github.com/MarlinFirmware/Marlin/issues/205

Return to “User mods - OctoPrint, enclosures, nozzles, ...”

Who is online

Users browsing this forum: Frio and 1 guest