Open Source Laser Engraver Software Mac

Controlling a connected CNC / Laser machine (running one of the supported firmwares) This Application is built for Windows, OSX and Linux (on x86/x64 CPU) and comes with an easy installer. The server part can also be run on a Raspberry Pi. LaserWeb / CNCWeb 4.0 can be tested on (w/o machine communication).

Introduction

LaserBot is a desktop laser engraver developed on Makeblock’s open-source platform. Equipped with 1.6W 445nm high power solid-state lasers, and cooperating with its software mLaser, LaserBot can easily engrave and cut many things for you, and help you to make surprises in daily life. For instance, making Christmas cards/birthday cards for your families, or engrave your honeymoon photos on the wood for decoration, etc.

  1. This open-source software enables profiling and analysis of laser beams. It can be used with a variety of cameras supported by ImageJ and Micro-Manager, or images from any other source. It provides all common analysis methods like D4Sigma, knife-edge, as well as fitting of Hermite-Gauss and super-Gauss functions.
  2. LaserWeb is a free, open-source laser cutting tool in its fourth iteration. Its GitHub page describes it as an application for generating code from compatible files for lasers and CNC mills. Basically, LaserWeb translates your vector file to your laser cutter.
  3. EzGraver is a free open source laser engraving software for Windows. Through this software, you can instruct various types of laser engraving machines to engrave a predefined design over a selected material. To import predefined designs, you can import images of various formats like BMP, GIF, ICO, JPG, PNG, TIFF, and more. According to the.

Features

• Simple but solid H-shaped structure
• High-precision anodized aluminum alloy
• Arduino compatible
• User friendly software

Parts List

Specifications

FrameAnodized aluminum
Physical Dimensions (L×W×H)535mm×637mm×184mm
Working Area (X×Y)383mm×367mm
XY Accuracy0.1mm
Maximum Working Speed200mm/s
Noise LevelLow noise
Power100-240 V~50/60Hz AC/DC Power adapter, 12V/2.0A
MainboardMegaPi(Arduino & Raspberry Compatible)
ConnectionsUSB
Net Weight3.87kg
Gross Weight4.475kg
MEAS562mm×336mm×90mm
SoftwaremLaser
Supported File Types*PNG, *JPG, *BMP, *SVG, *DXF

Laser Technical Specification

Product DimensionΦ33mm X 79mm
Output Power1.6W
Best Engraving Distance20-50mm
Light Spot Precision≤1mm
Focus ModeAdjustable Focal Distance
Damage Ratio of Lens10%
Actual Light Power1.3W
Wavelength445nm
Operating VoltageDC 12V ± 30%
Operating Current600mA
Diameter Of Beam5mm
Light Spot | Divergence Angle≤1°
Light Spot | Concentricity≤0.02°
Continuous Working Hours≤5h
Operating Life6000 Industrial Hours
Engraving MaterialsDark Flammable Objects
Laser LevelIV (Caution: DO NOT directly irradiate)
Operating Temperature-40℃ ~ 50℃
Storage Temperature-50℃ ~ 60℃

Processable Material

MaterialCutsEngraves
PaperYESYES
Cardboardup to 0.8mmYES
Wood Boardup to 0.6mmYES
Rubber Sheetup to 0.5mmYES
Foam Paperup to 3mmYES
Dark Colored Cloth (denim cloth, cotton cloth and linen)up to 1mmYES
Non-Transparent ACRYLIC※1YES
Plastic Sheet※2YES
Urethane Sheetup to 0.8mm upYES
MirrorNONO
GlassNONO
CeramicNONO
AluminumNO※3
SteelNONO
StainlessNONO

※1. Opaque black acrylic only ※2. Gray plastic plate only ※3. Peeling of anodized only

WARNING

Wavelength γ= 445nm blue-violet diode laser
DO NOT directly irradiate eye or skin by the laser beam.
WARNING: As laser energy gains higher density, make sure corresponding protection measures are taken while using.
• No direct eye-contact with the laser light path;
• DO NOT irradiate others by the laser;
• Keep away from children and other people who are not familiar with laser usage;
• When the laser is used, take eye protection measure;
• When certain materials are cut by the laser, it is possible for them to produce toxic smoke, take ventilation measures.

Engraving graphic display

LaserBot uses a beam of light to cut, engrave, and shape designs from a variety of materials.

Building Instructions

Please construct LaserBot according to the video.

(Download LaserBot 3D model)

mLaser Instructions

The mLaser teaching video enables you to quickly get familiar with the various features of the software.

Download mLaser

mLaser Github open source address

Process

Detailed instructions of mLaser

1.Software installation

Double-click the downloaded mLaser installation package, and follow the instructions to install it. (Note: Please use English characters in the installation address.)

2.Software configuration

(This step is necessary for the first use of LaserBot, and later you may directly skip to step 1)
After assembling LaserBot, start mLaser to access the log in interface:

Default login password: 123(click “Set Password” on the right to set your own password)

Supervisor password: makeblock321(using supervisor password when you forget your own password)

Click “Login” to access the lower-layer interface:

Click “Test LaserBot” to access the interface as shown below:

Click “Update Firmware” , you will see as follow :

Select the serial port of the computer which connected to LaserBot (If there are multiple serial devices in the computer, you need to find the serial interface number corresponding to the MegaPi in the device manager. The serial port number of the computer connected to the MegaPi is COM5 in this Manual).

Click “Update Hex” , you will see a note as follow:

Click “OK” , mLaser will automatically exit and then you need to reconnect USB.

Reopen mLaser. Type your password to access the lower-layer interface:


Click “Test LaserBot” to enter the interface as shown below:

Click “Next Step” to enter the interface as shown below:

Select the serial port of the computer connected to LaserBot (If there are multiple serial devices in the computer, the user may look for the serial interface number corresponding to the MegaPi in the device manager. The serial port number of the computer connected to the MegaPi is COM5 in this Manual) , then click “Connect”. Upon a successful connection, a prompt in the following figure is displayed:

Click “OK” and then click “Next Step” to enter the interface as shown below:

Follow the procedures shown on the interface:

1) Check the power supply, wiring and machine’s position.

2) After touching the limit switch of X axis for 2 seconds, the icon “X” turns green (as shown below); after touching the limit switch of Y axis for 2 seconds, the icon “Y” turns green (as shown below):

After checking all the things of LaserBot , click “Start Machine Self-test”

Click “Next Step” after completing the machine self-test to access an interface as shown below:

Follow the procedures shown on the interface and click “Next Step” to enter the interface as shown below:

Put the board under the laser head, then put on the protective goggles, click “Start to Test Engraving”. LaserBot will begin to carry out laser engraving according to the default procedures .(the picture shown below).

Upon completion, an interface in the following figure is displayed:

(Step 0 is only necessary for the first use of mLaser, user can start with step 1 for the later use!)

Click “Enter mLaser” for Use after Ensuring Proper Installation

mLaser provides two control modes: “Simple Mode” and “Expert Mode”. The simple mode only allows LaserBot to engrave with default parameters. The interface of the simple mode is shown in the following figure:

You can switch between the “Expert Mode” and the “Simple Mode” by selecting the mode in the “Select Interface” on the pull-down menu.

(Note: Instructions are given for the expert mode only.)

4.Making your first drawing

1) Select the corresponding serial port (If there are multiple serial devices in the computer, the user may look for the serial interface number corresponding to the MegaPi in the device manager.)

Click “Connect”.


2) Start Updating Firmware

(This step is only used when a new version is released, if there is no new version released, please jump to step 2.)

Find the ” Update Firmware ” in the drop-down menu, as shown below:

Click ”Update Firmware”, enter the following interface:

Click ”Update Hex”, the blue LED in the center of the MegaPi blinks rapidly during the update.

Click “OK”,firmware update finished.

