Our vinyl cutter lies to us
For the past couple of months I’ve been playing around with a personal project to write images to our shop’s vinyl cutter. Recently Travis discovered that if a very large image is sent to the cutter all at once, it will cause a serial buffer overflow and crash the knife.
The natural reaction is to enable flow control (page 15) on the serial device, such that the vinyl cutter can step back from the brink if the buffer fills up. But that doesn’t seem to work for whatever reason — I suspect that my shoddy USB to serial adapter doesn’t support it.
So I made a feature that will take the movement speed of the vinyl cutter, estimate the duration of each line segment’s execution, and then send the serial as smaller chunks in intervals. This does work, but we noticed that the time calculated doesn’t match up with the time it actually takes the vinyl cutter to route a shape. Sometimes it’s off target by up to half a minute… What’s up with that?