RepRap-Rays: turning a RepRap into a Laser Cutter

January 6, 2012

For a long time I’ve been meaning to couple the laser beam to the reprap. Recently the PC driving the laser died giving a perfect excuse to turn my Prusa Mendel into a laser printer…ahem cutter!

Optics

First up is to divert the beam towards the reprap using a laser mirror and through a hole cut into the laser enclosure. Guiding the beam around the reprap is a little trickier. I opted to rotate the printer 45 degrees wrt the beam and put a mirror (M1) under and to the left of the x-end-idler to direct the beam vertically upwards to the x-axis. Then another mirror (M2) steers the beam to the left along the x-axis towards the x-axis-carriage where I’ve placed the last mirror (M3) which steers the beam vertically down through the focusing lens and onto the workpiece. Unfortunately this setup did not leave enough z-axis travel to get the beam well focused onto the print bed even with the extruder removed from the x-carriage.

Failed setup below, laser beam comes in from the lower right hand side:

A change was required so I removed the hotend and placed the M3/lens combination on top of the carriage. I then broke and rejoined the M2 carriage to bring the mirror up above the x-axis. I also cut a hole through the centre of this to allow the beam reach mirror M2. One or two other judiciously placed breaks and theres just about enough room for the ~180 mm focal length lens to focus sharply. Modified setup:

Electronics

The laser can be set to gate on with a 5 V TTL signal and pulse at its own internal rate. This means that M106/7 (fan on/off) can be used to gate the laser. Since the output from the RAMPS board driving the fan is 12 V I used a 10k pot as a voltage divider to feed 5 V to the laser.

Software

I had a quick look at SFACT for generating g-code but I didn’t have any success. I found that bdring previously had some of the same electronics and software issues. He modified a python script called cam.py to generate gcode for a reprap-controlled laser so I used that. It struggles with anything beyond simple shapes but is sufficient to get started. I use Qcad for drawing dxf or openSCAD can be used to dump a section of an stl to dxf.

Video Action

Cutting through 4 mm plywood:

Apologies for having to turn your head 90 degrees, I’ll do a better video in a day or two, darn smartphone camera! The faint spot visible before things kick off is a low power CW (not pulsed) guide beam. The shiny upturned biscuit tin lid is there to stop the beam from punching through my dibond print bed! Black anodised aluminium would be better for eye safety but there was nothing suitable to hand. Theres a lot of fluorescence visible wherever the UV beam leaks through/off the  mirrors but I was wearing suitably rated laser goggles of course!

Results

The setup cuts well enough but there is backlash on the x-axis due to slightly loose fitting printable lm8uu bushings which allows the carriage to lift ever so slightly at direction changes (like a see-saw). It has the same effect as backlash even though the belts are nice and taut. I need to print new ones.

Below is a photo of a square cut, a square mark/engraving and a circular mark/engraving on 4 mm plywood:

The effect of backlash can be seen but the cut is clean.

Below is are two engraved squares and an almost-fully-through cut into a scrap blue PLA piece (broken off M3/lens holder earlier!):

Next up

New bushings should improve the geometry but the biggest obstacle for me is generating g-code. cam.py works with dxf but only generates useful code for the simplest of shapes. I’ll have another look at SFACT and see if it can’t be used somehow. Triggering the laser off the fan is not ideal but there are plenty of available Arduino pins with RAMPS to tinker with. One thing to think about is how to shut off the laser if the pause button is pressed or if something goes wrong etc…

I’m planning to get a laser diode, either infrared @ 808/975 nm or Blue @ 405/445 nm or both, probably fibre-coupled. This would do away with the need for all those mirrors taking up space and reducing the ‘print volume’ available. The laser could be neatly off to the side with all the electronics and the optical fibre would connect it to a small lens assembly (which I plan raytracing) on the x-carriage,  essentially another ‘tool’. I’ve been looking at suitable driver circuits (laser diodes need constant current and are sensitive to spikes) but I’ll post more on that when I’ve settled on a decent circuit / laser diode / optics. If it all works maybe I should sell a few RepRap laser kits to cover my costs!

Advertisements

Prusa Mendel up and running

April 22, 2011

After almost 3 weeks of printing the parts using my Repstrap I’ve finally got a RepRap! 13 mm/s was the top speed of the repstrap, limited by the leadscrews…. the Prusa will be limited by the extruders ability to keep up but I’ve been printing at 30 mm/s for now as 50 mm/s was a little sparse and any faster and its difficult to see whats happening (I’m used to slow prints remember!) .

I’ve also printed out an Accessible Wade’s Extruder by GregFrost to replace the plywood extruder.

Here is the printer…

and the extruder…

So its back to some optimising…. happy days.

Recently I bought a micro SD card reader from Kliment (hes always in #reprap irc channel), so when I’ve the skeinforge settings under control I’ll upload his firmware and print from SD which will make life easier for my rusty old pc.


more extruder trouble

March 30, 2011

Just as I seemed to be getting good prints I started to get a lot of failed prints. Basically the extruder wasn’t able to take in filament if there was any tension holding it back so I had to babysit quite a lot and ensure there was slack filament. It seems that the springs I attached a few weeks back weren’t quite up to the job (I had robbed them from pens!). So I’ve gotten hold of some meatier ones. With the help of varying sized washers I’ve put them in place and compressed them a little…

This means that the filament is forced further onto the hobbed bolt which bites in more and has better grip. Hopefully this has solved the issue for once and for all as I’ve started printing out the Prusa parts.

The frame vertex on the left was done @ 7 mm/s, 0.25 layer height (with babysitting!). The other parts (with the spring mods) @ 13 mm/s, 0.25 layer height. 13 mm/s is a nice step forward but is the limit on the leadscrew stages and is still very time consuming!


repstrap

December 28, 2010

During the past few months I’ve been getting a laser up and running. It has an f-theta scanning lens which has a field of view of about 100 mm diameter so I have to manually position things that are bigger. I’ve been designing an X-Y system to allow me to process bigger parts and I’m currently building this out of plywood (using the laser to cut out the pieces). Anyway, I’ve been following the RepRap movement (open source 3D printers) for quite a few months now and I’d love to build one… but I’m short of cash to buy a full kit… so I’m thinking of using the X-Y stages as the basis for a repstrap which I can use to print a prusa mendel (http://www.reprap.org/wiki/Prusa_Mendel) before moving the stages to their new home under the laser!