Linuxcnc and 3d Printing - Configs/comps/examples
03 Aug 2021 03:02 - 03 Aug 2021 03:21 #216776
by cakeslob
Linuxcnc and 3d Printing - Configs/comps/examples was created by cakeslob
I just though it might be easier for new people like me self to find linuxcnc specific 3d printing information , as there isnt exactly a template/standard and the information available is usually cryptic and decentralized. The other thread seems more 3d printing related. If anyone has some good info please do post it.
If the other users who are already doing 3dprinting, could share their config, comps, or electrical hardware setups that would be appreciated.
scotta has a pretty good repo on 3d printing, aswell as the remora firmware, im still new with remora so ill leave it to someone more appropriate
-Linuxcnc and 3d printing-
If the other users who are already doing 3dprinting, could share their config, comps, or electrical hardware setups that would be appreciated.
scotta has a pretty good repo on 3d printing, aswell as the remora firmware, im still new with remora so ill leave it to someone more appropriate
-Linuxcnc and 3d printing-
-Boards-
CRAMPS : pretty sure this is the only board specifically designed for linuxcnc/machinekit.
Although it looks dated compared to newer 3dprinter boards, it remains a solid board still. I own one but not on a 3d printer, and it is a very nice, compact unit. it was exactly what I wanted, a 3.3v RAMPS shield I could put on a smarter brain. Its what I still want today, except a mesa driver version
https://reprap.org/wiki/CRAMPS
http://pico-systems.com/osc2.5/catalog/product_info.php?cPath=2&products_id=1
https://github.com/machinekit/machinekit/tree/master/configs/ARM/BeagleBone/CRAMPS
The config is for machinekit, but that is minor changes.
This is a setup guide for CRAMPS I found helpful before. It is dated in the sense it lacks the frills of modern 3dprinting, and it is for machinekit but not radically machinekit so it is still very relevent to linuxcnc.
https://designmakeshare.wordpress.com/2014/06/08/initial-setup-cramps-beaglebone-cape-with-machinekit/
This is a setup guide for cramps from one of the machinekit guys. this guide is very machinekit specific, and might not be too relevant to linuxcnc. but they have neat stuff going on , and a tomato is still a fruit at the end of the day.
https://machinekoder.com/mini-3d-printer-from-hobbyking-running-with-cramps-board-and-machinekit/
--- HOSTMOT2 (aka something fpga) :
I always on the lookout for 3d printing related fpga setups, the ones I have found have some pretty interesting setups
This guy is running a mojov3 spartan6 dev board for 3d printing with hostmot2 loaded onto it, and an rpi3. The mojov3 tailored hostmot2 makes use of the onboard arduino, and uses it as adc channels. His newer revisions appear to use the driver board of a duet3d, which appear to be all spi channels now. There also appears to be an I2C comp with io expander
https://github.com/sleepybishop/linuxcnc_configs
https://github.com/sleepybishop/mojo_hostmot2
--hostmot2 for mojov3 using spartan6
https://github.com/sleepybishop/artix_hostmot2
--hostmot2 for alchitry au using the xilinx xc7a35t
https://github.com/LinuxCNC/linuxcnc/compare/master...sleepybishop:fishybearG-master
--his branch has all the related comps.
https://github.com/sleepybishop/linuxcnc/blob/fishybearG-master/src/hal/drivers/tmc26x_bspi.comp
--Trinamic tmc26x bspi driver. As far as I understand this is for hostmot2 and not running directly from rpi spi channel
https://github.com/sleepybishop/linuxcnc/blob/fishybearG-master/src/hal/user_comps/i2c.c
--i2c comp
https://github.com/sleepybishop/linuxcnc/blob/fishybearG-master/src/hal/drivers/max31855_bspi.comp
--max31855 thermocouple to spi driver bspi component (i think this is different than the standard linuxcnc one)
https://github.com/sleepybishop/linuxcnc/blob/fishybearG-master/src/hal/user_comps/sx1509b.c
--i2c io exopander for SX1509B
This is another interesting setup. It is a pretty hard machinekit setup, but I think the hostmot2 portions should still be usable. This setup involves a modified cramps shield, a de10-nano, which uses an altera SOC, and an ultramiyir board with xilinx soc, both are fpga with an arm core. As memory serves, they run machinekit on the arm portion, and a modified/trimmed version of hostmot2 loaded to the fpga core to control the io. Interesting but a separate topic.
https://github.com/the-snowwhite/Hm2-soc_FDM
There is even a fancy gui for configuring the trinamic stepper drives on spi, but i think it is using the machinekit gui qt-quick implementation
https://github.com/the-snowwhite/Hm2-soc_FDM/tree/master/projects/Trinamic/20-bit_Comp
Trinamic TMC2660 bspi stepper driver for hostmot2, as far as I can tell at least. still trying to see how different the tmc26x and tmc26xx are from the tmc5160, and tmc2130
-VELOCITY EXTRUSION-
just some resources ive found here and there
Saw this one on hackaday a while ago
https://basdebruijn.com/tag/velocity-extrusion/
This one seems pretty clean and well done. It comes in the form of a component and has a glade gui also. dont know how it preforms and it is for machinekit.
https://github.com/alessandrotorre/Acceleration-and-Velocity-Extrusion
Last edit: 03 Aug 2021 03:21 by cakeslob. Reason: too many links
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6219
04 Sep 2021 23:32 #219637
by tommylight
Replied by tommylight on topic Linuxcnc and 3d Printing - Configs/comps/examples
Here is a "work in progress" config for CoreXY printers for LinuxCNC using a parallel port.
So far only X and Y axis are set up, but they work as normal XY axis in joint and world mode so homing is same as any normal XY machine and so are the limit switches. All the translation to AB corexy is done in hal and transparent during use.
It is modified a bit to work and it is normally included with LinuxCNC but not easy for new users to make it work.
So far only X and Y axis are set up, but they work as normal XY axis in joint and world mode so homing is same as any normal XY machine and so are the limit switches. All the translation to AB corexy is done in hal and transparent during use.
It is modified a bit to work and it is normally included with LinuxCNC but not easy for new users to make it work.
The following user(s) said Thank You: seuchato
Please Log in or Create an account to join the conversation.
- lynardskinner
-
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
01 Nov 2021 21:07 #224916
by lynardskinner
Replied by lynardskinner on topic Linuxcnc and 3d Printing - Configs/comps/examples
I have been 3d printing with Linuxcnc for about 2 years. I started with BOB then moved on to a 7i96 board.
My setup is an FT5 conversion. A ramps is used to control the hot end and bed. I use coolant G code to turn it on
and off in Linuxcnc. Marlin is used for the heaters controlled by an additional lcd screen. I created a customized QT screen to run the printer. TB6600 stepper drivers, voltage regulator for the ramps board and a Optiflex 780 computer. The Z axis has a single motor and belt with bearings. The slicer I use is iDeaMaker using the post process modified for Linuxcnc.
The bad is if the heaters fault out the machine will keep running. The good is the heaters will turn off when the program is finished. The BOB was to slow but the 7i96 Mesa board runs quicker than the time the Slicer quotes the job to run.
Thanks for starting Additive Manufacturing in this forum. Sorry for the late posting.
My setup is an FT5 conversion. A ramps is used to control the hot end and bed. I use coolant G code to turn it on
and off in Linuxcnc. Marlin is used for the heaters controlled by an additional lcd screen. I created a customized QT screen to run the printer. TB6600 stepper drivers, voltage regulator for the ramps board and a Optiflex 780 computer. The Z axis has a single motor and belt with bearings. The slicer I use is iDeaMaker using the post process modified for Linuxcnc.
The bad is if the heaters fault out the machine will keep running. The good is the heaters will turn off when the program is finished. The BOB was to slow but the 7i96 Mesa board runs quicker than the time the Slicer quotes the job to run.
Thanks for starting Additive Manufacturing in this forum. Sorry for the late posting.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6219
01 Nov 2021 22:37 #224926
by tommylight
Replied by tommylight on topic Linuxcnc and 3d Printing - Configs/comps/examples
Pretty sure something can be done in hal to monitor the temps and fault if the temps do not go to setpoint in due time, or if they do not cool down in timely manner, probably using timedelay, setpoint, near... components maybe?
Or doing a comp that will monitor delta temp vs delta time, both rising and falling?
Or doing a comp that will monitor delta temp vs delta time, both rising and falling?
Please Log in or Create an account to join the conversation.
06 Nov 2021 11:19 #225494
by bobo13
Replied by bobo13 on topic Linuxcnc and 3d Printing - Configs/comps/examples
The following user(s) said Thank You: cakeslob
Please Log in or Create an account to join the conversation.
06 Nov 2021 11:38 #225497
by rodw
Replied by rodw on topic Linuxcnc and 3d Printing - Configs/comps/examples
You could look at connecting the error pin to halui.program.pause as that will allow you to resume.The bad is if the heaters fault out the machine will keep running.
Please Log in or Create an account to join the conversation.
- lynardskinner
-
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
13 Nov 2021 22:26 #226375
by lynardskinner
Replied by lynardskinner on topic Linuxcnc and 3d Printing - Configs/comps/examples
Thanks for the tips guy's. I will see what I can come up with.
Please Log in or Create an account to join the conversation.
- smc.collins
- Offline
- Platinum Member
-
Less
More
- Posts: 660
- Thank you received: 113
26 Apr 2022 01:58 #241259
by smc.collins
Replied by smc.collins on topic Linuxcnc and 3d Printing - Configs/comps/examples
Who has this working end to end ? if so, please share, I'm on my 3rd bigtree motherboard, they keep dying, and I've been through this damn printer repeatedly. to my untrained eye, seems like back emf from the steppers is beating the drivers into oblivion, I have on hand
6 stepper drivers, 1 5i25 and 1 7i76d and the guts from a creality, yes my printer runs a lot, I am sick of putting parts in it all the time.
had no idea this was even a option till today.
6 stepper drivers, 1 5i25 and 1 7i76d and the guts from a creality, yes my printer runs a lot, I am sick of putting parts in it all the time.
had no idea this was even a option till today.
Please Log in or Create an account to join the conversation.
27 Apr 2022 23:53 #241420
by andypugh
Replied by andypugh on topic Linuxcnc and 3d Printing - Configs/comps/examples
I know that people have used LinuxCNC for 3D printing.
And I fully planned to when I bought my printer years ago, but then I just started printing things with the supplied Sailfish firmware....
And I fully planned to when I bought my printer years ago, but then I just started printing things with the supplied Sailfish firmware....
Please Log in or Create an account to join the conversation.
- smc.collins
- Offline
- Platinum Member
-
Less
More
- Posts: 660
- Thank you received: 113
28 Apr 2022 02:34 #241426
by smc.collins
Replied by smc.collins on topic Linuxcnc and 3d Printing - Configs/comps/examples
Yeah, I did that too but after 4 motherboards in 3 yrs, I'm ready to build something beefy that will last a long time.
Please Log in or Create an account to join the conversation.
Time to create page: 0.094 seconds