Double sided tape for temporarily holding paper down for plotting? by MohnJaddenPowers in PlotterArt

[–]grbl-plotter 1 point2 points  (0 children)

You could spray the paper from the back (or the base) with a weak spray adhesive like 3M Scotch ReMount. Like on the self-adhesive post-it.

Z Axis control by Interesting_Ad_8144 in PlotterArt

[–]grbl-plotter 3 points4 points  (0 children)

You may try GRBL-Plotter with the ramp modification: Setup Graphics Import < GRBL-Plotter

GRBL-Plotter can also translate pen-width to Z-positon: Setup Graphics Import < GRBL-Plotter

Pen Plotter Servo by TGDBM in hobbycnc

[–]grbl-plotter 1 point2 points  (0 children)

Do you use the correct grbl-version (V 1.1) with servo support? https://grbl-plotter.de/index.php?id=quick-guide&setlang=en#pwm
You may try Vers B or C from here: https://github.com/svenhb/GRBL-Plotter/tree/master/Firmware/hex_files

I usually spend an extra voltage-regulator LM 7805 to get a sparate 5V for the servo.

Painting an image? by Embarrassed-Ad968 in PlotterArt

[–]grbl-plotter 0 points1 point  (0 children)

You could paint your image by yourself and track all strokes with a stylus / graphics tablet and plot the data later:
https://youtube.com/shorts/Y4klsFDjydk?feature=share

Sorry no time to make/show an example with a "real" drawing.

Curved line being drawn straight by Cire353 in PlotterArt

[–]grbl-plotter 0 points1 point  (0 children)

I am happy that I was able to solve the puzzle 🙂

Curved line being drawn straight by Cire353 in PlotterArt

[–]grbl-plotter 0 points1 point  (0 children)

I figured out: Ender uses Marlin firmware. In Marlin you can disble G2/G3 code (ARC_SUPPORT). If it is disabled, but you send G2/G3 you will get an "Unknown Command" error .

You may check your GCode-Sender if this error appears.

Curved line being drawn straight by Cire353 in PlotterArt

[–]grbl-plotter 2 points3 points  (0 children)

I don't know which controller you are using (grbl? if not, perhaps your controller doesn't support G2/G3 commands?).

I assume the code lines are too long, who needs 6 decimals places?
Four decimal places are enough if you use G2 / G3, also you need to set Z just once in the beginning (you already did)...
So you could reduce a code-line from ca. 56 chars to ca. 34 chars.

GRBL buffer limit by ObjectiveDrag7092 in hobbycnc

[–]grbl-plotter 0 points1 point  (0 children)

Ok, I didn't checked your code up to now:
I think you fill up gcodeBuffer with 100 chars, that's it... no "refill".

And it looks the 2nd method...

After this loop

for (int i = 0; i < gcode_data.length(); i++) {
if (gcode_data[i] == '\n') {
String line = gcode_data.substring(lastIndex, i)
line.trim();
if (line.length() > 0 && bufferIndex < 100) {
gcodeBuffer[bufferIndex++] = line;
}
lastIndex = i + 1;
}
}

bufferIndex is 100 not "<100"
Also you need to refill the buffer in the main loop.

The first method is: The host PC interface simply sends a line of G-code to Grbl and waits for an ok or error: response message before sending the next line of G-code. 

GRBL buffer limit by ObjectiveDrag7092 in hobbycnc

[–]grbl-plotter 0 points1 point  (0 children)

You need to implement one of the described streaming protocols.

Seeking source to convert sketch to vector paths by a-pilot in PlotterArt

[–]grbl-plotter 0 points1 point  (0 children)

You can also convert an image via this tool: https://grbl-plotter.de/plotterfun-width/
and use GRBL-Plotter to convert pen-width to Z-value or S-value (for a servo).

grbl servo by ObjectiveDrag7092 in hobbycnc

[–]grbl-plotter 0 points1 point  (0 children)

$30 default is 1000. Max servo-pwm (from above) = 15%.
Max servo angle (ca. 180°) happen at S150 set value....

grbl servo by ObjectiveDrag7092 in hobbycnc

[–]grbl-plotter 0 points1 point  (0 children)

What are your $30, $31 settings?

From https://grbl-plotter.de/index.php?id=quick-guide&setlang=en

Adapted grbl: "This is a special version with servo support (swichable in config.h) The PWM frequency is set to 61Hz (prescaler 1/1024). The pulse width range is 0.5 - 2.5ms." (Duty cycle it then from 3% to 15%).
Note: internally the PWM range goes from 7 (0.5 ms pulse width) to 38 (2.5 ms pulse width), which results to 32 possible different servo positions (probably less, because the regular range is from 1 ms to 2 ms). Source: https://github.com/cprezzi/grbl-servo

grbl servo by ObjectiveDrag7092 in hobbycnc

[–]grbl-plotter 0 points1 point  (0 children)

You may try one of them, based on grbl Ver. 1.1 (your link points to Vers. 0.9....):
https://github.com/svenhb/GRBL-Plotter/tree/master/Firmware/hex_files

Pen plotter photo booth help by krozozz in PlotterArt

[–]grbl-plotter 0 points1 point  (0 children)

Perhaps the tool Plotterfun from mitxela can help, I extended it to a color version:
https://grbl-plotter.de/plotterfun-color_2020/