4-Axis Grbl on an Arduino Uno

Question/Answers related to this version of the board.
Post Reply
RunForrestRun
Posts: 2
Joined: Sat May 14, 2016 5:49 pm

4-Axis Grbl on an Arduino Uno

Post by RunForrestRun » Sat May 14, 2016 5:57 pm

I got it working using D12 and D13 for A step and direction. I moved the Spindle Enable to A3 and removed the coolant and Spindle Direction. I'll post the code after I clean it up and test some features

Bertus Kruger
Site Admin
Posts: 784
Joined: Wed Feb 03, 2016 10:26 pm
Location: Wellington , New Zealand
Contact:

Re: 4-Axis Grbl on an Arduino Uno

Post by Bertus Kruger » Sun May 15, 2016 9:01 pm

Great work...

Very interested to see the code.

RunForrestRun
Posts: 2
Joined: Sat May 14, 2016 5:49 pm

Re: 4-Axis Grbl on an Arduino Uno

Post by RunForrestRun » Mon May 16, 2016 3:15 pm

Here's the code.

https://github.com/mlambm/grbl

I start from the non-PWM spindle enable build.

I moved the spindle enable from D12 to A3. I removed the coolant flood enable (a3) and spindle dir(D13). The D12 and D13 pins are used for A-step and A-dir.

It gets a bit weird when you move all 4 axes at once. The steps execute but the extra axis is messing up the movement planner so it's all a bit start-stop-start-stop. I'm using it to rotate the work between indexes and it's fine for that. I'd like to fix it so it could work with a 3d printer

Bertus Kruger
Site Admin
Posts: 784
Joined: Wed Feb 03, 2016 10:26 pm
Location: Wellington , New Zealand
Contact:

Re: 4-Axis Grbl on an Arduino Uno

Post by Bertus Kruger » Mon May 16, 2016 10:11 pm

Well done.....

I will poke my nose into the code changes and try and make some sense of it. :D

albcem
Posts: 1
Joined: Thu Oct 13, 2016 1:54 am

Re: 4-Axis Grbl on an Arduino Uno

Post by albcem » Thu Oct 13, 2016 2:01 am

Hello, good job and thanks with your code which is exactly what I may be in need of.

I downloaded the code and will compile it to see if it works for me.

On the hardware configuration side, is it sufficient to place the jumper cables on the axis A row as instructed on the CNC Shield documentation or do we need additional modifications?

Should I expect the setup to work with the GRBL controller?

leolyz
Posts: 1
Joined: Sun Feb 12, 2017 10:10 pm

Re: 4-Axis Grbl on an Arduino Uno

Post by leolyz » Sun Feb 12, 2017 10:12 pm

Hi, this is very good work, I have a query, is it very complex to change the drive letter of the 4 axis? Eg call it C?

organetic
Posts: 1
Joined: Tue Mar 07, 2017 2:20 am

Re: 4-Axis Grbl on an Arduino Uno

Post by organetic » Tue Mar 07, 2017 2:24 am

Is there any chance to update this great 4 axis version, to the latest GRBL 1.1?
There's jog now :)

Also... I see A4 is a reserved pin on the Arduino UNO.
Why not using it for activating the cooler?
It is really important to use it sometimes...

Cheers to all the guys from this glorious country! Love NZ :)

jack001214
Posts: 1
Joined: Sat Apr 29, 2017 2:16 pm

Re: 4-Axis Grbl on an Arduino Uno

Post by jack001214 » Sat Apr 29, 2017 2:19 pm

Does not compile pls fix this


Log: (i uploaded on pastebin because its too long)

https://pastebin.com/sbxfGsXb

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest