Hello Guest it is February 09, 2026, 03:44:06 PM

Author Topic: MACH4\pokeys57 : Controlling PWM to laser engrave in greyscales  (Read 644 times)

0 Members and 1 Guest are viewing this topic.

Re: MACH4\pokeys57 : Controlling PWM to laser engrave in greyscales
« Reply #10 on: February 07, 2026, 04:53:19 AM »
My remapping function of power isn't satisfying yet. I must say that i didn't take the easiest photo. I made a quick user interface (Python).

Lessons Learned :
To avoid white lines caused by a mismatch between the requested travel distances and the minimum step resolution allowed on an axis, I implemented a step-based logic where the commanded distance is computed by multiplying the number of Y-axis steps by the axis counts-per-unit value.
The same resolution was initially used for the X-axis motion; however, the system was unable to keep up with the resulting instruction rate, causing the feed rate to drop to 2400 instead of the requested 3000. As a result, the resolution had to be reduced.
Re: MACH4\pokeys57 : Controlling PWM to laser engrave in grayscales
« Reply #11 on: February 08, 2026, 08:29:37 AM »
Here's the first release of my Gcode converter, AliG : https://github.com/MoMo830/AliG/releases/tag/AliG

Feek free to comment.
« Last Edit: February 08, 2026, 08:37:09 AM by momofr83 »
Re: MACH4\pokeys57 : Controlling PWM to laser engrave in greyscales
« Reply #12 on: February 08, 2026, 08:38:47 AM »
A small example, once settings are correct.

Offline Tweakie.CNC

*
  • *
  •  9,338 9,338
  • Super Kitty
Re: MACH4\pokeys57 : Controlling PWM to laser engrave in greyscales
« Reply #13 on: February 09, 2026, 01:33:45 AM »
Excellent progress.

nb. GitHub returns 404 error for your Alig.

Tweakie.
PEACE
Re: MACH4\pokeys57 : Controlling PWM to laser engrave in greyscales
« Reply #14 on: February 09, 2026, 01:39:47 AM »
Sorry, the good one : https://github.com/MoMo830/AliG