Adjust Focal Length

Put the wood under the laser head, then put on the protective goggles, click “Weak Focuing ” to turn on the laser at the minimum power level.

Adjust the focal length of laser through rotating the knob on the laser head(as shown below) until obtain the minimum laser spot size and then click “Weak Focusing” again to turn off the laser.

Check whether the Axes and Limit Switches are Properly Installed

Determine whether the serial port is properly connected and whether the MegaPi is properly powered on (the fan does not work if the board is not properly powered on)

1) Click “Control Panel” on the right side of the interface:

Open Source Laser Engraver Software Mac

2) Adjust the starting position of LaserBot

Click “Home”,LaserBot will perform the reset action and all axes will move to the initial positions of limit switches. In the case that axes do not move towards the direction of limit switches, the power should be turned off immediately. Furthermore, in the case that X axis or Y axis keeps moving after reaching the limit switch, the power should be turned off as well. In the case of a failure in reset, please check whether the wiring is correct again.

If you don’t want LaserBot carve in the default starting point but in the location you specify, you can click Y+ (shortcut key: “W”), Y- (shortcut key: “S”), X- (shortcut key: “A”), X+ (shortcut key: “D”) to adjust the location of LaserBot.

Start your First Laser Engraving

Please ensure that MegaPi is powered on and connected with the computer’s USB before engraving.

Engrave your name

After properly connecting to the serial port, turning on the power, properly resetting and placing the engraving wooden board, you can start your creation. The first task is to engrave your name by LaserBot. You can follow the procedures below:

1) Click “Text”

2) Select the font and font size

3) Enter text

4) Click “Preview Engraving Area” , the laser will move to show a rectangular frame which indicates the area that will be engraved text by LaserBot. If the material is beyond this area, the material should be moved or the initial point for engraving should be adjusted.

5) Click “Start” to engrave your name by LaserBot!

You have successfully engraved your name, but the name only appears outlined, as shown in the following figure:

5.Further steps

To engrave solid words, you need to select another working mode of mLaser, that is, the “Engrave” mode.
Click “Engrave” on the third line on the right side of the interface (the figure on the left) and switch to the following interface (the following figure on the right):

There is a “Pic Type” option in the “Engrave” mode, under which there are two another options: “gray” and “White Black”. What do they mean?

The “White Black” mode refers to display images in black and white. For example, when engraving name, the entered text will be displayed in black. The “gray” mode refers to display images in color or gray. In this mode, the engraved images will show changes in color. The application scenarios of these two modes can be compared through the following figures. It is strongly recommended to engrave black-and-white (colorless) images in the black and white mode; otherwise some image details will be lost.

Select “White Black” mode and then click “Start” to start engraving. The result is as shown below:

Select “gray mode” and click “Start” to start engraving. The result is as shown below:

Engrave your photos:

You have learnt the way to engrave your name. Then how to engrave photos?

1) Click the “Open” button on the top left corner to access the interface as shown below:

2) Select a photo from your computer

3) click “Open” to access an interface as shown below:

3) Click “Engrave” on the third line on the right side of the interface. There is an “Pic Type” option in this mode, under which there are two another options: “gray” and “White Black”. As the photo to be engraved is a full-color photo, the “gray“ mode should be selected.

4) Click “Preview Engraving Area” to allow the laser to move along a rectangular trajectory which indicates the area for engraving photos.

5) Click “Start” to allow LaserBot to engrave the photo.

Simple principle of image processing:

It can be seen in the figure above that the gray mode is recommended to engrave images with rich details and the “White Black” mode is recommended to engrave the black-and-white images. In addition, the user should know that images in SVG and DXF are vector graphics and can’t be engraved in the gray mode.

6. Becoming a DIY Geek, Master Your Own LaserBot

To better use LaserBot, you should have some knowledge of the parameters in mLaser. The parameters to be set in the process of using mLaser are introduced in this chapter to allow you to use it more flexibly. There are two working modes in mLaser : “Cut” and “Engrave”. As we have learnt the difference between these two modes, their parameters are introduced in details in this chapter.

