Saturday, 1 May 2021

3D Printing: printer to Linux computer serial link

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. 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.


  1. 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:
  2. In Linux, to use the serial port you need to run applications with elevated permissions. This means running applications like Pronterface as root (e.g. sudo pronterface) or, preferably, adding you user account to both the tty and dialout groups.


On your Linux machine, open a terminal and type:-


Then, with the printer powered on, connect a known working USB cable between computer and printer.

Once again, in a terminal type:-


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.

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!

You can also use Cura to slice & print via a computers serial link:

No comments:

Post a Comment