gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
4.1k stars 1.61k forks source link

Mega 2560 will not connect #632

Closed mrtwizta closed 5 years ago

mrtwizta commented 5 years ago

I get this error when trying to open with Gbrl Controller No data from COM port after connect. Expecting Gbrl version string

I ran the Uno shield and had no issues with hardware, all motors working, loaded a file and executed no issues.

mrtwizta commented 5 years ago

i need a brew....

mrtwizta commented 5 years ago

ok mine is not a Genuine arduino a clone but atm i have the other MKS Gen2 wich is a mega based board? must i try again with the Mega clone? ok doing it in the mean time....

MeJasonT commented 5 years ago

I have a clone as well

mrtwizta commented 5 years ago

i have no issues with them, i run my printers on them Q: when the sketch opens in Arduino IDE how come it does not show the other H files, like when i load a Marlin sketch for the printer?beats me as to how would i change any settings? maybe that's a clue?

MeJasonT commented 5 years ago

Do you have folders inside your grbl folder saying build, docs, grbl The marlin has been written to display the full folder hierarchy grbl has a .h file which fetches all the sub files into the application

mrtwizta commented 5 years ago

no, but i know what you talking about, i have seen that in other versions In this version i see them : Dguerizec-gneagrbl

MeJasonT commented 5 years ago

I have just loaded my ide/grbl and it was missing after just telling you.

mrtwizta commented 5 years ago

there are 4 files there 1 COPYING, 2 Makefile, 3 .gitignore 4 README

mrtwizta commented 5 years ago

so the file on git is incomplete? These Forks have those Files Too: 1: electrokeangrbl 2: gbrl-Mega2560-Master 3: grbl - EliteEng-Master

MeJasonT commented 5 years ago

ok. The zip will have contained the full project in the folder there is a folder called grbl inside it has all the .c and .h files. this is the only folder which should be inside your library not the rest of the guff

MeJasonT commented 5 years ago

if you have more than one folder with the same name inside the library the ide tries to open two versions of the sketches and achieves nothing. best to completely remove grbl from both the c arduino library folder and the documents library folder and start from scratch. I have just uploaded the same mega version we are both using and it is working like a treat

mrtwizta commented 5 years ago

ok busy doing it That folder is sparse it has only 1 folder init no files?

MeJasonT commented 5 years ago

you should end up with this (im on win7)

Untitled

I will wait to see how you get on

Or try it another way download xloader http://xloader.russemotto.com/ and hex from here https://github.com/gnea/grbl-Mega/releases

this will eliminate the very iffy IDE from the loop

mrtwizta commented 5 years ago

i deleted and re unzipped the downloaded file and looks the same as yours, uploading now Can see it uploading to the board? but no response?

mrtwizta commented 5 years ago

should those C and H file be in the gbrlUpload folder under examples?

MeJasonT commented 5 years ago

the folder should appear in examples as "grbl" in the folder there will only be one entry showing the grblUpload, opens a one page sketch which tells you it will magically load the rest lol. Untitled

mrtwizta commented 5 years ago

i see that ... i did the Xloader hex thing and was successful will check the monitor now

mrtwizta commented 5 years ago

yes that's what i see too

mrtwizta commented 5 years ago

TaDA ............... yaay!

MeJasonT commented 5 years ago

Don't keep me in suspense

mrtwizta commented 5 years ago

full string in monitor

Grbl 1.1f ['$' for help] $0=10 $1=25 $2=0 $3=0 $4=0 $5=0 $6=0 $10=1 $11=0.010 $12=0.002 $13=0 $20=0 $21=0 $22=0 $23=0 $24=25.000 $25=500.000 $26=250 $27=1.000 $30=1000 $31=0 $32=0 $100=755.906 $101=755.906 $102=755.906 $110=755.906 $111=0.000 $112=0.000 $120=0.000 $121=0.000 $122=50.000 $130=-0.050 $131=200.001 $132=200.000 ok goosebumps.....

MeJasonT commented 5 years ago

Message crossed, what program are you going to use candle cnc, grbl-panel ? so chuffed buddy.

mrtwizta commented 5 years ago

thats what i am unsure of? any sugestions i have downloaded lots? was trying ugsplatform64 if i was in the UK we would have to get a beer....

MeJasonT commented 5 years ago

i would hold you to it- if you were in UK, where you at. Grbl panel is my fav. actually looks like a CNC operator panel.

mrtwizta commented 5 years ago

In South Africa... you have a link well the jog controls are now available so if i connect all up to the mach it should move hopefully just a sec while i do that a million thanks....

mrtwizta commented 5 years ago

https://github.com/gerritv/Grbl-Panel/releases

MeJasonT commented 5 years ago

https://github.com/gerritv/Grbl-Panel/releases yep another useful prog https://camotics.org/download.html

Ive worked in cape town, durban & luderitz

mrtwizta commented 5 years ago

Nice diamonds? :)

mrtwizta commented 5 years ago

the place is a mess atm i need to get out

MeJasonT commented 5 years ago

I have to admit to vacuuming the sea bed. yeah its a shame i loved it.

try sending me a personal message, it should be activated.

Sonny is going to have a fit when he reads war and peace.

mrtwizta commented 5 years ago

ok the MKS board is un responsive, going to put the mega clone that took the sketch back on

MeJasonT commented 5 years ago

we had an ROV with a huge nu-nu on the front

mrtwizta commented 5 years ago

sent mail

mrtwizta commented 5 years ago

we had an ROV with a huge nu-nu on the front nice.. big suckers them things

mrtwizta commented 5 years ago

thank you for your help much appreciated

mrtwizta commented 5 years ago

your board is communicating so no hardware fault, It looks like you are not getting the GRBL firmware loaded properly. What machine are you wanting to use with grbl 3 axis ?

I have buit a Desktop CNC and the plan is to add a 3rd axis on the y Table to use as a simple rotary axis.