Ortur 20W laser cutter + OctoPi (Raspberry) and LightBurn

I’ve just bought an ORTUR 20W laser cutter, their new “most powerful” version (real laser power shoud be 5.5W).

My objective is having the laser cutter working on my balcony, outside (for fumes), and controlling it remotely, from my Studio via wifi.
Normally the ORTUR cutter connects via USB to my Macbook with LightBurn.

My target is to keep on defining the gcode on my Mac, via Lightburn, and them send via wifi to OctoPi (RPi4) connected via usb to the ORTUR laser. Yet monitoring the print, even better if via a mounted camera.

Might you pls advise me on feasibility and, if possible, with a reasonably clear guide.

Many thnks
Gianluca

Hello,
I realize this post is about a year old. But I am looking EXACTLY for the very same thing. Did you achieve anything? Or is meanwhile some expert here on the forum that could help clearing things up.

As I understand, lightburn can export the GCode to a file(?). And of course I can transfer that file to Raspberry Pi. But how do I get Raspi to send that code to the USB-connected laser?

I would appreciate any help :slight_smile:

Installing OctoPi with Grbl plugin on Rasperry

I’m not sure what you mean by this. Have you installed this and running it or is this your plan?
In either case, it would be great if you can supply updates on your progress. I’m interested in this.

I am testing it and it works quite well.
I prepare the cut with LB then export the Gcode and then import it into Octoprint via wifi.
In Octoprint I have installed this grbl plugin:

I am currently studying the plugin settings because some functions give me an error. For example the framing of the work

I also tried this PlugIn, but won’t work für me (@the moment)
OctoPrint Community

I think your start up sequence needs to send a $X to reset the GBRL Alarm state. GRBL won’t follow normal communications until this is done.

I’m going to try this version of Octoprint in a few days as I’m bringing up a new CNC router. I’ll report here on anything I find out…

Thats great,

The OctoprintTerminal Output

Connecting to port /dev/ttyUSB0, baudrate 115200
Changing monitoring state from “Opening serial connection” to “Connecting”
Connected to: Serial<id=0x6c018930, open=True>(port=’/dev/ttyUSB0’, baudrate=115200, bytesize=8, parity=‘N’, stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Recv: error:7
Changing monitoring state from “Connecting” to “Error”
Send: M112
Send: N1 M11232
Send: N2 M104 T0 S0
35
Send: N3 M140 S0*102
Changing monitoring state from “Error” to “Offline after error”
Connection closed, closing down monitor

It receives the Error with no code send. IMO

Regards
Ralf

Now i tried to replace Hello with $X

2021-08-18 07:47:12,068 - Connected to: Serial<id=0x6b9fb830, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
2021-08-18 07:47:12,076 - Send: $X
2021-08-18 07:47:12,078 - Send: $X
2021-08-18 07:47:12,538 - Recv: error:7

or M5

2021-08-18 07:43:46,746 - Connected to: Serial<id=0x6b9fb3b0, open=True>(port='/dev/ttyUSB0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
2021-08-18 07:43:46,757 - Send: M5
2021-08-18 07:43:47,216 - Recv: error:7
2021-08-18 07:43:47,218 - Changing monitoring state from "Connecting" to "Error"

the USB Portshould be the right one

dmesg
[ 5988.907061] ch341 1-1.5:1.0: ch341-uart converter detected
[ 5988.910420] usb 1-1.5: ch341-uart converter now attached to ttyUSB0

After unmark ‘ignore FW Errors…’ i’m getting also this Error
image

So i thing it is not a serial port problem

There must be a “Send on Error” kind of entry in the setup where the default is Send M112, replace the M112 with $X.

Also, disable sending line numbers (Nxxx), I think GRBL doesn’t like these…