Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pen arm not smooth #24

Open
geauxgetter opened this issue Feb 13, 2018 · 11 comments
Open

pen arm not smooth #24

geauxgetter opened this issue Feb 13, 2018 · 11 comments

Comments

@geauxgetter
Copy link

So is it normal for the pen arm to jerk around? I can't seem to get a nice fluid movement. I'm using 16th micro steps on my cnc shield and tried running my timings are 300, 200 and 100 but nothing really helps. I've also adjusted my motor current and that didn't improve anything either. I'm wondering how people are able to get nice smooth lines without the "stepping". Running version 1.6a with inkscape .92

@pyrophreek
Copy link

What stepper chip are you using? How many steps per rotation does your motor have? calculate the distance each step should travel, and if that is what you are seeing as stepping, then you are at the limit of your setup. If your stepper board supports replacing the drivers, (step sticks) try replacing with 32x microstepping drv8825 drivers, or even 256 microstepping TMC2100 based boards.

@geauxgetter
Copy link
Author

stepper is the a4988. I am getting 3200 steps per rotation. I'm using the UNO with a CNC shield.

@PainHealer
Copy link

PainHealer commented Feb 20, 2018

My setups is exactly the same and I have the same issue. Both steppers are running very "rough" and produce steps/stairs instead of straight lines or "round curves". I also have 3200 (micro)steps for one full rotation, so 1/16 microstepping basically seems to work with my 1.8 degree steppers. I don't think that going to 1/32 or even 1/256 microstepping will lead anywhere or make things better. Can anybody confirm that this setup with this arduino sketch can even do higher quality prints?

@geauxgetter
Copy link
Author

geauxgetter commented Feb 20, 2018 via email

@PainHealer
Copy link

PainHealer commented Feb 20, 2018

Thanks for our reply, did you change parameters for the microstepping in the sketch to 32 or leave it at 16? I just swapped drivers from A4988 to DRV8825 and changed it to 32 and now the steppers are not turning at all. :-\

@geauxgetter
Copy link
Author

geauxgetter commented Feb 20, 2018 via email

@PainHealer
Copy link

I had to change the settings in the firmware back to 16, the drivers already had the correct orrientation, but thanks for the advice anyways, that often gets mixed up. While the overall line quality has improved and rotation is very smooth now, the pen-arm still "snaps" like if there is a "grid" underneath the coordinates. It looks and sounds as if it physically still does only full 1.8 degree steps, even if it needs 6400 microsteps per full rotation. I'm just not getting what could be wrong.

@geauxgetter
Copy link
Author

geauxgetter commented Feb 20, 2018 via email

@PainHealer
Copy link

You are right, thank you very much! When I swapped the drivers I adjusted the reference voltage very loosely somewhere between "it (the stepper) won't move" and "it just does not get hot", in volts this was something around 0.250-0.30, now I'm at 0.185 volts and it does not get any better. The pen moves smoothly over 80% of the surface from left to rigth and does only get a little bit "shaky" when it slows down when printing circles or elipses.

@geauxgetter
Copy link
Author

geauxgetter commented Feb 20, 2018 via email

@Jantleing
Copy link

Main issue is the communication speed... instructions are not sent fast enough for smooth movements at higher speed.
Communication at 115200 baud eg gives smooth movement even at 1000 steps/s

Open port in Eggduino.ino like this:
Serial.begin(115200);

and for inkscape extension change following line within ebb_serial.py from
serial_port = serial.Serial(port_name, timeout=2.0)
to
serial_port = serial.Serial(port_name, timeout=2.0, baudrate=115200)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants