Notifications
Clear all

Raspberry Pi3 USB & wifi performance  

  RSS
Bigdogbro1
(@bigdogbro1)
Estimable Member
Raspberry Pi3 USB & wifi performance

Hi All,

I would like to try using a RPi3 B+ WiFi to then load files thru the RPi3 USB to my MK3 but I have heard that the file transfer time is slow. I just tried to upload a 5MB gcode file to the MK3 USB using the printer control in Simplify3D running 115k baud and it would have taken ten minutes. Is this what I can expect going wireless then thru to the MK3 USB?
Your comments are welcomed and would appreciate if you could share your experience.

Thanks!

MK3 Kit, Designed, built 4x4 CNC Plasma Cutting Table, Motorcycles Bigdogbro's Adventures
http://www.youtube.com/channel/UC5djrxBeeOKB9_6rHnn6G8A

Napsal : 28/08/2018 4:28 pm
jweaver
(@jweaver)
Honorable Member
Re: Raspberry Pi3 USB & wifi performance

I am planning on adding my Pi3 tonight.. Why would you upload to the Pi via USB? I assumed the Pi could be "mounted" on the PC, so you would simply save the file to the mount point from your slicer?

Napsal : 28/08/2018 4:37 pm
Willywidget
(@willywidget)
Trusted Member
Re: Raspberry Pi3 USB & wifi performance

Hi BigDogBro1,

I assume you mean that you are uploading files to the MK3 via USB and want to know if it will be the same experience with uploading the file from the Pi 3 (Octoprint) to the MK3 via USB over wireless. Yes it will just as slow unfortunately. This is because the USB on the MK3 isn't true USB. It is serial over USB. You are limited to the serial baud rate on that Einsy port.

There are two ways around this, upload the file to Pi 3 and print over USB. Uploads will be quick over wireless to the Pi 3 and printing from the internal memory of the Pi 3 shouldn’t impact performance. However I think you lose some of the features that you get from printing from SD card. However in turn you gain some features of Octoprint by letting it control the print job. I also remember there being some issues with skipped lines in gcode that affected older MK3 firmware versions when printing this way.

The other way around the serial baud rate limit is to use a Toshiba FlashAir SD card. Effectively the SD card becomes a file share on your wireless network and you simply copy your files to it directly and then initiate the print from SD on the Pi 3 or directly on the MK3. There are lots of guides on how to set this up including this forum and https://www.prusaprinters.org/easy-wireless-printing-with-flashair-sd-cards/ . I hope this helps.

Cheers,

Micheal

Napsal : 28/08/2018 5:08 pm
Bigdogbro1
(@bigdogbro1)
Estimable Member
Topic starter answered:
Re: Raspberry Pi3 USB & wifi performance

Thanks Guys!

I would WiFi to the RPi3 then USB to the MK3. I was unaware of the loss and benefits of the Pi3 and Octoprint.

When sending the file to the RPi3 does the MK3 start printing on its own once the file has buffered a bit or do you then have to tell it to start printing?

MK3 Kit, Designed, built 4x4 CNC Plasma Cutting Table, Motorcycles Bigdogbro's Adventures
http://www.youtube.com/channel/UC5djrxBeeOKB9_6rHnn6G8A

Napsal : 28/08/2018 6:31 pm
Phil
 Phil
(@phil-4)
Trusted Member
Re: Raspberry Pi3 USB & wifi performance

You tell it to start printing whenever you are ready. It keeps a list of uploaded files on the rPI and you can then reprint any of them whenever you want.

Napsal : 28/08/2018 7:28 pm
Bytor
(@bytor)
Estimable Member
Re: Raspberry Pi3 USB & wifi performance



When sending the file to the RPi3 does the MK3 start printing on its own once the file has buffered a bit or do you then have to tell it to start printing?

No, the RPi3/OctoPi will not start the print automatically... although I think there is a plugin for the OctoPi that will allow this. Think of the OctoPi as a mini computer connected to the MK3 that you connect to remotely. The storage space on the RPi is the space that you have to store the GCode/STL/etc... If you have a cam you can also store Video files of the print job.

- 1st "printer" TIKO 3D
- 2nd PRUSA i3 MK2S with MMU v1
- 3rd PRUSA i3 MK2S
- 4th PRUSA i3 MK3 with MMU v2- 5th PRUSA i3 MK4 (upgraded from MK3) with MMU v3 (upgraded from…

Napsal : 28/08/2018 7:46 pm
toby.k
(@toby-k)
Trusted Member
Re: Raspberry Pi3 USB & wifi performance

The other way around the serial baud rate limit is to use a Toshiba FlashAir SD card.

I've been running FlashAir on both my Mk2s and Mk3, works perfect on the Mk2s, but sometimes on the Mk3 when first powered on, the FlashAir does not show up on the LAN until I remove and reinsert to SD. Once it's on the LAN and the Mk3 stays powered on, it's there. I assume there's some bug in the Mk3 firmware that causes that because that FlashAir SD card works perfect in the Mk2s.

Initial setup takes a little time, but well worth it. Speed wise, it's pretty fast. I just tested a 10MB gcode upload and it took 18 seconds to both generate and upload...about 12 seconds to just copy the 10MB file to the FlashAir.

Napsal : 28/08/2018 8:56 pm
bobstro
(@bobstro)
Illustrious Member
Re: Raspberry Pi3 USB & wifi performance


[...] Initial setup takes a little time, but well worth it. Speed wise, it's pretty fast. I just tested a 10MB gcode upload and it took 18 seconds to both generate and upload...about 12 seconds to just copy the 10MB file to the FlashAir.
I've had a W-04 FlashAir going for a while now. The basics work well, but copies regularly fail resulting in a 0 length file. Every file on the card is also reset to the same time & date. I'm having better luck using sync software, but still get the occasional 0 length file. Is this a common problem?

My notes and disclaimers on 3D printing

and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan

Napsal : 28/08/2018 9:01 pm
toby.k
(@toby-k)
Trusted Member
Re: Raspberry Pi3 USB & wifi performance

I've never had/seen those issues on my Mk2s or Mk3... however both printers are in the same room as the router. So the FlashAirs are all of 10 ft. max from the wireless source. I do think that the FlashAir SD cards are somewhat limited in range.

Napsal : 29/08/2018 5:04 am
Bigdogbro1
(@bigdogbro1)
Estimable Member
Topic starter answered:
Re: Raspberry Pi3 USB & wifi performance

Thanks for all the comments. I have a Toshiba Flashair W-03 and it's in the same room as the router. It has been running great for months now. I was interested in the new RPi3 B+ as an alternate feed if needed.

MK3 Kit, Designed, built 4x4 CNC Plasma Cutting Table, Motorcycles Bigdogbro's Adventures
http://www.youtube.com/channel/UC5djrxBeeOKB9_6rHnn6G8A

Napsal : 29/08/2018 8:48 pm
Share: