Connect to Octoprint and PC via USB
Hi all - just a general quick question.
Is there a way to connect to a Prusa MK3 via both Octoprint and PC connection via USB?
Just installed Octoprint, but might be handy to maintain the direct connection if required - any pointers much appreciated!
RE: Connect to Octoprint and PC via USB
Do you use one device or many devices? Not clear what you're trying to do. Octoprint = Software, PC = Hardware, MK3 = Hardware
Often linked posts:
Going small with MMU2
Real Multi Material
My prints on Instagram
RE: Connect to Octoprint and PC via USB
Sorry - strictly OctoPi running Octoprint.
So one OctoPi on a Pi 3b+ connected by usb and likewise I'd like to maintain my current usb connection from my PC ( ie so I can send gcode to Prusa through Prusa's software also.
This make sense?
RE: Connect to Octoprint and PC via USB
Yes, make sense. But no, it's not possible.
USB specification doesn't allow that. MK3 is USB client and PC/Octopi is USB host. You can't have one client connected to two hosts at the same time.
It's the same like you're trying to attach one USB hard drive to two PC's and use it at the same time.
Often linked posts:
Going small with MMU2
Real Multi Material
My prints on Instagram
RE: Connect to Octoprint and PC via USB
Yes you can do both!
Sorta...
Initializing the USB connection will reset the printer though, so be careful.
You have to connect the Pi to the printer via the GPIO pins, and connect the computer to the printer via USB.
This is how I have my printer connected. Daily use of printer is via octoprint (GPIO). Firmware flashing is done via the computer (USB).
If all you want to do is send Gcode from your computer, you can do that from the serial console within octoprint. Just pull it up in your web browser and type in the Gcodes. That way you can just plug the Pi in via USB and have the best of both worlds.