Hello Guest it is March 28, 2024, 08:43:15 AM

Author Topic: Mach3 as 3d printer software  (Read 84007 times)

0 Members and 1 Guest are viewing this topic.

Mach3 as 3d printer software
« on: October 25, 2010, 02:58:50 AM »
Hi,
I am a big fun of mach3. I decided to use mach3 for my homemade 3d printer like reprap or makerbot. I use an arduino for the extruder temperature control. A host software is messaging over usb (serial rs232). mach3 is controlling the 4D system via gcode. I have a problem. The serial communication has a negative effect on mach3.
the motors did not work smooth when I plug the usb.

Please send me your advice to correct this issue.

Regards,
Nuri Erginer

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach3 as 3d printer software
« Reply #1 on: October 25, 2010, 03:30:05 AM »
Mach needs most of your computer resource to provide the correct timing etc.
Just a thought, but...... Using an external timing device such as the "Smooth Stepper" may free-up sufficient Mach resource to allow your RS232 communication.

Tweakie.
PEACE

Offline Fastest1

*
  •  920 920
  • Houston, TX
    • View Profile
Re: Mach3 as 3d printer software
« Reply #2 on: October 26, 2010, 12:01:48 AM »
Definitely post what you find! I am interested in making and installing a Rep Rap head on my Sherline/A2ZCNC mill.
I want to die in my sleep like my grandfather, not like the passengers in the car! :-)
Re: Mach3 as 3d printer software
« Reply #3 on: October 26, 2010, 02:36:43 AM »
I rewrite the arduino firmware. It will not cominicate with pc. It is now standalone temperature control system. Mach3 can run smoothly now. I will let you know about the progress.

regards,
Nuri Erginer

Offline DaOne

*
  •  236 236
    • View Profile
Re: Mach3 as 3d printer software
« Reply #4 on: October 26, 2010, 02:59:02 PM »
What are you using to create the G-Code?
Re: Mach3 as 3d printer software
« Reply #5 on: October 27, 2010, 02:52:37 AM »
I am using skeinforge (http://fabmetheus.crsndoo.com/)
it gets 3d stl file as input and produce g-code. it has lots of parameters for fine tuning.

regards,
Nuri Erginer

Offline kf2qd

*
  •  148 148
    • View Profile
Re: Mach3 as 3d printer software
« Reply #6 on: October 27, 2010, 10:43:05 AM »
There has been another discussion of this , what you might want to consider is using the spindle speed as the extruder control. Would give you a way to start and stop the extrusion, as well as control the extrusion rate. Might require that you do some translation of output codes, but that should be a faily straight-forward text substitution which could be done using find/replace all, or by writing a small program in basic/C/other language of choice.
Re: Mach3 as 3d printer software
« Reply #7 on: October 27, 2010, 10:54:04 AM »
what I am trying to do is easy switching from a cnc to 3d printer. Mach3 will be the software. You will plug a extrusion head instead of a spindle and you will begin to print. A arduino based circuit board will control all the stuff like extrusion temperature, extrusion speed and build platform heating. I prefer to separate the 3d printer requirements from mach3 software. This will not disturb the mach3 to run the cnc code and will help people to switch between cnc and 3d printer.

regards,
Nuri Erginer

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach3 as 3d printer software
« Reply #8 on: October 27, 2010, 11:07:05 AM »
Quote
what I am trying to do is easy switching from a cnc to 3d printer. Mach3 will be the software. You will plug a extrusion head instead of a spindle and you will begin to print. A arduino based circuit board will control all the stuff like extrusion temperature, extrusion speed and build platform heating. I prefer to separate the 3d printer requirements from mach3 software. This will not disturb the mach3 to run the cnc code and will help people to switch between cnc and 3d printer.

This is a brilliant concept Nuri - I am following this with great interest.

Tweakie.
PEACE
Re: Mach3 as 3d printer software
« Reply #9 on: October 28, 2010, 03:47:23 AM »
Thanks Tweakie!

Let me tell you what I did up to know. After then I will share all the information.

As you know there are two approaches to the extrusion motors in 3d printing community. One is 5D concept that use a stepper motor as a filament feeder. The other is a gear head dc motor.  For the first one I slightly modify the skeinforge software for 'E' letter. For the forth dimension skeinforge use the letter 'E' as an axis definition (like X,Y and Z) After the small modification software produce gcode with letter 'A' instead of 'E'. This is suitable for mach3 to read the code and control the stepper extrusion motor in desired speed. The arduino based circuit is only dealing with extruder temperature, build platform heating and cooling fun control. This works fine. Feed rate, extrusion speed and temperature are the main parameters that you have to fine tune for better print quality.

The second concept is a gear head dc motor. I use the spindle relay for on-off control of the dc motor. I just write two M-code macro to define the M101 (start extrusion motor) and M103 (stop extrusion motor). This time arduino circuit deal with PWM motor speed control with a potentiometer.  

I will soon share the information so that you can build a kit by yourself (or buy one) and screw it to your mach3 cnc and start using it as a 3D printer.