Full Spectrum Laser Cutter

From Freeside Atlanta
Revision as of 02:57, 16 December 2018 by Ironleg (talk | contribs)
Jump to navigation Jump to search

Freeside's "Full Spectrum MLE-40" laser cutter is a Chinese-made "K40" style 40 watt CO2 cutter that has been retrofitted with an Arduino Uno controller and gShield V5 running GRBL 1.1 firmware to allow it to run LaserWeb, LaserGRBL, and other software for ease of use and open-source goodness on the hardware and firmware side.

K40 11-26-2018.jpg


COOLING!!!


CO2 laser tubes live much happier and and longer lives if kept between 55-70 degrees F! Toss frozen water bottles in the cooling water bucket and keep an eye on that temp. Keep it between cold and kinda-chilly if you're being so cavalier as to not use a thermometer. Also, using distilled water is preferable to tap as a cooling water since tap water can carry an electric charge when it's passing near the 16,000V of the tube and mess with the tube's efficiency/power. Sudden changes in coolant temp may be bad for the tube's life (don't toss a bunch of ice into warm cooling water, it might crack the tube). Above all, if the tube water is anything other than cool to the touch or doesn't look like water you'd be ok drinking, STOP THE CUTTER AND FIX IT.


Controller


Arduino Uno running GRBL firmware. https://github.com/gnea/grbl

Laser controller 11-25-18.jpg

The motor controller is a Syntheos gShield V5 board. Much less fussy and more fault-tolerant than pololu controllers can sometimes be. https://synthetos.myshopify.com/products/gshield-v5 Also a small logic inverter circuit is used to flip the arduino's signal high output for the laser "fire" signal to a signal low input the laser power supply expects to see.


Motors


The X and Y motors are 400 steps per rotation nema17 motors. Configure to ~83 steps per mm at 1/8th microsteps.


Wiring


DOCUMENT (not quite) ALL THE WIRING!


Power supply:


  • Never run the laser tube above 20mA. Such heavy cutting signifigantly shorten's the tube's life, and they're expensive. Make multiple cutting passes under 20mA if you need a deeper cut. This is adjusted with the power control dial on top of the cutter.

There are two power supplies, a 24vDC 12A supply for the stepper motors, and a high voltage Laser Power Supply. The LPS puts out 24v of it's own, originally to power the steppers, but we've use a dedicated supply for better reliability.


The laser is powered by a generic 40w CO2 laser cutter power supply. There are many slight differences in these supplies as far as their pin headers, labeling, and pinouts are concerned. They all boil down to having the following pins though: Laser tube negative, Mains ground, 2 Mains AC inputs for Live and Neutral, Water flow protection, logic GND, Laser control (FIRE!), 5v, 24v, and "IN" for the center pin of a master laser output max power potentiometer. Oh, and the big red scary high voltage wire for the ~16Kv to power the tube itself from the flyback transformer. Moar info at this link: http://donsthings.blogspot.com/2017/01/k40-lps-configuration-and-wiring.html

Here's how the current pinout of the laser power supply (often just called LPS) is laid out.

Pin use Laser tube negative Case/Mains ground AC1 AC2 Signal Ground Water Protection "Switch Light Control" (active low) Signal Ground Control Signal (Via potentiometer or PWM 0-5v) 5v output 24v output DC power ground 5v output "Switch Light Control" (active low)
Possible Labels L- G, FG AC AC G P, WP L G IN 5V 24V G 5V L
Extra notes Case/Mains ground Doesn't matter which is live/neutral Doesn't matter which is live/neutral Signal Ground Short signal ground to WP to bypass water protection. Won't fire if not grounded. Use a discrete not gate to signal from an arduino, laser turns on with 0v, off with 5v. stays off with floating pin Signal Ground potentiometer or PWM 0-5v Probably only meant to be used with IN and adjacent Gnd for potentiometer control. for stepper motors, usually 2-4A max DC power ground Usually 1A max Use a discrete not gate to signal from an arduino, laser turns on with 0v, off with 5v. stays off with floating pin

Link to the EBAY page for the current LPS:

https://www.ebay.com/itm/110-220V-40W-CO2-Laser-Power-Supply-Engraving-Engraver-Cutter-Machine/302659966406?epid=1773715012&hash=item4677f095c6:g:o-wAAOSw18xanYWm:rk:3:pf:0

CO2 laser power supply pinout


Software


This laser cutter can work with any grbl compatible software, the most common being LaserWeb and Lasergrbl, though others exist, since it's runs on Gcode. As of just getting the machine working lasergrbl seems to be the more approachable software.


Software/Firmware considerations


GRBL is fantastic for controlling CNC, 3D printer, and laser cutter hardware, but it's default uses aren't laser cutters. things with spindles and extruders are what it expects to use by default. To that end you have to edit some stuff to make it understand it's part of a laser cutter.

GRBL firmware: before you upload grbl to an arduino uno (it only works on the uno), you need to edit a couple things to make it play nicely as a laser cutter. (insert stuff from ACRO link in research links for config.h edits)

GRBL settings: Once GRBL has been loaded onto the arduino and you can talk to it on the serial monitor send it the following commands: $32=1 (this tells it to be a laser cutter) $100=80 (X axis motor steps/mm of distance moved) $101=80 (y axis motor steps/mm of distance moved)

NOTE: 80 steps/mm is more accurate than this image's settings

Software settings: (insert bed size) (insert other software settings) May need to add "M4" or "M3" commands to laserweb start settings to enable laser use?


History


This particular laser cutter was given to Freeside Atlanta by the fine folks at Decatur Makers around October 2018, after an apparent long service life. The machine was destined for the scrap bin otherwise, with a blown power supply (common among K40 cutters with lots of hours) and no controller board. The serial number, top window size, paint scheme, etc... seem to point to the machine being made around 2012. On the good side, the motors, wiring, and chassis all seemed in good shape, and the laser tube is supposed to be an upgraded tube with very few if any hours on it at the time Freeside got it.


Research Links


The first thing successfully etched on the K40 since it's resurrection

https://www.youtube.com/watch?v=1ioctbN9JV8&t=335s DIY Arduino CNC Machine with GRBL Shield - Setup Tutorial!

https://github.com/synthetos/grblShield/wiki/Using-grblShield Using grblShield/gShield board

https://github.com/LaserWeb/deprecated-LaserWeb3/wiki/Firmware:-GRBL-1.1 Config help

https://openbuilds.com/builds/k40-acro-conversion.6592/ Someone with a very similar hardware setup, even if the physical layout is different. Good documentation.

http://donsthings.blogspot.com/2016/11/the-k40-total-conversion.html Don's Laser Cutter Things - A great in-depth resource about converting K40 cutters for GRBL based controllers.