1) Cut

The engraving work is completed at a power level. The parameters are as follows:

– Material: the program will automatically set appropriate parameters for different materials, without the need to set other parameters by the user.
– Repetition Times: thick materials may need to be repeatedly cut.
– Laser Power: light power during laser cutting in percentage with the maximum value being 100%.
– Speed over Pixels: the movement speed in the engraving process when the laser is turned on, with a movement of 300 mm per minute by default.
– Travel Speed: the movement speed in the engraving process when the laser is turned off, with a movement of 2,000 mm per minute by default.
2) Engrave

Software For Laser Engraver

Parameters can be modified according to different situations in “Engrave” mode. Default parameters are shown as follows in mLaser:

– Pic Type: images can be processed in the “gray” mode and the“White Black”mode. The way to select these two modes has been introduced above.
– Print Speed: movement speed refers to the speed to engrave the blanks in the “Engrave” mode. As the laser will move in the form as a laser spot, the depth of a pixel point will be controlled through controlling the light intensity and irradiation time of the laser to achieve the effect of grayscale engraving.
– Laser Power: the power when the laser is turned on, with a maximum value of 100%.
– Engraving Time: the time for burning a pixel point in mm. The shorter the time is, the less obvious the effect will be.
– Pixel Interval: whether the engraving work should be carried out at intervals. When the value is 1, each pixel will be engraved, thus producing the best effect. When the value is 2, the engraving work will be carried out every other pixel. When the value is 3, the engraving work will be carried out every two pixels, and so on.

FAQ

Source

Q1: Why does my PC fail to install the makeblock MegaPi Driver?
A:For MegaPi, the main control chip is Mega2560 and driver chip is CH340. For some computers, the driver may not be automatically installed, so you have to install the Driver manually.
The complete installation process of Arduino and driver is as below. (Note: You may skip the steps for installing Arduino, and only install CH340 driver)
Arduino is an open-source platform based on easy-to-use hardware and software. It includes a development environment (IDE) and library. The IDE is written in Java and based on processing environment. We provide a complete Arduino development environment for users.
Step 1: Download Arduino IDE and install Arduino driver

  • Arduino IDE installation package: Windows / Mac OSX / Linux ( 32Bit | 64Bit )
  • Arduino driver:
    Windows : Download
    Mac OSX : Me Baseboard / Makeblock Orion(CH340 driver, compatible with MegaPi mainboard) / Arduino Uno

Step2: Install Makeblock Library for Arduino

(Note: The Arduino installation package for windows has integrated the Makeblock library.)

1.Download the library zip package at: https://github.com/Makeblock-official/Makeblock-Libraries/archive/master.zip

2. Decompress the makeblock folder in the zip to the Arduino default library:

  • Windows 7: “[arduino installation directory]libraries”Your Arduino library folder now looks like this (on Windows):
    [arduino installation directory]librariesmakeblocksrc
    [arduino installation directory]librariesmakeblockexample
    ….
  • or like this (on Mac):
    [arduino directory]ContentsJavalibrariesmakeblocksrc
    [arduino directory]ContentsJavalibrariesmakeblockexample
  • or similarly for Linux.

3. Open Arduino IDE. If it is opened, you need to restart to see changes.

4. Click “File->Examples” to check sample code under Makeblock folder.

Q2: Why is the suite complete with video building course?

A: That is because it is Geek suite so that video display is more vivid and detailed. 3D model may be used to check assembly details, please click this hyperlink to check or download 3D model.

Q3: How can I adjust the precision if it is not sufficient in the laser-engraving image?

A: A file of standard square may be imported for test. The test method is as below.

1. Click this hyperlink to download test file

2. Start mLaser software, enter it and switch to the advanced mode. Click three-bar icon→interface selection→advanced mode at the top right of the software.

