Ideas for laser raster engraving
frank26080115 last edited by
I found something interesting: The way they send over monochrome data to the STM32 not as a series of G-code, but instead, for example, [0xFF, 0xFF, 0xFF, 0xFF] would represent 32 pixels (4 bytes, 8 bits each). At 0.1mm per pixel resolution, that is a black line 3.2mm long. If you do [0xAA 0xAA 0xAA 0xAA], it would be a dithered line 3.2mm long. Of course more bytes can be sent for longer lines. After a line is done, it shifts 0.1mm down the Y axis and starts another line.
Anyways, I thought that was pretty cool. Maybe you guys want to implement something like that? How do other systems do it?
Hmm... My Duet WiFi has a microSD card, and BMP files are pretty easy to parse. It might be even easier if you just allowed the user to engrave a BMP file directly, given pixel resolution and starting coordinates.