Laser Cutter Build Night: Permanent Laser Driver Circuit

So, as it turns out, the previous laser diode was totally dead.  That is to say, I really messed up on its soldering, the wires came off, and the stored charge in the capacitor blew it.  However, in a record display of resilience, I removed my 3rd diode from its DVD sled and put it in the Aixiz module after removing the dead one.  Then, I soldered and tested it and it worked!  It can burn!  Bwa ha ha ha ha!

Next, I set about figuring out what current I wanted to run the diode at in the long term.  I had been using 3.3 ohms of resistance for a set current of 375ma, but I read differing views on whether this was too high for a DVD burner diode.  As such, I decided to just try 5 ohms of resistance for a current of 250ma (watch this video for why the current changed with the resistance) and then see if the burning power was significantly decreased.  Using less current, I observed about the same burning power, so I decided to play it safe and go with less current in the long run.  If you have seen other LM317 driver circuits, you know that they use a potentiometer to further control the current.  I am omitting this, because I really don't see why I would adjust the laser power when it is cutting.  Thus, I have set it permanently to be at a good power level.

After that, I planned out how my laser driver circuit would look taken off the breadboard and put on some protoboard stuff I had lying around.  I used graph paper for this.  I wanted to make it as small as possible in order to conserve protoboard for other projects/lasers and also just because I could.  I used this schematic (omitting the reverse voltage diode and potentiometer).  As explained in this post, I also added a transistor to turn the laser on/off.  Eventually, I ended up with this tiny circuit:









It is very small!  However, I would like to point out that small is not necessarily the way to go, nor is soldering at 7 in the morning.  It was somewhat difficult doing the delicate soldering needed to maintain a solder bridge-free circuit.  Additionally, since I soldered at 7 in the morning, I neglected to actually solder the positive of the laser output to the rest of the circuit.  That is only slightly a big deal. :)  I spent a few days saying "Woe is me" etcetera because I couldn't get it to work, no matter what.  Thankfully, I was using a test load to test the driver, instead of the real laser diode.   This is described here.

Anyhow, I eventually got the driver to work, and it works beautifully!  I never knew my laser had so much power!  Maybe the 3.3 ohms of resistance was worse than the present 5 ohms?  Now my laser can easily cut all the way through black craft foam with ease, in one pass.  Clean cut, all the way through!  Slices like butter.  Below is a picture of the foam mincemeat I made while playing with my laser.









As you can see, I thought that the laser deserved a sticker (I got it from HighTechDealz.com free with my order).  I am very happy with its destructive power now! :)  Also, I actually laser cut the right side off of the sticker, because the sticker content was way off center.  Now, my laser cutter has done something useful and shown that it can even cut white paper!  Not plain white paper, though - I tried regular printing paper, but it didn't cut it like it did with the sticker.

