GRBL for RAMPS 1.4

Discussion about the arduino based g-code interpreter, grbl
arsi
Posts: 4
Joined: Sat Aug 23, 2014 8:09 pm

GRBL for RAMPS 1.4

Post by arsi » Tue Sep 02, 2014 8:48 am

Hi,

I created GRBl port for RAMPS 1.4

**************************************************************************************
Steppers redirected to fastio.h from marlin firmware
min switches remaped to AUX-3, GBRL uses pin change interrupts
simple scheme to allow future porting of next releases
command buttons currently disabled
Ramps pins config moved to ramps.h
cpu_map.h - min switches
added GRBL_RAMPS1_4.ino for arduino IDE
**************************************************************************************
Ramps 1.4 | GRBL | Test
X axis | X axis | OK working
Z axis | Y axis for dual motor Y axis | OK working
Y axis | Z axis | OK working
Ramps AUX-3 pin 3 | min X | not tested
Ramps AUX-3 pin 4 | min Y | not tested
Ramps AUX-3 pin 5 | min Z | not tested
D10 | motor ON | not tested
D9 | motor direction | not tested
D8 | coolant on | not tested
***************************************************************************************

https://sourceforge.net/projects/grblforramps14/

Arsi

Redbarron1992
Posts: 1
Joined: Sat Oct 04, 2014 10:12 pm

Re: GRBL for RAMPS 1.4

Post by Redbarron1992 » Sun Oct 05, 2014 9:07 am

Awesome piece of coding!

Have upload it to my Ramps and it worked!
Today is to try and let a program run, and get the endstop to work? Can you explain which pins I should use for de +, - and signal from the endstop?
If only using 1 pin on the aux, how to do that?

Greetings

arsi
Posts: 4
Joined: Sat Aug 23, 2014 8:09 pm

Re: GRBL for RAMPS 1.4

Post by arsi » Mon Oct 06, 2014 7:44 am

It was just a warm-up programming ;)


Image

Arsi
Attachments
grblRamps.png
end stops
grblRamps.png (29.36 KiB) Viewed 15780 times

koleo9am
Posts: 1
Joined: Wed Oct 29, 2014 7:58 pm

Re: GRBL for RAMPS 1.4

Post by koleo9am » Wed Oct 29, 2014 9:02 pm

Hello,

You have described how to wire the min endstop. Can You advice, how to connect the max endstops?

Thank you in advance.

Ondrej.

arsi
Posts: 4
Joined: Sat Aug 23, 2014 8:09 pm

Re: GRBL for RAMPS 1.4

Post by arsi » Thu Oct 30, 2014 8:40 am

Hi,

Probably there must be connected in parallel with min endstops..
But, this should be tested ;)

Arsi

onekk
Posts: 29
Joined: Thu Dec 18, 2014 2:29 pm

Re: GRBL for RAMPS 1.4

Post by onekk » Sun Dec 21, 2014 4:58 pm

Hello, I'm buying a RAMPS 1.4 kit with the Arduino Megacontroller and I've intention to build a Shapeoko 2, will your GRBL for RAMPS drive the dual Y axis Motor, i mean using one Controller for one motor?

Thanks in Advance

WillAdams
Posts: 8564
Joined: Mon Apr 09, 2012 6:11 pm
Location: Pennsylvania --- south of the Turnpike, East of US-15
Contact:

Re: GRBL for RAMPS 1.4

Post by WillAdams » Sun Dec 21, 2014 5:03 pm

Wiring up two motors to a single stepper driver is a typical configuration for RAMPS, so yes.
Shapeoko 3XL #0006 w/ Carbide Compact Router w/0.125″ and ¼″ Carbide 3D precision collets
Nomad 883 Pro #596 (bamboo)

Gordon@letu
Posts: 1
Joined: Mon Jun 29, 2015 10:47 pm

Re: GRBL for RAMPS 1.4

Post by Gordon@letu » Tue Jun 30, 2015 5:24 pm

Hello,

I am trying to use a ramps board to control a Shapeoko 2. I downloaded the firmware and unzipped it. I opened the sketch from the file folder and tried to upload it.

The Arduino IDE gave me this error message: GRBL_RAMPS1_4.ino:59:20: fatal error: fastio.h: No such file or directory

After that I moved the entire file folder to my arduino sketches folder. Once I did that the error message changed to something about variables being undefined in the #define statements in fastio.h. That was late last night so I gave up and tried again this morning. Now it has lost fastio.h again and I cannot recreate the #define statement errors.

I would really like to get this running on my ramps board. Does anyone have any suggestions for what to try next?

Thanks,
Gordon

DistortedDesign
Posts: 1
Joined: Thu Jul 16, 2015 11:49 am

Re: GRBL for RAMPS 1.4

Post by DistortedDesign » Mon Jul 27, 2015 3:46 pm

Did you ever get your answer?

At the beginning of any of the files where it calls for
<fastio.h>

change to
"fastio.h"

and it should work.

jeyton
Posts: 2
Joined: Thu Jan 07, 2016 1:40 am

Re: GRBL for RAMPS 1.4

Post by jeyton » Fri Jan 08, 2016 8:49 pm

Will this work using the RAMPS 1.4 board on a Duemilanove? RepRap lists everywhere that Duemilanove works with RAMPS 1.4, I had a Mega2560 but it died. I am wanting to use the RAMPS 1.4 on the Duemilanove for simply X,Y,Laser for a laser cnc. I read that I might have to re-route the pins, but I'm not sure if thats a physical re-route or in the firmware?

Post Reply