I am adding a rotary axis but its on the Y axis with A taking the place of X axis. I used GrblGru to connect to grbl-mega-5x on a mega2560 with no errors. The question is will your post processors allow my Y rotary gcode thru without changing it. Testing under simulation the Y with A around it changes to a flat vertical plane around the X axis.
OK thanks anyway I hope not to bother you too much with my questions but I am passionate about machining in milling. congratulations again for your remarkable work.
The Mega-5X hex file is no longer provided, so it's necessary to load the source code into the Arduino IDE and compile/load it onto a Mega board. It was very difficult finding information online about this, and I'm not even sure I was able to do it properly. I'd love to see a video showing how to do this step by step. Thank you for all your videos!
@@chrisneeley2398 loading the source code into the Arduino IDE seems to work, but I haven't tested it fully yet. I was able to command it to move an axis, and verify that pulses are seen on a scope. Actually, the acceleration/deceleration portions of the move looked really nice. Haven't had much time to pursue this further, but this winter I think I'll have time to get serious about it. My problem now is trying to find a PC program (like Universal G-code sender), that handles more than 3 axes.
Try to use your Arduino Mega with the file grbl-Mega-5X-v1.1h.20180712.hex. It is stored in the installation directory during the GrblGru installation.
Can you send me the wiring diagram from mega2560 to two shield v3 circuits? (as shown in the video 02:50) I installed GRBLGru for mega2560. But I don't know how to wire as in the video
Hi, I would like to use grbl 5x in combination with a Ramps 1.4 board and an Arduino Mega2560 to operate my CNC milling machine with it. The ramps was converted to use with 24V (i removed the diode to the arduino board and changed the fuses). Now I would like to use the PWM pin D8 to control the spindle. What do I have to set as PWM Max / to get a range of 1-10V from pin D8 with a supply voltage of 24V? Sorry for the long post :)
After installing GrblGru you will find two hex files in the folder C:\Program Files (x86)\toe\GrblGru_***. One for 4 linear axes and one for 3 linear and 2 rotary axes.
Sorry, I'm not a controller expert. Please ask Gauthier Brière. He is the developer of Mega-5X and will certainly be able to help you. github.com/fra589/grbl-Mega-5X/discussions
love your work and use grblgru for cmm, just have a question if you don't mind. Is it operating as a true 5 axis or a 3+2. the difference is the simultaneous nature of the axis. if the fourth and fifth axis make a step then the 3d operation is performed or are all working at the same time. In any case it would still produce a viable result but i imagine the finish would be a lot courser.
To be honest, I don't know exactly. GrblGru sends only the GCode to the respective controller (GRBL, TinyG, Mega-5X or g2core) The actual axis control is done by the controller. However, I assume that all 5 axes work simultaneously. In my internal simulation mode I make sure that all axes reach the end point and also all interpolated points simultaneously.
If your CAM can post 5 axis movements, then it moves 5 axes simultaneous, the Arduino has no idea if a move is 3 or 4 or 5 axis nor does it have to care about it.
if I remember correctly you can connect EN/GND together. But then all motors are always under power. The alternative is to enable the motors only when they are moved. Then they will not get so warm. Normally you switch EN for each axis separately from the controller. See last column of the table: Axis. Step. Dir. Enable X. A0. A1. D38 Y. A6. A7. A2 Z. D46. D48. A8 A. D26. D28. D24 B. D36. D34. D30 In this case you can only enable all axes on the board together. I hope this helps you.
Please can you supply wiring drawing from Arduino 2560 to stepper drivers - I'm using large 5 Amp drivers - I read somewhere no need to have ramps 1.4, just signal wires from Arduino - I cannot find this diagram??
Unfortunately I haven't found a valid pin out anywhere either. But you can download the Mega-5X project on GitHub github.com/fra589/grbl-Mega-5X In the file cpu_map.h you can find the pinouts.
@@grblgru Thanks .. I found a link to a 6 axis version attempt: github.com/shooter64738/grbl-6-axis-synch I'm checking the pinouts on the cpu_map.h to see if this version is going to be easier to modify.
If you goto grbl-mega-5x on GitHub and click the green button clone or download you will get file grbl-Mega-5X-edge.zip. Unzip it and open file cpu_map.h in folder grbl-Mega-5X-edge/grbl-5x. It starts out with grbl output but half way down goes to grbl-mega output pins. I used this pin list and tested with drivers and steppers ok just like GrblGru's video.
@@edwardharrison844 That's great .. I will try it .. meanwhile I have found a 6 axis version here - I think it include VDF control? github.com/shooter64738/grbl-6-axis-synch
Unfortunately, I do not have a drawing. But the wiring is also very simple if you don't use a RAMPS board. You only have to wire the signals for pulse and direction to the driver. In the video you can see at 0:39 the pinout.
Hi...thank you for the guide... Would it be possible to share the wiring diagram of this setup. Like you even I don't have access to a Ramps board and have to make do with 2 cnc shields.
Sorry, at the moment I have a lot to do and do not get around to it. But I have it on my ToDo list. But it is also very simple. You only need to twist the pulse and direction signals of each axis. There are many examples in WWW.
Hi! Where can I find the full pinout of the Mega X5 GRBL? I searched internet, but everywhere only fragmentary information :( And I would like to get a complete single table. So that it contains not only the pins for the stepper motors, but also all the output and input signals, including the remote control. Thanks!
I have an original Mega, but I suspect it works with others as well. But please look at my video about the BluePill. It uses GrblHAL, which has several advantages. Also, it can often be purchased for under $10. ua-cam.com/video/i_MEtAc0k-Y/v-deo.html
@@grblgru veja se consegue criar apenas atalho nos botoes x, y, z, a,b por exemplo entao desses atalhos sei como fazer o resto e gravo um video e te mando
You can already control the axes via keyboard codes. 0x21 X+Y+ Page up 0x22 X+Y- Image down 0x24 X-Y+ End 0x23 X-Y- Pos1 0x25 X- Arrow right 0x27 X+ Arrow left 0x28 Y- Arrow up 0x26 Y+ Arrow down 0x6d Z+ - 0x6b Z- + 0x0C RefPctDrive Enter 0x6f 25% 0x6a 50% 0x08 75% 0x2e 100%
@@grblgru ok muito bom irei fazer um video em breve usando estes atalhos e te mando um link depois voce pode fazer um video tambem para postar em seu canal, eu estou em viagem no momento e volto mes que vem assim que voltar já usarei os atalhos imediatamente
Awesome! Are you in contact with the guy who did the Mega-5X GRBL ? Just want to ask, is it possible to support RC ESC spindle PWM control? It's like an RC servo control just for ESC spindle (I can't write to him on github)
first off, great work! second, I see a lot of mentions for 2 rotary axes, BUT can the 2 extra drivers be assigned to x and y? Say, 2x, 2y, 1z? This way we can have dual endstops for autosquare?
Thanks. Yes, you can also configure 4 linear axes in the Mega-5X software. But you have to recompile the program for this. I will try to make these modifications. But it will take some time. See github.com/fra589/grbl-Mega-5X/issues for details.
hello, can tell me if it is possible to put the 2 motors of the Z in X axis and pass the X axis or there is a single motor in Z axis on the ramp 1.4 card and what parameters would have to be changed for it to work in your simulator please thank you
Unfortunately I haven't found a valid pin out anywhere either. But you can download the Mega-5X project on GitHub github.com/fra589/grbl-Mega-5X In the file cpu_map.h you can find the pinouts.
I suspect that you have not flashed the correct Mega 5X version. When you install GrblGru the file grbl-Mega-5X-v1.1h.20180712.hex kopiert. Flash your Arduino Mega with it.
Also had similar problem and found a solution in the forum here en.industryarena.com/forum/grblgru-free-cam-3d-simulation-mills-lathes--311876-8.html GrblGru mentions to fix jogging error 15 change $20=1 to $20=0 to change setting - select and click on command line box and type $$ in left side window look for and find $20=1 in right side window change text to $20=0 then select and click off command line box try jogging buttons.
I use GRBL MEGA 5X on MKS GEN, but I can't disable the pullup resistors in end stop limits pins. I uncommented the line #define DISABLE_LIMIT_PIN_PULL_UP in config.h, but don't work. Any idea,?
I have this version of grbl5x on my arduinomega with a 1.6 ramps, but I'm looking for a post processor for fusion 360 and/or solidcam, would you have that ?
I use Vectric Aspire high priced but was giving to me on birthday. However if you look at more of GrblGru's videos you will see you can make or modify an object to generate the gcode. FreeCad is another program but not sure if they have 4th axis going yet, a Post processor.
@@edwardharrison844 thanks, yes i use freeCad to draw my objects and estlcam as a gcode generator, is vectric a drawing software or does it create the actual gcode wich you can run over grbl? And wich version of vectric should i get to run a 4th on my machine? Thanks alot man :)
@@En3rGyFaNforEv3r It comes down to your POST PROCESSOR = PP in the software you use. PP is the interface between your machine and your software that you use. When you save your GCODE you pick a PP that has been coded for your machine. Vectric Aspire has 3 and 4 axis mm and inch PP's for GRBL on an Arduino Uno. But it doesn't have a PP for Mega-5X. The latest Aspire is $2000 USD but my version is real old but can create and cut parts on a CNC router.
thanks a lot .. so I just assemble this and how does the file will work? like once it all assembled and working on how to give the design file or create 1?
Hi. Awesome work! I know this may be a bit off-topic, but seeing you tried g2core and 5-axis grbl, which one do you like more? I've read g2core should be more accurate and precise, but the big userbase of grbl is a big plus. I'm planning on using tb6600 stepper drivers, and I don't know if they may work bad with 3.3v output instead of the mega's 5v. Thanks again for your effort!
Thanks. I have had very good experience with Grbl Mega-5X. It runs very stable. But I believe that g2core has a much better hardware with the DUE. I will make another try with g2core soon. Unfortunately I am not familiar with the tb6600 stepper driver.
Sorry, just the pictures in the video. The pinout is also described here ( look for Aug '19) discuss.inventables.com/t/grblgru-free-cam-program-with-3d-simulation-for-mills-and-lathes/44042/80
Hello Friend. I'm from Brazil and made a cnc machine. but I'm having trouble configuring it seems that grblgru is not communicating with the firmware. can you give me a hint of what it might be?
Hello GRBLGRU Team First of all, congratulations for the excellent work. I'm having a hard time configuring my Mega 2560 card and Ramps 1.4 with the software Grbl Gru I managed to install the hex file, the software recognized that I can communicate with the command screen but the motors do not move, I tried the connections indicated but nothing happens. any tips? I'm using nema 17 steppers. Thank you in advance
If you have the "Command Line " box checked you can only send commands in white box above it, like G0 X20Y20. If you uncheck the "Command Line" box then you can use the jogger and send GCODE from a file you load or make in GrblGru.
Please check the data in the two controller windows. Does Mega-5X respond to commands from GrblGru ? Is the 3D model moving ? Which Mega 5X version did you flash ?
Hello thank you very much for the answer . the movement of the axes in the virtual environment is working. Communication with the grbrl mega 5x is working. I can access the configuration screen($$). I will apply the suggestions. Thank you very much. 
@@grblgru Hello again. I am using the latest version grbl6axis9600.hex file available on the github. I use the Arduino mega 2560. I tested all the axes (universal G code sender) and they worked. The configuration on the GRBL-Mega of the pins I am using. axis (step, direction) X (A0, A1, D38) -Y (A6, A7, A2) -Z (D46, D48, A8) -A (D26, D28, D24) -B (D36, D34, D30) -C (D49, D51 , D53). Grbl6axis9600.hex I already tried to change the command box ( uncheck )and the axes didn't work either. Help Above a link with my robot arm (Design inspired Robot arm by Mr Jeff Ker ) ua-cam.com/video/X3nOwd9aBGI/v-deo.html but notingh happnenn , but already in the game !
Hello sir please help me I need your help I have a machine grbl mega 5x edge in Arduino mega 2560 + ramp 1.4 homing settings is $23=7 nothing is inverted When I am running homing cycle test by two jumper wires by touching both ends in place of limit switches from minimum limit pins it works well .... When I extend the wire by joining jumper wire of limit pins to my machine approximately 2meter long wiring it starts detacting without getting touched also homing function invers nd going wrong direction nd traveling few centimetres and stops Then i tried again by only small jumper wires it works fine when I am extending the wire by joining jumper wire it goes wrong ... Why please help me it's out of my head
You only have to connect the signals "pulse" and "direction" of each axis to the corresponding inputs of your shield. You can find the pin out of your shield in the www. The connections on the Mega are described in the video. Additionally you need the supply voltage and you have to activate the "Enable" input. That's all.
привет это автономный контроллер ? у вас есть прошивка ? поделитесь пожалуйста. hi this is a stand-alone controller? you have a piercing? please share.
Good morning I wanted to ask if it was possible to implement a keyboard function key (for example X axis in SX, CTRL + ) for buttons then allowing the use through a JOYTOKEY program of a JOYSTICK, this could greatly simplify the use of the machine in Manual Another problem I can't create the path for this process where am I wrong snipboard.io/tE045a.jpg
Can you please ask your question in the forum ? www.cnczone.com/forums/uncategorised-cam-discussion/311876-cnc-cam-forum.html Then you can send me the DXF file as well.
I think ist no problem to build a 5 Axis machine, its more problematic to find a 5 axis CAM program which price i can pay. But..... thank you very much, for your very good work!
Thanks. My goal is to be able to generate GCode for 3D at some time. But this will take some time. But you can already do a lot with the extended macro functionality.
Hello congratulations again on your work I uploaded grbl mega 5 axes on a 2560 card then connected the motors to a 1.4 ramp everything is ok but when I select the com port 7 and the grbl mega 5 axis controller, in the window below, I have a message that says: waiting for grbl identification: grbl not found @ com7 I don't understand because my card is detected on com7 can you help me please because this project is really close to my heart thank you
Hmm, that should actually work. Which version of Mega-5X did you flash ? In the installation of GrblGru the file "grbl-Mega-5X-v1.1h.20180712.hex" in the folder "C:\Program(x86)\toe\GrblGru" is copied. Try to flash this file once.
@@grblgru hello, thank you for your spirit of assistance, it's nice to see that there are still people who like to share their knowledge. I tried the grbl mega 5x version that you indicated to me and grbl was detected. Then my engines were not running but I found, all the parameters of grbl were with very large values, that, I do not know why. I reset all values to normal and it works. thank you again, i'm happy thanks again, now i will try to move further
J'ai fait une CNC 3 axes avec GRBL qui marche très bien en suivant un tuto sur youtube. J'aimerais beaucoup construire une CNC 5 axes, j'ai essayé mais là je n'y arrive pas du tout! Manque d'explication...
Sorry, but I don't understand your question. Which file to flash the board with is explained in the video. To use GrblGru, check out my UA-cam channel.
Great compilation of GRBL control using the Arduino in one video, I know this is a lot of information to research and compile, keep up the good work. Have you also looked into the ODrive system? Something I am currently putting together at home. Thank you for sharing. Thumbs UP and SUBSCRIBED :-D.
i am stuck help me ........... i am making 5 axis cnc milling machine by using arduino mega 2560 +1.4 ramps board i uploaded frimware but the E0,E1 is not giving output as Axis A and B but when i am switching it in 4 axis in grbl foam cutter then it gives E0 as Axis U so .... my problem is that i my board E0 and E1 which is not as Axis A and B ...... how and what changes i have to make in frimware to get This E0 and E1 as Output Axis A and B....... >>>first off all i have to make changes in c++ files and header files then... >>>second how i have to compile it in one single .ino file from bunches of c++ and header files of frimware Atleast help me out from my second problem because i don,t know how to make firmware for my machine into single .ino files to upload it in my machines................... please if somebody knows kindly help me to make it solved............
If you want to change the Mega-5X project and compile it yourself, watch this video: ua-cam.com/video/jNKa2-UwKgo/v-deo.html If you only need a hex file for a FoamCutter with the axes X,Y,Z and U you can use the hex file that comes with the installation of GrblGru. You will find the file grbl-Mega-5X-v1.2d_XYZU_SPINDLE_PWM_ON_D6.Hex after the GrblGru setup in the directory C:\Program Files (x86)\toe\GrblGru For flashing the Mega you need the program XLoader.
Hi i'm very interesting with GrblGru....thank's for your videos...in my case, all functions under GrblGru run with Grbl 1.1 but it's impossible to load Grbl Mega 5 with Xloader...I think it's due to hex file...i don't know if my Hex file is the right file for that....i don't get $103, $104, $113, $114, $123, and $124...in same time after loaded Hex file wtih XLoader i get 31462 bytes uploaded.... thank's for an idea to find a solution... philip
Thanks, I also noticed that the hex file is unfortunately no longer published. That's why you have to compile the project yourself. You can get information about this on github.com/fra589/grbl-Mega-5X/releases This is the page that is also linked in the GrblGru help menu. Hope this helps a bit.
The error message can have many causes. Does Mega-5X report ready ? Check the messages in the controller window. There you will get more detailed information about the error.
Is it possible to use this for a 4 axis hot CNC foam cutter? I'm using the software developed by github.com/rahulsarchive/4AxisFoamCutter it works well on GRBL 8.2c but now I'm trying to use Mega-5X on the RAMPS board but the Grbl-Panel Rahul modified doesn't work. The grbl parameters are different. Thanks
Thanks for the link to 4AxisFoamCutter. Very interesting project ! In my opinion the parameters of Grbl and Mega-5X are the same. With the command $xx=yyy it should be possible to set all parameters as they are set in GRBL.
@@grblgru The problem I have found is that the Axis variables are not the same $1-4 and not $100-103 so the controller program Daniel wrote doesn't work. I have a little programming experience but not enough to figure this one out.
I would like to control the cutter. But the problem is that Mega-5X has 3 linear axes and 2 rotary axes. But you need 4 linear axes. I will see if I can change that.
Hi Keith, I am late, but in my new version V3.45 I have a 3D model of your Foam Cutter. Mega-5X can also control 4 linear axes. But you have to change the settings.
Keep on Keepin on, I can't believe how many years you have dedicated to helping the community. Thank you for your awesome contributions!
I do not speak English but thank you very much for your input and your channel. Greetings from Colombia.
One of the best videos on youtube... Lots of love for the creator.
thanks a lot sir , i appreciate your time and efforts into making this available to the community
I am adding a rotary axis but its on the Y axis with A taking the place of X axis.
I used GrblGru to connect to grbl-mega-5x on a mega2560 with no errors.
The question is will your post processors allow my Y rotary gcode thru without changing it.
Testing under simulation the Y with A around it changes to a flat vertical plane around the X axis.
No entiendo si quisiera hacer el eje rotativo en la cnc debería ser de 4 ejes o también se puede trabajar con el quinto eje.
Félicitations pour le travail que tu réalises cette vidéo est ce qui se fait de mieux sous GRBL.
OK thanks anyway
I hope not to bother you too much with my questions but I am passionate about machining in milling.
congratulations again for your remarkable work.
The Mega-5X hex file is no longer provided, so it's necessary to load the source code into the Arduino IDE and compile/load it onto a Mega board. It was very difficult finding information online about this, and I'm not even sure I was able to do it properly. I'd love to see a video showing how to do this step by step. Thank you for all your videos!
Thanks for the info. At the moment I have only little time, but I will keep it in mind.
In the same boat also were you able to find a fix
@@chrisneeley2398 loading the source code into the Arduino IDE seems to work, but I haven't tested it fully yet. I was able to command it to move an axis, and verify that pulses are seen on a scope. Actually, the acceleration/deceleration portions of the move looked really nice. Haven't had much time to pursue this further, but this winter I think I'll have time to get serious about it. My problem now is trying to find a PC program (like Universal G-code sender), that handles more than 3 axes.
Hey do you have a diagram setting up
Hi I have problems with axis A y B they don't run, can You help me pls?
Try to use your Arduino Mega with the file
grbl-Mega-5X-v1.1h.20180712.hex. It is stored in the installation directory during the GrblGru installation.
@@grblgru hi thank you, can you help me with the wiring for my identical setup to yours please
Can you send me the wiring diagram from mega2560 to two shield v3 circuits? (as shown in the video 02:50) I installed GRBLGru for mega2560. But I don't know how to wire as in the video
I'm sorry, I will add the schematic to the manual, but I don't have time right now. Please have a look to 0:33. The signals are described there.
@@grblgru Yes, thank you, I will try to follow 0:33. The video is very useful
@@grblgru have you had time to do the schematic for the two cnc shields ?? i want to do this with my cnc, thank you
What if my Y is mirrored? I Do you need both motors for the rotary? I have a Xcarve looking for an alt controller that supports 5 axis.
good morning, do you have the connection diagram
hi. I do not find hex file for 6 axis
Awesome video !!! Would love to know how you would do this if you had to build it again in 2023 with similar budget !
The best video!! Thanks for all ;)
Hi, I wanted to know what kind of power source you use. Please provide more details if possible.
That depends on the motors you use. I have Nema17 /28Ncm motors. My power supply has 12V / 2A
Hi,
I would like to use grbl 5x in combination with a Ramps 1.4 board and an Arduino Mega2560 to operate my CNC milling machine with it. The ramps was converted to use with 24V (i removed the diode to the arduino board and changed the fuses). Now I would like to use the PWM pin D8 to control the spindle.
What do I have to set as PWM Max / to get a range of 1-10V from pin D8 with a supply voltage of 24V?
Sorry for the long post :)
Sorry, I'm not an expert on the software on the Mega.
I think Gauthier Brière can answer your question. See :
github.com/fra589/grbl-Mega-5X/issues
I can't find the hex file for mega-5x, is there any solution?
After installing GrblGru you will find two hex files in the folder C:\Program Files (x86)\toe\GrblGru_***. One for 4 linear axes and one for 3 linear and 2 rotary axes.
@@grblgru I found it, thanks
Great video, thanks!
Can I use A and B axis to duplicate X and Y axis? I mean, I have 2 X and 2 Y steppers and I need each set to move synchronously
Sorry, I'm not a controller expert.
Please ask Gauthier Brière. He is the developer of Mega-5X and will certainly be able to help you.
github.com/fra589/grbl-Mega-5X/discussions
love your work and use grblgru for cmm, just have a question if you don't mind. Is it operating as a true 5 axis or a 3+2. the difference is the simultaneous nature of the axis. if the fourth and fifth axis make a step then the 3d operation is performed or are all working at the same time.
In any case it would still produce a viable result but i imagine the finish would be a lot courser.
To be honest, I don't know exactly.
GrblGru sends only the GCode to the respective controller (GRBL, TinyG, Mega-5X or g2core) The actual axis control is done by the controller. However, I assume that all 5 axes work simultaneously.
In my internal simulation mode I make sure that all axes reach the end point and also all interpolated points simultaneously.
If your CAM can post 5 axis movements, then it moves 5 axes simultaneous, the Arduino has no idea if a move is 3 or 4 or 5 axis nor does it have to care about it.
please, show me how to connect a 5 axis arduino circuit. I can't see them
Sorry, I don't understand your question. What exactly do you mean by
" 5 axis arduino circuit"
@@grblgru drive.google.com/file/d/1FEEgAckNmUODg4IcMyHm1PH9QEObVZNg/view?usp=sharing
@@grblgru EN/GND to Pin ?
if I remember correctly you can connect EN/GND together. But then all motors are always under power. The alternative is to enable the motors only when they are moved. Then they will not get so warm. Normally you switch EN for each axis separately from the controller. See last column of the table:
Axis. Step. Dir. Enable
X. A0. A1. D38
Y. A6. A7. A2
Z. D46. D48. A8
A. D26. D28. D24
B. D36. D34. D30
In this case you can only enable all axes on the board together.
I hope this helps you.
@@grblgru Thank You, I Try
Please tell me post processor for fusion 360
Please can you supply wiring drawing from Arduino 2560 to stepper drivers - I'm using large 5 Amp drivers - I read somewhere no need to have ramps 1.4, just signal wires from Arduino - I cannot find this diagram??
Unfortunately I haven't found a valid pin out anywhere either. But you can download the Mega-5X project on GitHub github.com/fra589/grbl-Mega-5X
In the file cpu_map.h you can find the pinouts.
@@grblgru Thanks .. I found a link to a 6 axis version attempt: github.com/shooter64738/grbl-6-axis-synch I'm checking the pinouts on the cpu_map.h to see if this version is going to be easier to modify.
If you goto grbl-mega-5x on GitHub and click the green button clone or download you will get file grbl-Mega-5X-edge.zip. Unzip it and open file cpu_map.h in folder grbl-Mega-5X-edge/grbl-5x. It starts out with grbl output but half way down goes to grbl-mega output pins. I used this pin list and tested with drivers and steppers ok just like GrblGru's video.
@@edwardharrison844 That's great .. I will try it .. meanwhile I have found a 6 axis version here - I think it include VDF control? github.com/shooter64738/grbl-6-axis-synch
@@adam.southside ......thank you very much sir Adam...What is the name of the program to install on windows to move the axes( x y z a b c)
Somehow I have no audio on this. Everything else on YT comes through 5x5
Z axis not working please help🤔
I'm upgrading my Open builds mini mill following your guides. What are the wiring diagram for 5 axis. I could only find 3 axis only.
Unfortunately, I do not have a drawing. But the wiring is also very simple if you don't use a RAMPS board. You only have to wire the signals for pulse and direction to the driver. In the video you can see at 0:39 the pinout.
@@grblgru I found the mapping for it. Thanks you. Now just to understand the Software an usage..
Hi...thank you for the guide... Would it be possible to share the wiring diagram of this setup. Like you even I don't have access to a Ramps board and have to make do with 2 cnc shields.
Sorry, at the moment I have a lot to do and do not get around to it. But I have it on my ToDo list.
But it is also very simple. You only need to twist the pulse and direction signals of each axis. There are many examples in WWW.
Great stuff! Thanks for sharing!
Is it possible to do all this in Linux?
Hi!
Where can I find the full pinout of the Mega X5 GRBL?
I searched internet, but everywhere only fragmentary information :(
And I would like to get a complete single table. So that it contains not only the pins for the stepper motors, but also all the output and input signals, including the remote control.
Thanks!
Go to Github page github.com/fra589/grbl-Mega-5X
and download the source ofMega-5X.
In the file "cpu_map.h" you will find the pinout
can I do a foam cutter with this program
Yes, you can. I am currently expanding the functions for the foam cutter. Download the beta version V4.5.6 and select "FoamCutter" as the machine.
@@grblgru thanks
Is this the original Mega 2560? Not R3 Assuming ..Thanks
I have an original Mega, but I suspect it works with others as well.
But please look at my video about the BluePill. It uses GrblHAL, which has several advantages. Also, it can often be purchased for under $10.
ua-cam.com/video/i_MEtAc0k-Y/v-deo.html
Da para adaptar um joystick de game externo nara controlar a maquina?
Não, de momento isso ainda não é possível. Mas eu estou a trabalhar nisso.
No, at the moment that is not yet possible. But I am working on it
@@grblgru veja se consegue criar apenas atalho nos botoes x, y, z, a,b por exemplo entao desses atalhos sei como fazer o resto e gravo um video e te mando
You can already control the axes via keyboard codes.
0x21 X+Y+ Page up
0x22 X+Y- Image down
0x24 X-Y+ End
0x23 X-Y- Pos1
0x25 X- Arrow right
0x27 X+ Arrow left
0x28 Y- Arrow up
0x26 Y+ Arrow down
0x6d Z+ -
0x6b Z- +
0x0C RefPctDrive Enter
0x6f 25%
0x6a 50%
0x08 75%
0x2e 100%
@@grblgru ok muito bom irei fazer um video em breve usando estes atalhos e te mando um link depois voce pode fazer um video tambem para postar em seu canal, eu estou em viagem no momento e volto mes que vem assim que voltar já usarei os atalhos imediatamente
Awesome!
Are you in contact with the guy who did the Mega-5X GRBL ?
Just want to ask, is it possible to support RC ESC spindle PWM control? It's like an RC servo control just for ESC spindle (I can't write to him on github)
You can register for free at github.
Then you can ask your question to Gauthier at github.com/fra589/grbl-Mega-5X
Look at tab 'issues'
Holy smokes! Nice work bud!!
first off, great work! second, I see a lot of mentions for 2 rotary axes, BUT can the 2 extra drivers be assigned to x and y? Say, 2x, 2y, 1z? This way we can have dual endstops for autosquare?
Thanks. Yes, you can also configure 4 linear axes in the Mega-5X software. But you have to recompile the program for this. I will try to make these modifications. But it will take some time. See github.com/fra589/grbl-Mega-5X/issues for details.
hello,
can tell me if it is possible to put the 2 motors of the Z in X axis and pass the X axis or there is a single motor in Z axis on the ramp 1.4 card and what parameters would have to be changed for it to work in your simulator please
thank you
Sorry, but I am not a hardware expert for the ramp board.
The simulation runs independently of the hardware.
Wenn i connect my Arduino with ramps1.4 on it .and i connect.than i get error code 9 Watt am i doing wrong? Greetz
where can i find all the pin out locations on the mega, like the probe the estop and so on thanks
Unfortunately I haven't found a valid pin out anywhere either. But you can download the Mega-5X project on GitHub github.com/fra589/grbl-Mega-5X
In the file cpu_map.h you can find the pinouts.
For Fluidnc?
Yes :)
the .hex file link is down I need it for 5 axes please help me I'm counting on you a lot
When installing GrblGru, 3 different hex files are copied into the installation directory.
Default: C:\Program Files (x86)\toe\GrblGru_vxxx
If i want make 5 axis machine for machinable wax ? Speed feed and which spindle which watt i must use?
Sorry, but I can't tell you that.
Hi I have problems with axis A y B they don't run i tried hex file (grbl error20)
I suspect that you have not flashed the correct Mega 5X version. When you install GrblGru the file grbl-Mega-5X-v1.1h.20180712.hex kopiert.
Flash your Arduino Mega with it.
HOW to GrblGru errors 15
Also had similar problem and found a solution in the forum here en.industryarena.com/forum/grblgru-free-cam-3d-simulation-mills-lathes--311876-8.html
GrblGru mentions to fix jogging error 15 change $20=1 to $20=0
to change setting - select and click on command line box and type $$ in left side window
look for and find $20=1 in right side window
change text to $20=0
then select and click off command line box
try jogging buttons.
I use GRBL MEGA 5X on MKS GEN, but I can't disable the pullup resistors in end stop limits pins. I uncommented the line #define DISABLE_LIMIT_PIN_PULL_UP in config.h, but don't work. Any idea,?
Sorry, I am not a controller expert. Please ask your question to Gauthier Brière, the developer of Mega-5X.
github.com/fra589/grbl-Mega-5X/issues
Owesome. Thanks for the great job. I am definitely going to build one!
sir
can i get the connection detail with 5 axis stepper motors and spindle
See the video at 0:35
Hi
How can I control my spindle rpm.
Which pin is allocated for that?
You can set this in the Config.h of Mega-5X.
I'm making a video about it right now. Hope it will be ready in the next days.
Done :)
See ua-cam.com/video/jNKa2-UwKgo/v-deo.html
lets say my machine has the 2 rotary axis on the spindle would still work?
If you have a machine type that is not yet in the program, I will try to create a new type.
calibration step motors for machine models?
Sorry, don't understand your question.
I have this version of grbl5x on my arduinomega with a 1.6 ramps, but I'm looking for a post processor for fusion 360 and/or solidcam, would you have that ?
No sorry, I only used Mega-5X with my own program.
Wich software do you use to create the 4 axis g-code?
I use Vectric Aspire high priced but was giving to me on birthday.
However if you look at more of GrblGru's videos you will see you can make or modify an object to generate the gcode.
FreeCad is another program but not sure if they have 4th axis going yet, a Post processor.
@@edwardharrison844 thanks, yes i use freeCad to draw my objects and estlcam as a gcode generator, is vectric a drawing software or does it create the actual gcode wich you can run over grbl? And wich version of vectric should i get to run a 4th on my machine? Thanks alot man :)
@@En3rGyFaNforEv3r It comes down to your POST PROCESSOR = PP in the software you use. PP is the interface between your machine and your software that you use. When you save your GCODE you pick a PP that has been coded for your machine. Vectric Aspire has 3 and 4 axis mm and inch PP's for GRBL on an Arduino Uno. But it doesn't have a PP for Mega-5X. The latest Aspire is $2000 USD but my version is real old but can create and cut parts on a CNC router.
thanks a lot .. so I just assemble this and how does the file will work? like once it all assembled and working on how to give the design file or create 1?
You are asking for 5 axis g code generator. Right?
Can I use tb6560 driver instead of ramps ?
Sorry, but I don't know the tb6560 board. You have to compare the pinout.
Thank you bro, your video was so informative. I really enjoyed it.
Is it possible to run a fourth axis now? Thanks so much for your work.
Thanks. Yes, of course
@@grblgru Yes!!! Thanks.
Hi. Awesome work! I know this may be a bit off-topic, but seeing you tried g2core and 5-axis grbl, which one do you like more? I've read g2core should be more accurate and precise, but the big userbase of grbl is a big plus. I'm planning on using tb6600 stepper drivers, and I don't know if they may work bad with 3.3v output instead of the mega's 5v. Thanks again for your effort!
Thanks. I have had very good experience with Grbl Mega-5X. It runs very stable.
But I believe that g2core has a much better hardware with the DUE. I will make another try with g2core soon.
Unfortunately I am not familiar with the tb6600 stepper driver.
Please don't use TB6600, they are horrible. Go to OMC StepperOnline and order digital drivers from there, costs next to nothing and are quality.
@@grblgru ccan you controll all 5 axis simultaniously to make more complexe patterns?
Dude, this is AWESOME! Can it do 5 axis with A and B moving the tool/router instead of a trunnion?
Thanks. Sorry, but I don't understand your question.
@@grblgru Like a 5 Axis articulating spindle, as opposed to a 3 axis spindle and two rotary axes on the workpiece?
You have 3 linear and 2 rotary axes. Take a look at the 3D model "5Axes_1" in the program. If you mean something like that it is of course possible.
@@grblgru Ah, Perfect! Thanks for taking the time to reply and thanks for the amazing software!
Do you have photo from wiring?
Sorry, just the pictures in the video. The pinout is also described here ( look for Aug '19)
discuss.inventables.com/t/grblgru-free-cam-program-with-3d-simulation-for-mills-and-lathes/44042/80
@@grblgru thanks a lot
hi ! i am new so would you tell me please where do i get the hex file?
github.com/fra589/grbl-Mega-5X/releases
Hello Friend. I'm from Brazil and made a cnc machine. but I'm having trouble configuring it seems that grblgru is not communicating with the firmware. can you give me a hint of what it might be?
What controller software and what hardware do you use ?
@@grblgru controller software, grblgru and hardware, arduino mega 2560 with ramps 1.4
@@grblgru can you help me?
@@grblgru why does grblgru not communicate with the board even with the firmware installed and the arduino connected? what could be missing?
descargue un archivo zip pero me dice que no contiene librerias puedes darme una mano con eso
Hello GRBLGRU Team
First of all, congratulations for the excellent work.
I'm having a hard time configuring my Mega 2560 card and Ramps 1.4 with the software Grbl Gru
I managed to install the hex file, the software recognized that I can communicate with the command screen but the motors do not move, I tried the connections indicated but nothing happens.
any tips?
I'm using nema 17 steppers.
Thank you in advance
If you have the "Command Line " box checked you can only send commands in white box above it, like G0 X20Y20. If you uncheck the "Command Line" box then you can use the jogger and send GCODE from a file you load or make in GrblGru.
Please check the data in the two controller windows. Does Mega-5X respond to commands from GrblGru ? Is the 3D model moving ? Which Mega 5X version did you flash ?
@edward harrison
Just saw your answer now. Thanks for your help. :)
Hello thank you very much for the answer . the movement of the axes in the virtual environment is working. Communication with the grbrl mega 5x is working. I can access the configuration screen($$). I will apply the suggestions. Thank you very much.

