-
Thanks for all the work on the firmware, I've been running it on my S1 for a couple of weeks. I just ordered the Creality Laser for the S1 to play with as I've never tried one before, and wondered if this firmware supports it or plans to support it? I thought I saw someone else raising this same question a couple of weeks ago but have been unable to find that thread/issue again. 🧐 |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 95 replies
-
EDIT: Creality released the sources for the laser firmware, but it is based on the older version of Marlin, a major revision of the laser files was needed to make it compatible with the latest Marlin firmware. Experimental support was released here: Old answer: |
Beta Was this translation helpful? Give feedback.
-
It should be pretty easy to manually edit standard gcode if you slice with the z-hop trick. Replace all the hops with an |
Beta Was this translation helpful? Give feedback.
-
So, I did some looking into my existing laser gcode sliced by CrealitySlicer for their factory firmware. It would appear they are controlling thusly:
So, there is only one caveat I see getting in our way and it isn't a small one: The only way I see around this, if LASER_FEATURE can't be added without sacrifice, is to use a post-slicing script to alter every line from:
The M3 value will need computed from Creality's 0-999 (I think it's 999 based on my gcode files) range to an equivalent 8-bit unsigned int since the firmware expects 0-255 for We'd also cut the starting If @mriscoc can you comment on the flash expense of adding LASER_FEATURE in whatever minimal manner you can? As far as I can tell, we only need the extra support in G0/G1 for Inline power control and nothing else. I know F4 UBL versions are the tightest on available space and you already had to exclude a couple things. I'm willing to test for you with my Plus and laser if you want to cook up a S1-F4 build. (I'm busy with a few other dev projects at the moment and haven't gotten around to setting up my own build env for this yet....maybe next week.) When I get a chance, I'll start working up a python post-slicing script to modify for current firmware without Inline power control as shown above, just in case adding LASER_FEATURE proves to be detrimental or not reasonable...since I'm pretty sure something else is going to have to be sacrificed on F4 boards to fit it in, at least with the UBL version. |
Beta Was this translation helpful? Give feedback.
-
Ok. I've run into a problem while writing the python script. I got a simple workable beta script going and went to go connect the laser and do some testing. 😞 It would appear M3/M4/M5 are entirely unavailable in this FW ("Unknown Command") without LASER_FEATURE added. This puts us back to having nothing workable. However, I have another idea that might get us there... We could, instead, enable EXTRA_FAN_SPEED and use M106/M107 to do the PWM control of the laser. It is nearly a drop in replacement command for M3/M4/M5 if we set aside the asynchronous aspect (which I will test the impact of). @mriscoc This brings me to a few questions:
*If not already added and configured, can we add/configure this without sacrifice on the F4-UBL and other "zero free space" versions? |
Beta Was this translation helpful? Give feedback.
-
I just saw your contribution on Github, thank you! |
Beta Was this translation helpful? Give feedback.
-
I was able to code a preliminary and very basic support for S1 Laser Module but only for the Ender3S1 F1, I could post a bin file to test. |
Beta Was this translation helpful? Give feedback.
-
This version should work better, the firmware expects M3 S in the range of 0 to 999, I can't find why the Laser output was higher than anticipated. (File removed) |
Beta Was this translation helpful? Give feedback.
-
Could you please post a Creality demo G-code file for the Laser module, I want a file without changes, just as Creality expects it to work with its laser firmware. |
Beta Was this translation helpful? Give feedback.
-
I found the problem with the laser power and G0 S commands, also I implemented a Run Range: (file removed) |
Beta Was this translation helpful? Give feedback.
-
This version has all: |
Beta Was this translation helpful? Give feedback.
-
Experimental support of CV LaserModule: I got rid of the original laser "get header" code and used code from my gcode preview library. |
Beta Was this translation helpful? Give feedback.
-
hello there is some experimental release for use laser with your firmware mriscoc? i have 10w laser falcon i have ender 3 v2 neo with 4.2.2 mb and im a mriscoc firmware addicted :D please do some miracle and let me use my falcon laser engraver without swap firmware stock everytime i have to engrave... thanks in advance |
Beta Was this translation helpful? Give feedback.
-
@TheWebMachine please test this new version, it is based on the current experimental and have a new enhanced laser code that allows automatic detection of laser/fdm files, also it should support engraving using Octoprint with lightly changes. For engraving from Octoprint the home position must be set before of send the laser file to the printer, otherwise the |
Beta Was this translation helpful? Give feedback.
EDIT: Creality released the sources for the laser firmware, but it is based on the older version of Marlin, a major revision of the laser files was needed to make it compatible with the latest Marlin firmware.
Experimental support was released here:
https://github.com/mriscoc/Special_Configurations/releases/tag/CVLM
Old answer:
Hi, the firmware could support the Laser module if we can get the appropriate configuration files. We are waiting for Creality to publish the source code of the official firmware for the S1.