There may be times when you want to link your printer to a Linux laptop via the serial link.
Its very handy to be able to slice and print straight from a connected computer.
...so here is the procedure.
The USB connector on my Creality CR-10-V3 is not exactly 'plug-and-play' because the printer uses a serial interface to communicate with the rather simple printer controller.Notes:
- the printer board seems to be back-powered by this connector, so I suggest you power up both computer and printer controller before connecting the serial cable between the two. Likewise, when you are done, disconnect the serial cable before powering off either the printer or the controller. Or simply disconnect the 5Volt feed like this: http://captainbodgit.blogspot.com/2021/05/3d-printer-isolating-usb-5volt-feed.html)
- In Linux, to use the serial port you need to run applications with elevated permissions. This means running applications like Pronterface or Cura as root (e.g. sudo pronterface) or, preferably, adding your user account to both the tty and dialout groups.
Procedure;
On your Linux machine, open a terminal and type:-
lsusb
Then, with the printer powered on, connect a known working USB cable between computer and printer.
Once again, in a terminal type:-
lsusb
In my case the printer is identified as: QinHeng Electronics
By comparing the two lists of USB devices, you should be able to confirm that Linux has successfully detected the printer's interface. If Linux can't report the printer device, you have a problem! You may need to do some research to see whether you require any additional FTDI drivers.
for Cura
As recommended above, rather than use sudo cura to run the Cura slicer, add required groups to your user via a terminal command, e.g. for user steve
sudo usermod -a -G tty,dialout steve
Note: you will probably need to reboot for this change to take affect
Now simply run Cura with computer connected to 3D printer and check that you can slice a model and then use the Print via USB option.
See also: http://captainbodgit.blogspot.com/2021/05/3d-printing-via-cura-on-linux.html
for Pronterface
Using your file manager, navigate to /dev and look for the appropriate device.
On my system it is: /dev/ttyUSB0
If you can't identify your device, you may have to do a similar before/after comparison by connecting/disconnection the cable.
Using an application such as Pronterface, you simply enter this device number into the setting screen, along with the printer's Baud rate (in my case that is 115200).
...and that's about it!
No comments:
Post a Comment