Kiwan
April 5, 2021, 4:34pm
1
The motor I’m using has Stepping angle: 1.8° and the only available Timing Pulley here in Egypt has 20 teeth
how should I edit the code to match those variables ??
JKStewart
(Jonathan K Stewart)
April 5, 2021, 8:44pm
2
Hi Kiwan,
I had the same issue when building my lowrider.
Jeffeb replied with the solution in the following post:
So I ordered all the parts I could for my Lowrider 2 from V1 (parts kit was sold out).
I could NOT find 16 tooth pulleys that had shipping less than 2 months out.
I’ve been trolling the forum for months while deciding which DIY CNC to build. I found that 20 tooth pulleys CAN be used with modifications to the firmware. I found what changes need to be made and where, but for the life of me, I can’t find out HOW.
I’m wondering if I have to do a complete flash of the firmware using Arduino, or is…
Hope this answers your question.
Good luck on your build. I’m enjoying mine very much.
2 Likes
JKStewart
(Jonathan K Stewart)
April 5, 2021, 8:46pm
3
Just realized the “Solution” didn’t get copied. Here it is, hopefully:
You can send M92 X80 Y80, which will change the setting until Marlin restarts. You can send M500 to save any settings you’ve changed to EEPROM, which will make it persistent across restarts.
You can do all of that from Repetier Host, or any other console (octoprint, cncjs, pronterface, etc.).
Some settings can’t be changed through GCode like that, but there are a lot of settings that can. I think the most common things people might change are: Max feedrates, Max accelerations, Stepper driver…
2 Likes
JKStewart
(Jonathan K Stewart)
April 5, 2021, 9:04pm
4
You can find a lot of discussion on this topic if you search “20 tooth” on the forum.
I found this posting especially helpful:
I have made the dumb purchase locally of a 20T pulley set and GT2 belt. Unfortunately I have to wait for 2 weeks until the new 16T pulleys arrive that I ordered tonight.
What line do I adjust to compensate for the 20T pulleys? What will the new value be please.
I assume this will be the reason I am getting 12.5mm instead of 10mm when I send 10mm command from repetier?
I assume this formula is correct?
(steps * microstepping) / (teeth * pitch)
One revolution of a 1.8° stepper is 200 steps * …
2 Likes