LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-26-2021, 12:59 PM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,496

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
cp210x Module, usbserial & 3dprinting.


I've a new 3d printer here, Anycubic Mega X My initiation in ongoing.

looking in lsusb, I get
Code:
Bus 003 Device 005: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family
Lsmod shows
Code:
bash-5.0$ lsmod |grep cp210x
cp210x                 28672  0
usbserial              45056  1 cp210x
which leads me to think it's on a usb serial port - is that /dev/ttyusb0? If not, what?

Anycubic only cater for Cura, which only writes to file. Is there any wheeze for downloading straight to the printer?
 
Old 01-26-2021, 01:19 PM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by business_kid View Post
I've a new 3d printer here, Anycubic Mega X My initiation in ongoing.

looking in lsusb, I get
Code:
Bus 003 Device 005: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP2102/CP2109 UART Bridge Controller [CP210x family
Lsmod shows
Code:
bash-5.0$ lsmod |grep cp210x
cp210x                 28672  0
usbserial              45056  1 cp210x
which leads me to think it's on a usb serial port - is that /dev/ttyusb0? If not, what?

Anycubic only cater for Cura, which only writes to file. Is there any wheeze for downloading straight to the printer?
You cannot download straight to 3d printers. You can run the printer control connected to the printer from your PC (I use repetier-host) to process the .gcode file and print. If the printer has an sdcard reader you can put the gcode file on it and print directly.

Cura can easily take an stl file input, slice it and create the .gcode file, then control the printer and print it. I have used it, but I prefer to use the slic3r to slice the file to .gcode then use Repetier-Host to actually do the printing.

Some use a Raspberry Pi to actually do the printing since it is low power and easily able to handle the printer control.

And yes, the printer will be the device at /dev/ttyusbS0 or some such.

Last edited by computersavvy; 01-26-2021 at 03:04 PM.
 
1 members found this post helpful.
Old 01-26-2021, 02:02 PM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,496

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by computersavvy
Cura can easily take an stl file input, slice it and create the .gcode file, then control the printer and print it. I have used it, but I prefer to use the slic3r to slice the file to .gcode then use Repetier-Host to actually do the printing.
Thanks for the reply.
How do I control the printer?

I've been through the thing, I have it open as I write this. There may be a menu in a menu in a menu that I haven't checked, but it certainly is well hidden. I'll bet it doesn't know about /dev/ttyusb0. I can give repetier host a bash - tomorrow.

Last edited by business_kid; 01-26-2021 at 02:04 PM.
 
Old 01-26-2021, 02:58 PM   #4
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
With cura (which I have installed from the fedora repo and likely you can do the same for your OS) when you open it up the 2 rows across the top have all you need.

The three buttons -- Prepare -- Preview -- Monitor --- are used in sequence.
The tabs below are where you set everything up.
Files --> you select the file to use (normally an stl file)
the next tab is where you select and configure the printer, including its connection.
the 3rd tab is where you select the material used and more
The last part is where you fine tune the printer settings.

Once a file is open with the prepare button you need to slice the image, then you can move to actually printing.

I would suggest you try the 3dprintingforum.org for assistance with 3d printing.

Last edited by computersavvy; 01-26-2021 at 03:01 PM.
 
1 members found this post helpful.
Old 01-27-2021, 04:07 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,496

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Thanks.
I've just started a day long print, so I'll mess with it later. If this gets finished by tonight, it will be good.
 
Old 01-27-2021, 07:44 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,496

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by computersavvy View Post
With cura (which I have installed from the fedora repo and likely you can do the same for your OS) when you open it up the 2 rows across the top have all you need.

The three buttons -- Prepare -- Preview -- Monitor --- are used in sequence.
The tabs below are where you set everything up.
Files --> you select the file to use (normally an stl file)
the next tab is where you select and configure the printer, including its connection.
the 3rd tab is where you select the material used and more
The last part is where you fine tune the printer settings.

Once a file is open with the prepare button you need to slice the image, then you can move to actually printing.

I would suggest you try the 3dprintingforum.org for assistance with 3d printing.
I had to abort the long print because it didn't stick. I hadn't cleaned the bed properly. I've gone through your description and I've attached the screenshot; I get the file open, it knows my printer is an Anycubic Mega X, I can slice it, but there's no "print" bit, just save to file. Maybe it's not included*in the AppImage.

Anyhow, it matters little, because the printer & pc are parting company. It's not ideal to have a printer stinking the place out and running all night. I have some 12-18 hour prints coming up (a lot of them!), so it is getting a more remote location where I will have to feed it by sdcard for the foreseeable. Thanks for your help.

Last edited by business_kid; 01-27-2021 at 08:16 AM.
 
Old 01-27-2021, 10:52 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,496

Original Poster
Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I grabbed the Source of Cura. I just have the Slicer, it seems. There's a big dependency list, but the one that jumped out was
  • PySerial - for USB printing

So I installed PySerial. And now Cura throws up a notice:
Code:
Print setup disabled. Gcode can not be modified
So the current plan is to get to avoid war over this 3D printing lark, move the STLs to gcode en masse, and fill the sdcard with them. Then visit the printer daily, and throw on another 12-18 hour print job.

Last edited by business_kid; 01-27-2021 at 10:58 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with CP210x kernel module jtliu Linux - Embedded & Single-board computer 1 11-12-2020 10:03 AM
CP210x module didn't receive data beparas Linux - Networking 0 04-13-2012 08:14 AM
CP210x USB to UART Bridge VCP Linux Drivers(SILICON Labs) perfectpol7 Linux - Hardware 4 09-02-2010 11:59 AM
Gotta love those ٱٱٱٱٱٱٱ&# iLLuSionZ Linux - General 5 11-18-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration