This page describes how to use this: Open source laser system for polymeric welding located in the MOST lab. Our primary interest in it is making Expanded microchannel heat exchangers for all kinds of energy efficiency applications including solar water disinfection. For the most up to date publication on this topic see Open Source Laser Polymer Welding System: Design and Characterization of Linear Low-Density Polyethylene Multilayer Welds

Laser[edit | edit source]

Basics[edit | edit source]

The Laser is composed by three main devices: LaserMount 264, TECSource 5305 and LaserSource 4320. The LaserMount 264 is a unit that integrates a Peltier cooler for precise temperature control and the laser itself. TECSource 5305 is a temperature controller that needs to be attached with the LaserMount. LaserSource 4320 is a Laser Diode Driver, it controls the laser behavior.

Safety[edit | edit source]

General Basic Precautions[edit | edit source]

When operating the laser make sure that the doors to the rig are closed and that you are wearing the laser safety glasses.

The LSO shall be notified of the purchase of any laser, regardless of the class. Such notification should include the classification, media, output power or pulse energy, wavelength, repetition rate (if applicable), special attachments (frequency doublers...etc.), beam size at the laser aperture, beam divergence and users.

No attempt shall be made to place any shiny or glossy object into the laser beam other than that for which the equipment is specifically designed.

Eye protection devices which are designed for protection against radiation from a specific laser system shall be used when engineering controls are inadequate to eliminate the possibility of potentially hazardous eye exposure (i.e., whenever levels of accessible emission exceed the appropriate MPE levels.) This generally applies only to Class IIIB and Class IV lasers. All laser protective eyewear shall be clearly labeled with optical density values and wavelengths for which protection is afforded.

Skin protection can best be achieved through engineering controls. If the potential exists for damaging skin exposure, particularly for ultraviolet lasers (200-400 nm), then skin covers and or "sun screen" creams are recommended.

HANDS - Most gloves will provide some protection against laser radiation. Tightly woven fabrics and opaque gloves provide the best protection.

ARMS - A laboratory jacket or coat can provide protection for the arms. For Class IV lasers, consideration should be given to flame resistant materials.

Software[edit | edit source]

The Template, and all other files are uploaded in SourceForge,

  1. Processing -- (If using source code).
  2. Inkscape --
  3. GCodeTools for Incscape ---
    • Windows: Unpack and copy all the files to the following directory Program Files\Inkscape\share\extensions\ and restart Inkscape
    • Linux: Unpack and copy all the files to the following directory /usr/share/inkscape/extensions/ and restart inkscape.
  4. DHCP Tool -- (Note: This is for a Windows set-up. Equivalent software is available or Mac/Linux based systems)
  5. PutTTy (SSH Client) -- (Note: This is for a Windows set-up. Equivalent software is available for Mac/Linus based systems)
  6. .SVG Inkscape Template --

Loading Samples[edit | edit source]

  1. Open the safety doors.
  2. Carefully remove the aluminum and glass plater.
  3. Remove the top layer glass.
  4. Place the plastic layers on the bottom sheet of glass (two the first time and adding one per weld routine if more than 2).
  5. Stretch the plastic layers flat and hold in place with magnets at the four corners. Make sure as many wrinkles are removed as possible.
  6. Put top sheet of glass on top of plastic.
  7. Slide the plater back into the laser rig.
  8. Close the box and put on the safety glasses.

Powering up and communicating with the device[edit | edit source]

  1. Turn on computer and log in
  2. Plug in Arduino and RAMPS control board
    • RAMPS uses a standard 120V outlet, through a converter, to the (+)(-) on the board.
    • Arduino uses a micro-usb to 120V outlet connector.
  3. Plug in and confirm power to both:
    • LaserSource 4320
    • 5A/12V TECSource 5305
  4. Turn on 5305 TECSource and insure the "blue' light is on hear the Output indicator. If the light is not on push the Output button.
  5. Wait until the temperature reading on the 5305 is stable below 25 Celsius. The Tset should be set to ~25 degrees Celsius at this time.
  6. Turn on the 4320 LaserSource with the power switch
  7. Insure the/a DHCP server is broadcasting to IP address ''
  8. The connection from DHCP to the laser welding requires an SSH client (PuTTY)
    • Your respective SSH Client should connect to the DHCP Server (hosting the printer locally on your computer) via ''
    • Upon connection user will see:
    1. "Using username "pi" and "pi@'s password"
      • Once SSH client prompts fro password type: reprap. This will permit access. Review image above for the interface appearance.
  9. One inside the interface, the proper port must be assigned to PuTTY to talk to the 4320 LaserSource.
    • The first line should be stty -F/dev/ttyUSB0 raw 38400. Note that "38400" could be variable based upon your computer.
  10. All commands through PuTTY allow for remote control of the 4320 LaserSource. Review list of available commands here:
  11. To confirm proper connection ping i.e. ask the 4320 to audibly beep by typing: echo 'BEEP'>/dev/ttyUSB0. Hit enter. The instrument should beep and confirm that you are controlling it remotely.
  12. Open a web browser and navigate to the hosting site for Franklin: Depending upon your browser's security type "https" may not be possible and you will have to continue without a secure connection.
    • It is recommended that this page be bookmarked in your browser for future use.
  13. You are now set up and ready to control the printer with the Franklin interface.

Side note:

If the RepRap printer interface comes up as "untrusted connection" then click "I understand the risks" --> "Add Exception --> "Confirm security exception". If it doesn't work on the first try, click "confirm security exception two or three more times. Sometimes it takes more than one try for it to work.

GCode Generation[edit | edit source]

Drawing on Incscape and Exporting to gcode[edit | edit source]

  1. After installing Incscape and Gcodetools, run Incscape
  2. Open the file TEMPLATE.svg, it has the working area limits and other things necessary to generate the gcode correctly. "Save As" you file under a different file name to preserve the template
  3. Draw weld pattern - select the line and press Ctrl+Shift+C (this converts it to a path and keeps it selected)
  4. Go to Extensions>>Gcodetools>>Path to Gcode
  5. On the tab Preferences, you can change the File name and Directory
  6. Click Apply. The GCode should now be generated to the Directory folder
  7. If you want to make any changes, first undo with ctrl-Z to get your original paths back

Handwritten GCode and/or Utilize provided Python 3 program to write code for you[edit | edit source]

  • Handwritten / Custom

Example gcode for a simple linear weld:

;///LaserSource and TECSource SET-UP///
;	Laser Source
;		Begin communciation via: "ssty -F /dev/ttyUSB0 raw 38400"
;		Next string follows as: "echo >/dev/ttyUSB0"
;	TECSource
;		No direct communcation to SSH. Turn on, set to 25C.
;start position
G1 F600 X10 Y10
;set to experiment current (5000mA (12A))
(SYSTEM:echo 'LAS:LDI 5000' >/dev/ttyUSB0)
;turn on laser
(SYSTEM:echo 'BEEP' >/dev/ttyUSB0)
(SYSTEM:echo 'LAS:OUTPUT 1' >/dev/ttyUSB0)
;raster across Y290
G1 X290
;path completed turn off laser
(SYSTEM:echo 'LAS:OUTPUT 0' >/dev/ttyUSB0)
(SYSTEM:echo 'BEEP' >/dev/ttyUSB0)
;move x-head to convienet set-up location
G1 F600 X10 Y300

Laser Welding[edit | edit source]

  1. Close and latch the enclosure doors and put on the safety glasses.
  2. Turn the LaserSource enable key to "On"
  3. In the web browser page where Franklin is open. Upload your respective gcode directional controls and 4320 LaserSource commands
  4. Click "Print Selected"
  5. Allow print to cycle until completion
  6. Turn the "Enable" switch on the LaserSource to the "Off" position.
  7. You can now open the enclosure and remove the platter from the welding rig.
FA info icon.svg Angle down icon.svg Page data
Authors John J. Laureto, Brennan Tymrak, Thaddeus Waterman, Noah Budd, Sai Ravi Chandra
License CC-BY-SA-3.0
Language English (en)
Related 0 subpages, 18 pages link here
Aliases Laser welding protocol - MOST
Impact 853 page views
Created October 13, 2011 by Joshua M. Pearce
Modified March 2, 2022 by Page script
Cookies help us deliver our services. By using our services, you agree to our use of cookies.