Next, I will be securing the electronics of this project onto the plywood base and enclosing them in a box with the computer fan on top for cooling.  I will also be fixing an annoying issue that sprung up (there always has to be some problem, doesn't there?) with the X axis where the motor gets to a certain point and then jitters/stalls.  I am crossing my fingers for WD40 to do its magic.

Finally, for your viewing pleasure, I have included an iPad video taken of the laser cutter decimating a string of bits of craft foam.  Enjoy!

Laser Cutter Build Night: Two Steps Forward and...

So tonight was really an example of the two steps forward and one step back rule, except that I am almost certain I went at least two steps back.  In regard to my two steps forward, I cut the final base for my laser cutter, so now have something permanent to attach things to.  I also attached the XY table and the laser stand.  This laser cutter (rather than one that moves the laser beam itself) is very interesting, as the laser is stationary and the material to be cut moves.  Thus, the laser diode has to be off-center relative to the XY table in order to cut the maximum area of space.
 Also, I made my first successful engraving!  I hard-coded a smiley face into my stepper, laser, & limit swtich test program using basic move X and move Y commands.  I am quite pleased with the results!  The only problem I noticed was a tiny bit of backlash in one cut (click on the image to enlarge and see the backlash on the right eye), but that isn't a big issue right now, as I have far larger problems...
Those are my two steps forward.  Attaching stuff and engraving.  Then, everything went really steeply downhill!  First, I noticed that my cutting area is not one normal sheet of paper, as I had previously predicted.  This laser cutter will actually be able to engrave/cut an area between 1/2 and 1/4 of the size of an 8-1/2"x11" sheet.  The reason is this: even if I have a lead screw for moving the axes that is as long or as wide as the paper, if the sled that moves along the screw and carries the paper is wider than a geometric point (i.e. no width), it will not be able to traverse the whole paper's length without coming off the screw.

To make this clearer, let's say I have a screw 11" long and the sled that moves the cutting table is 5" wide.  The paper's edge is placed at the beginning of the 11" and the 5" sled is at the home position- the paper's edge, the start of the screw, and the beginning of the sled are all in the same position right now.  Then, the sled moves as far as it can, also moving the paper.  It cannot actually move so that the edge of the paper is 11" from its starting position - that would require that the beginning of the sled be at the tip of the lead screw - in other words, disconnected.  So, in reality, the paper can only be cut for 6".  That is basically what happened with my laser cutter.  One step back.

Additionally (this is more of a problem), my laser broke!  I turned it on and it was very dim and intermittenly shone.  Ahhh!  After walking away to "cool down" for a bit, I took off the Aixiz housing.  The laser power wires came off as well.  It seems that whatever problem I had was caused by a soldering defect (me).  Tsk tsk.  One demerit.  Tomorrow I will reattach the wires to the laser leads and try it out again.  The laser may be unharmed, but it is most likely damaged.  I read somewhere that disconnecting the laser diode (or letting its power wires come off) from an energized driver circuit can fry the diode because of the electricity built up in the capacitor.  At least another step back.  :(

"Sometimes, life smiles at you and says, 'I like you.'  Other times, it give you a sneer and says, 'I hate yo' guts, boy!'" -me

Laser Cutter Build Night: Laser Heatsink & Stand

Tonight I machined a nice little heatsink to replace the one that I drilled out too large.  This one is a solid block of aluminum that I salvaged from some machine that was being junked.  It should work well enough without fins, for my purposes at least.  I also made a hole for a setscrew and tapped it.  The whole thing turned out nicely and I like how it looks - clean and professional.  The Aixiz housing goes in the hole and is held in place by the setscrew.
 I also manufactured a stand for the laser.  You say, "A stand?"  Yes, a stand.  When I was building this, I realized that this must be the most unconventional way of building a laser cutter.  In nearly every other machine, the laser (or rather its beam, reflected by mirrors) moves.  My machine, due to its genesis as a CNC machine, moves the platform, not the laser.  This is somewhat annoying for multiple reasons.  One of these is that I may have to further modify the code I am porting to make it work with my unusual setup.  But, I am sure I will make it work!
I may eventually paint this to make it look nicer.  Additionally, I discovered that my laser can cut into black craft foam, slice a green ribbon in two, and etch black CD cases.  Maybe it isn't so underpowered after all!

Lastly, I began to look at the code I will be modifying.  I am using Python code from here.  I need to change the code from controlling bare H-bridges (which take four inputs) to controlling the EasyDriver stepper boards (which take one step input and one direction input).  It may be a challenge, but with the prize of a laser cutter at stake, I am sure I can do it!

Laser Cutter Build Night: Burnage!

It burns!  I finally received my Aixiz housing in the mail and assembled it.  I got mine from hightechdealz.com.  I had also ordered some of their free 650nm (red light) laser safety stickers, but honestly, they were very low quality.  They appeared to have been made on a home laser printer running very low on toner and then cut out by an unskilled toddler.  Hey, I guess they were free.  I would have been severely disappointed if I had paid for them.

Anyhow, the laser stickers are a tangent.  Once I had opened the package, I placed (set; not pressed) the diode into the housing to dissapate heat and desoldered the ribbon cable from the leads.  Then, I pressfit the diode into the housing and soldered on some long power wires.  After that, I assembled the laser housing, double-checked everything, and turned the laser on!

Thankfully, the lens I got focuses the laser instead of collimating its beam.  That way, I can get a very fine point for blasting away at the materials I will be cutting/engraving!  I was able to change where the focal point of the laser was by twisting the lens.

In operation, the laser housing becomes only mildly warm.  This is good, because the hole I made in my heatsink is too spacious.  I do not know if I will be using an external heatsink in the long run.

I tried cutting some electrical tape with the laser, and it smoked, but was nowhere near what I expected its power to be.  Eventually, I was able to cut some tape that was under stress (very slowly).   I also tried lighting a match colored black, and the match smoked, but didn't light.  Very disappointing.  However, with the adjustable focus, I can make black plastic smoke at a fair range.  Fun, but I need a lot more power.  The laser barely scratched some black business card material.

In looking into the problem, I will be evaluating increased current, shortened power wires, and, as a last resort, a $10 glass lens (mine is acrylic) from hightechdealz.com.

Laser Cutter Build Night: Moving Platform and Laser Preparations

Tonight was a bittersweet night.  I had previously attached my really nice build table with double-sided tape and it stayed on really nicely.  However, I failed to plan for the underside supports running into the stepper motor bracket.  To fix the problem, I removed the moving platform (it stuck really well!) and then cut off the offending section of support using a Dremel tool and cutting wheel.  I had heard that MDF dust was bad for one's lungs, so I held my breath for most of the cutting process.  That made it interesting.  After I cut through the board, I chiseled it off.  My perfect purple platform got scraped a bit, but it will still curtail laser reflections.  Pictured is the modified platform.









Additionally, I ordered my Aixiz laser module for heatsinking and protecting my red DVD burner diode.  I will hopefully be receiving this.  However, I haven't gotten it yet, so that sort of tables work on the laser cutter until the package arrives.  :(

As a tiny last bit of work to do, I drilled out an old transistor heatsink to put the Aixiz laser module in for additional cooling.  I used a 31/64 bit, which is the closest I could find to the 12mm module diameter.  I may add heatsink compound to the module before I slide it in, or I may just use a setscrew to hold it in place.
Sadly, that is about all I can do until my Aixiz module arrives.  *Pout face*

Laser Cutter Build Night: Functional Limit Switches

It's pretty late, so this post will be short.  However, I have successfully wired up and coded the limit switches into my test program!  I wired and coded them as per this amazing guide.  I didn't even have to use external resistors!  Everything went fine and I now have code that runs parallel to the main body of code to detect button press events.
Additionally, I moved the breadboarded laser driver circuit to the 12V power supply that powers the fan and motors.  Now I don't need to use my lab power supply for that job.
Next, I will play around more with code and get the real burning laser running!

Experiment 26: Field's Metal!

I have an intense fascination with metals in general, but especially with melting and casting them.  I like melting metal because the metal turns into a liquid, and liquid metal is totally amazing!  Obviously, I would favor liquid mercury for its superior density, shininess, surface tension, and melting point, but I am not permitted to obtain any, so I have been experimenting with substitutes.  I got gallium, but gallium usually has a bunch of slag on top and doesn't have much surface tension, so I made Field's metal (and also expanded its Wikipedia page) - an alloy that melts at 144°F and has much more surface tension than gallium with a lot less slag.  It is made of bismuth, tin, and indium, the latter of which is incredibly expensive.  For that reason I couldn't get a lot of the alloy put together.  However, to make what I do have, I weighed out the precise quantities based on the percent composition listed on the Wikipedia page and then melted them with a glass beaker and a propane torch.  After I did this, the alloy melted nicely with just hot water!  Below is a video I made of playing with my Fields' metal:
I really enjoy how easy it is to melt Field's metal.  If I am not happy with how the casting turned out, I can just plop the ingot back in the water and it will melt almost instantaneously.  Using this nice feature, I was able to quickly recast the Field's metal into a nicer ingot:
I am extremely happy with the Field's metal, although it isn't quite as nice as I am sure liquid mercury would be.  I guess it will have to suffice. :)


Laser Cutter Build Night: Platform and Limit Switches!

Tonight, I made the platform that the paper to be cut will ride on.  I used a scrap piece of sheet metal salvaged from a construction site as the base.  Underneath it, I used glue to secure some very flat MDF to the bottom - this should hold the somewhat bendy sheet metal to a scrupulously flat standard. To cut down on laser reflections off the shiny metal, I used some very low-quality painter's tape to pave over the top of the platform.  The tape will also conveniently be replaceable when it gets burnt.  I will use some double-sided tape to attach the MDF to the sled of my laser cutter base.









Additionally, I got limit switches set up!  These were salvaged from one of the outdated CNC machines my robotics team took apart.  I used some 6-minute epoxy to glue them in place.  These switches will allow the laser cuter to move in one direction until the switches trip.  The code will then recognize this as the "home" position.  I also soldered longer extensions to the short limit switch wires and cable-managed them.









Next, I plan to buy an Aixiz housing for the laser.  I will also connect the limit switches to the Raspberry Pi and test them out.

Laser Cutter Build Night: Video and Improvements

I finally got around to taking a video of my laser cutter base in action!  I wrote a simple script in Python that moves both axes both directions (one at a time) and then flashes the practice laser diode.  Notice how I have to use Blogger's video capabilities instead of YouTube because they shut down my account (I have gotten no word from them as to why my channel was shut down).
I also added some improvements to the electrical system.  As seen in the video, I can successfully control the laser diode with my Raspberry Pi.  I used a random NPN transistor I salvaged from a rear-projection TV and placed a 1K resistor between the transistor base and the Raspberry Pi GPIO output.  This time, however, I powered the circuit off of my lab power supply at 12V.  It worked great!  I added another 12V splitter cable off of the main laser cutter power supply to eventually power the final laser circuit (I need to test it with the real DVD burner diode before I make it permanent).  Additionally, I soldered a computer case fan to the whole mess of wires to cool the EasyDrivers.  The electronic control system will go in a box with the fan on top, eventually.
Regarding the backlash along the Y-axis, I am leaving that be for now.  I adjusted the threads on the sled but that didn't help, so I will compensate for the backlash when I code the laser cutter program.  I plan to add a backlash variable and then make the laser cutter draw a square - if the lines of the square don't close off, I can adjust the backlash variable and re-draw the square until the lines meet.

Laser Cutter Build Night: Laser Driver Circuit



Tonight, I built the driver circuit I will be using to drive my burning laser and tested it, on a breadboard.  I used a practice laser diode from a dollar store laser pointer to test it out.  Eventually, I will move the entire circuit to be directly soldered together or put it on some protoboard stuff, once I verify that it works with my real laser diode.  I am waiting to order my Aixiz laser housing before I will solder and test the diode.  I used this schematic (sans reverse voltage diode) for my driver:
My LM317 voltage regulator was a free sample from some online company, but all the other parts were salvaged from junk electronics.  I left out the 1N4001 diode (which I believe is to protect against reverse voltage) because I don't intend to connect the power backwards.  Ever.

The Aizis laser module is necessary to cool and protect the fragile open can diode.  Even the tiny dollar store diode got fairly hot during use - imagine what a burning laser would do without heatsinking!  I took some pictures of my practice diode running off of the driver circuit:
My next objectives will be:
  • hook up some more transistor circuitry so that I can control this circuit with my Raspberry Pi
  • buy an Aixiz laser module
  • look into backlash on Y axis
  • possibly figure out alternative power supply to 9V battery