@@grblgru Hello again.
I am using the latest version grbl6axis9600.hex
file available on the github.
I use the Arduino mega 2560.
I tested all the axes (universal G code sender) and they worked.
The configuration on the GRBL-Mega of the pins I am using.
axis (step, direction)
X (A0, A1, D38) -Y (A6, A7, A2) -Z (D46, D48, A8) -A (D26, D28, D24) -B (D36, D34, D30) -C (D49, D51 , D53).
Grbl6axis9600.hex
I already tried to change the command box ( uncheck )and the axes didn't work either.
Help
Above a link with my robot arm (Design inspired Robot arm by Mr Jeff Ker )
ua-cam.com/video/X3nOwd9aBGI/v-deo.html
but notingh happnenn , but already in the game !
Hello sir please help me
I need your help
I have a machine grbl mega 5x edge in Arduino mega 2560 + ramp 1.4 homing settings is $23=7
nothing is inverted
When I am running homing cycle test by two jumper wires by touching both ends in place of limit switches from minimum limit pins it works well ....
When I extend the wire by joining jumper wire of limit pins to my machine approximately 2meter long wiring it starts detacting without getting touched also homing function invers nd going wrong direction nd traveling few centimetres and stops
Then i tried again by only small jumper wires it works fine
when I am extending the wire by joining jumper wire it goes wrong ...
Why please help me it's out of my head
I'm not a controller expert and I don't use limit switches on my machines myself. Therefore, I can not help you. Sorry
sir how to insert 2 cnc v3 shields to mega 2560 and how it wiring please reply--raman
You only have to connect the signals "pulse" and "direction" of each axis to the corresponding inputs of your shield. You can find the pin out of your shield in the www. The connections on the Mega are described in the video. Additionally you need the supply voltage and you have to activate the "Enable" input. That's all.
привет это автономный контроллер ? у вас есть прошивка ? поделитесь пожалуйста.
hi this is a stand-alone controller? you have a piercing? please share.
Смотрите здесь для получения дополнительной информации
See here for more information
www.grblgru.com
Good morning
I wanted to ask if it was possible to implement a keyboard function key (for example X axis in SX, CTRL + ) for buttons then allowing the use through a JOYTOKEY program of a JOYSTICK, this could greatly simplify the use of the machine in Manual
Another problem I can't create the path for this process
where am I wrong snipboard.io/tE045a.jpg
Can you please ask your question in the forum ?
www.cnczone.com/forums/uncategorised-cam-discussion/311876-cnc-cam-forum.html
Then you can send me the DXF file as well.
I think ist no problem to build a 5 Axis machine, its more problematic to find a 5 axis CAM program which price i can pay. But..... thank you very much, for your very good work!
Thanks. My goal is to be able to generate GCode for 3D at some time. But this will take some time. But you can already do a lot with the extended macro functionality.
fusion360 is free and does do 5x (just a question to find the right post :) )
@@grblgru As #HC_n_Carbo said fusion 360 and inventor does 5 axis
3+2 or simultaneous?
It's not a master / slave, but you can move all axes together.
g1 g90 f250 X50 a30 b45 will work
Hello
congratulations again on your work
I uploaded grbl mega 5 axes on a 2560 card then connected the motors to a 1.4 ramp everything is ok but when I select the com port 7 and the grbl mega 5 axis controller, in the window below, I have a message that says: waiting for grbl identification: grbl not found @ com7
I don't understand because my card is detected on com7
can you help me please because this project is really close to my heart
thank you
Hmm, that should actually work. Which version of Mega-5X did you flash ?
In the installation of GrblGru the file "grbl-Mega-5X-v1.1h.20180712.hex" in the folder "C:\Program(x86)\toe\GrblGru" is copied. Try to flash this file once.
@@grblgru hello,
thank you for your spirit of assistance, it's nice to see that there are still people who like to share their knowledge.
I tried the grbl mega 5x version that you indicated to me and grbl was detected.
Then my engines were not running but I found, all the parameters of grbl were with very large values, that, I do not know why.
I reset all values to normal and it works.
thank you again, i'm happy
thanks again, now i will try to move further
I looks amazing! Thanks for sharing.
anybody know how to change units from mm to inches grblgru 3.49? i cant find any settings to change
Sorry to disappoint you. Imperial units is not supported. The effort is just too much.
J'ai fait une CNC 3 axes avec GRBL qui marche très bien en suivant un tuto sur youtube.
J'aimerais beaucoup construire une CNC 5 axes, j'ai essayé mais là je n'y arrive pas du tout!
Manque d'explication...
Nice video, well done, thanks for sharing :)
how to create a file for this machine please just reply on the text and I will figure out
Sorry, but I don't understand your question.
Which file to flash the board with is explained in the video. To use GrblGru, check out my UA-cam channel.
Great compilation of GRBL control using the Arduino in one video, I know this is a lot of information to research and compile, keep up the good work. Have you also looked into the ODrive system? Something I am currently putting together at home. Thank you for sharing.
Thumbs UP and SUBSCRIBED :-D.
i am stuck help me ...........
i am making 5 axis cnc milling machine
by using arduino mega 2560 +1.4 ramps board
i uploaded frimware but the E0,E1 is not giving output as Axis A and B but when i am switching it in 4 axis in grbl foam cutter then it gives E0 as Axis U so ....
my problem is that i my board E0 and E1 which is not as Axis A and B ...... how and what changes i have to make in frimware to get This E0 and E1 as Output Axis A and B.......
>>>first off all i have to make changes in c++ files and header files then...
>>>second how i have to compile it in one single .ino file from bunches of c++ and header files of frimware
Atleast help me out from my second problem because i don,t know how to make firmware for my machine into single .ino files to upload it in my machines...................
please if somebody knows kindly help me to make it solved............
If you want to change the Mega-5X project and compile it yourself, watch this video:
ua-cam.com/video/jNKa2-UwKgo/v-deo.html
If you only need a hex file for a FoamCutter with the axes X,Y,Z and U you can use the hex file that comes with the installation of GrblGru.
You will find the file
grbl-Mega-5X-v1.2d_XYZU_SPINDLE_PWM_ON_D6.Hex
after the GrblGru setup in the directory C:\Program Files (x86)\toe\GrblGru
For flashing the Mega you need the program XLoader.
Hi i'm very interesting with GrblGru....thank's for your videos...in my case, all functions under GrblGru run with Grbl 1.1 but it's impossible to load Grbl Mega 5 with Xloader...I think it's due to hex file...i don't know if my Hex file is the right file for that....i don't get $103, $104, $113, $114, $123, and $124...in same time after loaded Hex file wtih XLoader i get 31462 bytes uploaded....
thank's for an idea to find a solution...
philip
Thanks, I also noticed that the hex file is unfortunately no longer published. That's why you have to compile the project yourself. You can get information about this on github.com/fra589/grbl-Mega-5X/releases
This is the page that is also linked in the GrblGru help menu.
Hope this helps a bit.
@@grblgru thank's a lot, i'll try to do this....
Hello, can you give the code?
If you mean Mega 5X. It is saved to the installation directory when installing GrblGru.grbl-Mega-5X-v1.1h.20180712.hex
very good, essentials and very useful
incrível amigo.
Hi
I need hex file 5axis
Watch the video. There is a link to a page with the hex file.
You are awesome, thank you
Thanks a lot!
ALARM:2
[MSG:Reset to continue]
every try to move axis or start job
The error message can have many causes. Does Mega-5X report ready ? Check the messages in the controller window. There you will get more detailed information about the error.
that's... fantastic!!! :-)
Thanks to all my brothers and sisters
I m facing problem in download hex file please help me to sort out this problem
If you have GrblGru installed, you will find 2 sample hex files for Mega-5X in the folder C:\Program Files (x86)\toe\GrblGru_XXXX
Ingin bisa seperti anda ... saya suka sekali dan terimakasih sudah bagi-bagi ilmunya
Terima kasih banyak :)
GrblGru .. salam dari Indonesia ,jawa timur, kediri... you are the best :)
Is it possible to use this for a 4 axis hot CNC foam cutter? I'm using the software developed by github.com/rahulsarchive/4AxisFoamCutter it works well on GRBL 8.2c but now I'm trying to use Mega-5X on the RAMPS board but the Grbl-Panel Rahul modified doesn't work. The grbl parameters are different. Thanks
Thanks for the link to 4AxisFoamCutter. Very interesting project ! In my opinion the parameters of Grbl and Mega-5X are the same. With the command $xx=yyy it should be possible to set all parameters as they are set in GRBL.
@@grblgru The problem I have found is that the Axis variables are not the same $1-4 and not $100-103 so the controller program Daniel wrote doesn't work. I have a little programming experience but not enough to figure this one out.
I would like to control the cutter. But the problem is that Mega-5X has 3 linear axes and 2 rotary axes. But you need 4 linear axes. I will see if I can change that.
@@grblgru Thank you.
Hi Keith, I am late, but in my new version V3.45 I have a 3D model of your Foam Cutter.
Mega-5X can also control 4 linear axes. But you have to change the settings.
mega-5x hex file nya dimana bang
bole minta linknya
Install GrblGru and look in the folder:
C:\Program Files (x86)\toe\GrblGru_v5\Data\OtherStuff
@@grblgru ambil hexnya yang mana bang,ada banyak file hex di dalamnya
thanks man content is good if you can speek that will be even batter
best of luck
Funziona anche con un laser
Sì, funziona anche con un laser
Great
thank you soooooo much :)
THANK YOU FRIEND >>>>>>>>>>>>>>>>...
bari gall ey sir
gracias Mil ...
Thanks Sir!!!