Closed sixtwoeight closed 3 years ago
I had the same issue and ended up editing in Notepad++ while using arduino IDE to compile
Rick Paul mrp email
From: sixtwoeight notifications@github.com Sent: Tuesday, January 19, 2021 9:00:34 AM To: bdring/Grbl_Esp32 Grbl_Esp32@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [bdring/Grbl_Esp32] firmware confusion (#745)
i don't think this is a compiling error because it seems that i haven't gotten around to that..
I feel a little confused about compiling the firmware. i have followed the instructions for setting up the arguing ide for the esp and that seems to work fine (worked fine for flashing the firmware for an esp cam). and i believe i got the machine.h profile set up correctly with my current machine definition. but when i load the sketch included with the GitHub files it seems pretty blank. yet when i watch a YouTube video of someone flashing a controller for grbl_esp when they open the sketch or the first time it comes preloaded with #includes and all (multiple tabs open etc) but when i open it it’s pretty much empty. it looks similar to the picture of what settings should look like for the esp in GitHub. but when i open the sketch it’s just empty. what am i missing?
sorry if this is very basic, i'm just starting out.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/bdring/Grbl_Esp32/issues/745, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACSMKRBN7I6Y4KMNOZE7GE3S2WGAFANCNFSM4WIZ6WNA.
The firmware is standard C++. We have an almost empty Grbl_ESP32.ino file to make it work with the Arduino system.
You should follow the wiki on how to edit the Machine.h file.
You should be able to compile the firmware from the Arduino IDE. The developers use Platform.io in Visual Studio Code. It is a better IDE, but we do not provide support on how to set that up.
I think i got the machine.h correct. if i understand it correctly all i had to do was add my machine definition file. or am i not getting some part of the instructions. i've read the wiki over and over, if i'm missing something it's probably because i'm new to programing in general-i have a tendency of biting off more than i can chew.
where i'm i'm lost is in the arduino sketch, do i not add anything do that? i just modify the machine definition file. then make sure that's included in the machine.h file and that's it? i don't need to modify the Grbl_Esp32.ino sketch at all? i feel like i should be have all the files in the src directly added to the arduino sketch independently or something... i feel like being such a noob is making me miss something extremely basic that's obvious to everyone else.
Yes, you just change the machine file and upload. You could upload the default (no change) if you want to test drive it with no motors, etc.
got it.. worked.. thank you again so much... for ur help and awesome controller ;)
so i for sure bit off more than i could chew. i missed your email from when i purchased the board, which was a big mistake. i got it to flash, then the motors didn't work, then i realised it's because i'm using tmc2209's.. so all morning i've been comparing machine definition files and trying different things to no avail.. so i was hoping its not to late to reply to that mail and if you might be able to help put it together i could flash it. i'm just way to much of a noob for this.. rofl. anyway it would be awesome if you could.. anyway here's the response to that email;
Is there anything I left out? Did you purchase any module for special use not covered above. NOPE THAT COVERS IT
thank you again so very much... clinton...
From: bdring notifications@github.com Sent: January 19, 2021 4:45 PM To: bdring/Grbl_Esp32 Grbl_Esp32@noreply.github.com Cc: sixtwoeight six.two.eight@outlook.com; Author author@noreply.github.com Subject: Re: [bdring/Grbl_Esp32] firmware confusion (#745)
Yes, you just change the machine file and upload. You could upload the default (no change) if you want to test drive it with no motors, etc.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bdring/Grbl_Esp32/issues/745#issuecomment-763245693, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE2TEKUPKKRNWQWPJ2Y5GJTS2YRRVANCNFSM4WIZ6WNA.
i just realised that i should have been more specific about the limit switches i'm using optically normally closed
From: bdring notifications@github.com Sent: January 19, 2021 4:45 PM To: bdring/Grbl_Esp32 Grbl_Esp32@noreply.github.com Cc: sixtwoeight six.two.eight@outlook.com; Author author@noreply.github.com Subject: Re: [bdring/Grbl_Esp32] firmware confusion (#745)
Yes, you just change the machine file and upload. You could upload the default (no change) if you want to test drive it with no motors, etc.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bdring/Grbl_Esp32/issues/745#issuecomment-763245693, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE2TEKUPKKRNWQWPJ2Y5GJTS2YRRVANCNFSM4WIZ6WNA.
Do you have an order number I can use to verify the parts you have?
The TMC2209 is only supported in stand alone mode. Do you have a link to where you bought them, so I can verify.
Not all optical vane switches work well with the 4x input module. It has optical isolation and some of the basic switch circuits designed for 3d printers have trouble. You can try, but it have have trouble. Regardless the firmware would be the same. The N.C. vs. N.O. can be change without recompiling.
sure thing..
Order #238312
here is a link along with the data sheet:
and i also have mechanical switches. if they word better then not a problem... it would still be normally closed....
thank you in advance clinton
From: bdring notifications@github.com Sent: January 26, 2021 6:03 AM To: bdring/Grbl_Esp32 Grbl_Esp32@noreply.github.com Cc: sixtwoeight six.two.eight@outlook.com; Author author@noreply.github.com Subject: Re: [bdring/Grbl_Esp32] firmware confusion (#745)
Do you have an order number I can use to verify the parts you have?
The TMC2209 is only supported in stand alone mode. Do you have a link to where you bought them, so I can verify.
Not all optical vane switches work well with the 4x input module. It has optical isolation and some of the basic switch circuits designed for 3d printers have trouble. You can try, but it have have trouble. Regardless the firmware would be the same. The N.C. vs. N.O. can be change without recompiling.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bdring/Grbl_Esp32/issues/745#issuecomment-767561512, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE2TEKXAHE5WFZFOOJ37COTS33DUHANCNFSM4WIZ6WNA.
I will make you a machine definition file later today.
There is a wiki page regarding TMC2209 drivers.
https://github.com/bdring/6-Pack_CNC_Controller/wiki/TMC2209-Stepsticks
lol, thank you so very much... i also purchased 3 tmc5160's (before i even got ur controller... would using them be easier... i know that the board has had issues with them... the ones i got are also from digikey ( https://www.digikey.com/en/products/detail/trinamic-motion-control-gmbh/TMC5160-SILENTSTEPSTICK/9990281 )
would that be a better choice? i feel like it would... was just going to use the 2209's because i saw the posting about the 5160's
lol.... thank you so much for ur help ....
From: bdring notifications@github.com Sent: January 26, 2021 11:31 AM To: bdring/Grbl_Esp32 Grbl_Esp32@noreply.github.com Cc: sixtwoeight six.two.eight@outlook.com; Author author@noreply.github.com Subject: Re: [bdring/Grbl_Esp32] firmware confusion (#745)
I will make you a machine definition file later today.
There is a wiki page regarding TMC2209 drivers.
https://github.com/bdring/6-Pack_CNC_Controller/wiki/TMC2209-Stepsticks
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bdring/Grbl_Esp32/issues/745#issuecomment-767775924, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE2TEKVS2EOX5CWMPKTKLHLS34J77ANCNFSM4WIZ6WNA.
Here is your machine definition file. I have not tested TMC2209 in StepStick mode. I just used the data sheet for reference.
I would recommend TMC2130 or DRV8825 if you are looking for other drivers. You would need to change the machine file.
6_pack_TMC2209_XYZP_SpinRelay.zip
For future support, I suggest using Discord.
just wanted to say thank you so much.... sorry for being a pain in the ass... thank you again... 🙂
From: bdring notifications@github.com Sent: January 27, 2021 8:15 AM To: bdring/Grbl_Esp32 Grbl_Esp32@noreply.github.com Cc: sixtwoeight six.two.eight@outlook.com; Author author@noreply.github.com Subject: Re: [bdring/Grbl_Esp32] firmware confusion (#745)
Here is your machine definition file. I have not tested TMC2209 in StepStick mode. I just used the data sheet for reference.
I would recommend TMC2130 or DRV8825 if you are looking for other drivers. You would need to change the machine file.
6_pack_TMC2209_XYZP_SpinRelay.ziphttps://github.com/bdring/Grbl_Esp32/files/5881498/6_pack_TMC2209_XYZP_SpinRelay.zip
For future support, I suggest using Discord.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bdring/Grbl_Esp32/issues/745#issuecomment-768396354, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE2TEKWPXQYIBBAPXDC3BFLS4A3YJANCNFSM4WIZ6WNA.
i don't think this is a compiling error because it seems that i haven't gotten around to that..
I feel a little confused about compiling the firmware. i have followed the instructions for setting up the arguing ide for the esp and that seems to work fine (worked fine for flashing the firmware for an esp cam). and i believe i got the machine.h profile set up correctly with my current machine definition. but when i load the sketch included with the GitHub files it seems pretty blank. yet when i watch a YouTube video of someone flashing a controller for grbl_esp when they open the sketch or the first time it comes preloaded with #includes and all (multiple tabs open etc) but when i open it it’s pretty much empty. it looks similar to the picture of what settings should look like for the esp in GitHub. but when i open the sketch it’s just empty. what am i missing?
sorry if this is very basic, i'm just starting out.