The hardware is all sorted already. What i’ve built works and was running with 6600 motor drivers and a 5 axis breakout board and Mach3. I think they were running on 24vdc. Torque was sufficient to drive the modules. The 2208 drivers and CNC shield for the Uno look to have plenty of capacity for this.
The taper is 30° included, 15° per side. I think that works out to 1:3.75. It has to be close, but not perfect. I have a GO / NO GO gage I made.
Correct. The main drawback to doing it the way I suggested is that if you want to change the gcode, you'll have to reprogram the arduino.
One other way of doing this is to get a DLC32 board. This is an ESP32 CNC system (about $50 when i got mine) with 3 axes that let's you load and run gcode from an SD card.
I’m ok with changing parameters in the code if need be. I was able to get GRBL into Arduino IDE 1.8.9 today and got gSender loaded onto the computer. I also ordered an SD reader for the Arduino card if there’s a place to add it
AI steered you wrong. Stepper.h doesn't do acceleration or have a setAcceleration() method. It conned you into thinking it knew what it was doing.
If you are aiming to do coordinated motion for a taper with acceleration, you have to match the acceleration curves as well, which is more difficult. And without which, you could get get a shaft with curvy ends and a straight-line move.
Definitely use something like GRBL, since it solves both the coordinated motion and acceleration problems.
Please learn how to use code tags if you want to post code here.
Many of us will appreciate if you take the time to correct your post and add code tags around your code.
There is a small pencil
below your existing posts.
- click on this pencil ➜ that will let you edit your post.
- Select the part of the text that corresponds to the code
- Click on the
<code/>icon in the toolbar to indicate that it is code - click
Save Edit
(Also make sure to properly indent the code in the IDE before copying and pasting it here. This can be done by pressing ctrlT on a PC or cmdT on a Mac)
I have flashed the Arduino Uno with GRBL and connected to gSender. Tomorrow i’ll connect to motors and see if everything works as expected.
Tomorrow I’ll connect to the forum and see if the code tags work as expected…
I connected two TMC 2208 drivers and two stepper motors, powered by a 18v 2A wall wart. The motors made a stuttering motion instead of turning smoothly. I’m using gSender CNC software and I can’t find where to tune the motors like I can in Mach3.
Post 40 still looks bad…
No respect for the forum…
Good luck with your project.
i erased it. Happy now?
Thanks for helping - posting code was fine, you just needed to add the code tags .