MarginallyClever / GcodeCNCDemo

a simple example of making a CNC machine from an Adafruit Motor Shield
213 stars 133 forks source link

Help required on modifying GcodeCNCDemo4AxisRAMPS.ino to support 5 axis #20

Open balajisah opened 7 years ago

balajisah commented 7 years ago

Hi!

I downloaded the GcodeCNCDemo4AxisRAMPS.ino from your github site and modified to add 5th stepper motor.

When i try to run, i here humming noise from stepper motors. I tried all combinations of steps and feed rate.

Enclosed is my modified file.

Please help me with values of feedrate that will work.

Also help me with the logic behind the feed rate calculation and step delay.

What is the feed rate in g00 command.

Thanks & Regards

Balaji

balajisah commented 7 years ago

GcodeCNCDemo4AxisRAMPS.zip

i-make-robots commented 7 years ago

There was already a six axis version.

On Dec 14, 2016, at 8:31 AM, balajisah notifications@github.com wrote:

Hi!

I downloaded the GcodeCNCDemo4AxisRAMPS.ino from your github site and modified to add 5th stepper motor.

When i try to run, i here humming noise from stepper motors. I tried all combinations of steps and feed rate.

Enclosed is my modified file.

Please help me with values of feedrate that will work.

Also help me with the logic behind the feed rate calculation and step delay.

What is the feed rate in g00 command.

Thanks & Regards

Balaji

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

balajisah commented 7 years ago

Will the 6 axis version version work with RAMPS1.4

drf5n commented 2 years ago

Will the 6 axis version version work with RAMPS1.4

It will if you set the pins properly in:

https://github.com/MarginallyClever/GcodeCNCDemo/blob/master/GcodeCNCDemo6AxisRumba/GcodeCNCDemo6AxisRumba.ino#L398-L427

Or if you are using the GcodeCNCDemo6AxisRumbaTimerInterrupt one, you may need to check the pins in: https://github.com/MarginallyClever/GcodeCNCDemo/blob/5209a601d3b4c5b3c07fa50f90f5fe7098efa822/GcodeCNCDemo6AxisRumbaTimerInterrupt/GcodeCNCDemo6AxisRumbaTimerInterrupt.ino#L39-68

i-make-robots commented 2 years ago

Ramos has room for 6 drivers? Xyze…?

On Apr 1, 2022, at 12:41 PM, David Forrest @.***> wrote:

 Will the 6 axis version version work with RAMPS1.4

It will is you set the pins properly in

https://github.com/MarginallyClever/GcodeCNCDemo/blob/master/GcodeCNCDemo6AxisRumba/GcodeCNCDemo6AxisRumba.ino#L398-L427

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

drf5n commented 2 years ago

A Ramps 1.4 board has sockets for drivers for 5 axes, X,Y,Z, E0, E1, but exposes lots of pins you could hook a 6th axis driver onto. The SERVOS header, AUX-2 and AUX-4 are wide open. You could jumper 9 pins from AUX-4, plus 5V and GND to the 12 pin header on a CNC Shield V3 and socket drivers for 9 axes.

Ramps pinout