3. Open→Square Test.svg→adjust the size to be 40×40 mm.

4. Set the laser parameters and the engraving starting point. Use frame preview function to adjust position. Then click “start” to start engraving. The comparison of normal and abnormal cases is as below. The abnormal case has such problems as deformation, parralellagram and incorrect length-width ratio.
5. Generation of abnormal engraving images is mainly due to failure of LaserBot to strictly comply with video course in the building process, thus causing X axis and Y axis to be not vertical, and timing belt drive to be loosening and not be synchronous. The troubleshooting is as below:

5.1 Adjust installation of X and Y axis to make them vertical, as seen in notes at 4:40 in the building video.

5.2 Initial tensioning may be done when Y-axis timing belt is tensioned. Choose U bracket as a referrence at the time of final tensioning to make the two timing belts locked tightly and moving synchronously. Y-axis is perpendicular to X-axis. This part may need repeated adjustments to ensue precision.

5.3 The timing belt of X-axis and Y-axis shall be properly tight so that the tensioned timing belt is slightly elastic. The M3 set screws of 6 timing belt wheels are required to be locked tightly, or slip may occur, thus causing loss in machine precision. As 512 mm × 4 mm shaft on Y-axis is used for guaranteeing synchronous driving, the 2 18T timing belt wheel on it require adjustment and tight locking. (Locking shall guarantee verticality and uniformity of Y-axix and X-axis)

5.4 X-axis and Y-axis roller shall be installed to guarantee smoothness and proper tightness. Smoothness means smooth slip without any blockage, while proper tightness means tightly locked screws and that slider does not shake. All these require careful adjustment. Please make adjustment patiently.

5.5 After the above adjustments, get the laser head to manually slide within the operation range to check smoothness. If it is less smooth, adjust it again.

5.6 Repeat steps 1, 2 3, 4 under this question, until a normal square is drawn.

Q4: Normal upgrading of firmware is not possible for mLaser.

A: If firmware cannot be abnormally burnt during use, re-plug USB. If there is not any serial port, please install CH340 driver in the way as mentioned in Q1, and then burn the firmware. If the firmware remains not to be burnt, it is suggested to restart the computer or contact the customer service through tec-supprt@makeblock.com or by joining into the QQ Group, 324113572.

Q5: Why does mLaser not well support DXF format?

A: That is because DXF is complicated. The existing mLaser software makes abnormal opening of DXF format generated directly. It is suggested to use *.svg or transform into the common format *.svg.

Q6: Why does mLaser opening file have a large bounding frame and how can this problem be solved?

A: Current mLaser edition displays SVG file in a similar way that browser opens SVG files, so displaying effect is not different. Specific method for obtaining SVG file with a displaying effect of final wireframe format is as below.

1. Download and install inkscape software.

Laser Engraving software, free download

2. Reserve displaying way of wireframe only

2.1 Select files, click the button X at the lower left corner of Inkscape interface for removing the filling content.

2.2 Check→display→wireframe for changing display into wireframe mode.

2.3 Recommended saving format: file→save-as→save-as format→common SVG format (*.svg)→save

Q7: How can files of vector format such as AI.Coreldraw and CAD be converted into SVG files?

A: The Internet may be used for search of relevant introductions. The general method is to save vector format as general format, such as dxf. Then use Coreldraw software to open and save as Coreldraw format. Then open it with inkscape and convert the format in the way as mentioned in Q6.

Q8: What is G-code format of mLaser?

A:The standard G-code instructions used in LaserBot

The standard G-code instructions used in LaserBot, show on table below:

Instruction NameInstruction ParameterIllustrate
G0X100 Y100 F200Movement when laser head turns off, movement coordinates of XY back street (depending on whether it is absolute or relative movement), F followed by the speed, in mm / min
G1Same with G0Same with G0
G28X Y FX Y represents the reset axis, F represents the reset speed
G90Set to absolute positioning
G91Set to relative positioning
G92X YSet the current position to the specified position
M92X YSet the angle of rotation per mm
M114Get the current position

Customized Gcode instructions set in LaserBot

Instruction NameInstruction ParameterIllustrate
M4PP followed by a range of numbers from 0 to 256, represents the pwm given by laser head
M800PP followed by the rotation angle of the servo

Q9: If LaserBot built in accordance with LaserBot Builing Video is found not to be consistent with the right running direction of the software, how can I solve this problem?

A: It is a rare situation. It is generally a result of incorrect factory default direction of stepping motor. Please find out the stepping motor which runs in opposite direction and whose default wiring order is black, green, red and blue. Then you may change the wiring order to change the running direction of stepping motor to be green, black, red and blue, for instance.

Contact us

You can contact our team via our website or email.

www.makeblock.com
support@makeblock.com

If you bought or going to develop a laser engraver with Arduino boards and GRBL firmware, here is a small but important configuration that significantly affects your laser process results.

GRBL is an open-source firmware that runs on an Arduino for converting g-code commands to the motion control of CNC machines. The controller was primarily developed for CNC milling, controlling the spindle rpm, which is known as spindle mode. The laser process has almost the same control loop, except for the tweak of laser power. Therefore, laser mode has been introduced in GRBL v0.9 or higher. You need to correctly configure the GRBL settings when installing the firmware to your machines.

What is the difference between laser and spindlemode in GRBL?

The planner moves the laser point to your defined coordination and tuning the PWM power of your laser diode in both laser and spindle modes. So, what is the principle behind that makes them result differently?

The main difference between them is how the spindle/laser output is controlled with motions. In the spindle mode, every time a spindle state (such as M3, M4, or M5) or spindle speed (Sxxx) is altered, the controller temporarily stops the feed motion. This gives time to allow the spindle to speed up/down. However, if it is used to control a laser, the staying leads to scorching, uneven cutting depth, or bumpy engraving marks! The laser mode prevents unnecessary stops whenever possible and adds a new dynamic laser power mode that automatically scales power based on the programmed speed along the path. So, everything is nice and smooth with the laser mode in GRBL. The detail of GRBL V1.1 laser mode can be found from GRBL v1.1 Laser Mode · gnea/grbl Wiki.

Enable laser mode in GRBL

Assuming you know about how to send a command to your machine with a GRBL sender, enabling/disabling the GRBL Laser Mode is super easy. You just need to change the value of the profile $32 in the GRBL setting.

  • To Enable: Send GRBL a $32=1 command
  • To Disable: Send GRBL a $32=0 command

Upgrade to GRBL v1.1

There are two major reasons for the firmware upgrade. The first interest is to enable speed and power overrides in real-time during the laser process. The override function is a new feature of GRBL v1.1 while GRBL v0.9 does not.

The second important consideration is to enable the safety door setting for the emergency cutoff of laser power. The laser source does not power off while the step motors for the XY movement are de-energized in the HOLD mode of GRBL v0.9. A stationary laser point can cause serious safety issues, including laser and fire hazards. Upgrading to the latest firmware enhances the safety of the system.

How to compile the GRBL firmware with Arduino IDE

  1. Download and unzip the latest release from the GRBL GitHub repository.
  2. To check if the library has been installed, Open Arduino IDE,
    click Sketch > Include Library > Manage Libraries…
  1. Open examples > grblUpload > grblUpload.ino in Arduino IDE.
  1. Configure the board model, processor, and port number, and then press Upload to compile and burn the new firmware to an Arduino board.

Useful links

Laser Engraver Software Best

Last Update: May 15, 2019 Specification ModelCraftweeks LX-500-1Case Size (W x D x H)45 x 42 x 31 cmMax. Part Size (W x D x H)25 x 29 x 12 cmWork Area210 (X) x 210 (Y) mmDriveStep MotorsMax. SpeedMax. 4000 mm/minLaser Source405 nm blue-violet laser diodeMax. Power500 mWResolutionPractical = 0.1…