Thanks Chris. It was good to have the custom menus explained. I have used them in the past for UBL on different magnetic print surfaces, but I was not sure if 2.0.8 had made any major changes to this area. Now I can go ahead and customise some more ...... Great video - really helpful as usual. Regards David
Nice ... SKR 1.4 acts ups every now and again and I do a reset, now I can reset it all with a click of a bottom .. Great video ... Next time I am out that way, need to buy you some ribs ...
Made a comment earlier that might have been deleted for a link, but when I set up my manual tool changer, I used M32 commands to store all the offsets and hotend specific commands in a Gcode file on the SD card. M32 can call a subprogram, so you can edit the .gcode file without needing to completely re-flash the firmware, like you had to do when inputing the commands directly into config_adv.h. There's some weird stuff to make it work perfectly, but after the initial setup, I think it's a lot easier to not recompile every time, and be able to easily add comments to your command files.
@@ChrisRiley If it helps, I've compiled the list of changes and my proceedure on GH: github.com/dotdash32/IITC/tree/main/Tool_Setup. It's setup primarily for physical offsets, but will hopefully update with the stepper/extruder modifications you mentioned in the video soon!
Excellent Primer on VSC Chris! I just wish I had found something this useful long ago before I ran into every single solitary issue you mentioned... and then some 😝 Lot's of useful info in this one, THANKS!!
Hey Chris! I'm a total noob and am so grateful for these tutorials. One problem I had so far is adding the folder to VS: it seems the process has changed and I had to actually add the child folder. I tried it your way many many times and finally tried the sub folder on a whim and it now shows the .pio I don't know if this is some type of version change and I'm not done with your tutorial yet, but I thought I'd point it out. You are a life saver!
I would never advise that people try to trial-and-error their way through all the PlatformIO build targets to figure out the right one for their MOTHERBOARD. Instead just install the Auto Build Marlin extension (as seen just below the PlatformIO IDE extension in the list) and use that.
Possibly helpful clarifacation: " " is a new line character (what happens when you hit the enter or return key) for those folks writing scripts imagine you're in Octoprint or something issuing commands " " is the character that represents you hitting enter between gcode commands.
Maybe: Improvement by suppliers; a chip on the hot End to say what type hot end and filament being used, settings, etc to change slicer setting supply back to display screen, and to the print, etc
Chris, great presentation as always. I have a suggestion for a new video. If you have multiple printers running different versions of Marlin and have different boards, how do you organize your files for VSCode. I notice you usually use the "Downloads" directory, Is there a recommendation to have a file structure where you only need to download Marlin once and use it repeatedly for multiple configuration.h, and configuration_adv.h files.
Cool tutorial! I was looking for a way of using different thermistors for my PitStop2 project. I see that Duet boards also support M305 which is cool! My challenge now is figuring out how to get from the thermistor table 1 (and table 5 for Prusa thermistors) to an M305 command, especially the B number. Any ideas?
Why did you choose to enter the thermistor parameters and not use one of the tables prebuilt in marlin? Is it possible to assign a new thermistor type (marlin prefig) with gcode? I am using common thermistor types. Are we forced to update the thermistor parameters with each manual (mutant) tool change? Is there an easier way, or is using custom thermistor settings the only feasible way?
As always great content and easy to follow thorough instructions! Will this work on a printer like the sidewinder x1 or x2? is it only for screens running marlin mode? How would you add a button to a tft touch screen? Thank You!
i want to remove menu items and my menu items from marlin 2.0, I am using an old creality 427 board not for 3d printing but for another project I am working on, just want to know if it is possible, I can do it in marlin 1.0 but want to use marlin 2.0
Thanks! Those are always tricky. It has to do with the DWIN set. Some will show the custom menus some won't. I would try a few different ones and see if it will pop up. ruclips.net/video/7i7PnBZ6cnM/видео.html
Did they change this in Marlin 2.0.9.1? I can't seem to find where to edit custom user menus in configuration_adv.h in this version. I've looked in 2.0.9.1 and the bugfix version but not in there unless the #define CUSTOM_USER_MENUS has changed to something else? Strange.
Firmware images on sneakernet, err, SD cards? Do you know if PlatformIO works with the ST-Link USB programmers and the STM32CubeProgrammer software from STmicroelectronics like Arduino IDE does?
@@ChrisRiley it seems PlatformIO has some support for ST-Link, docs.platformio.org/en/latest/plus/debug-tools/stlink.html, but requires drivers on Windows which implies that it doesn't work with STM32CubeProgrammer like Arduino IDE does. I'll have to explore this when I get a chance because VS Code is definitely the nicer environment to work with. Have a better one!
Hi Chris. I am from the older generation and when I followed previous examples of setting up Marlin using PlatformIO I made mistakes, not knowing how to reverse these errors I tried reloading the PlatformIO software only to find that the incorrectly modified software was still there. Can you please create a short video showing how to correct / reverse any transactions on PlatformIO?
I have thought about this, I'm not sure there is a way to backward step out of these kinds of things. I guess you could take a point in time snapshot in Windows and use it to roll back.
Chris, What are the best practices when you are working on say 3 different Marlin printers? Currently, I keep a separate folder with the whole Marlin for my Stock Ender 3, SKR 1.3, etc. But it can be confusing in VSC if you made subtle changes, and not want to start from scratch.
Yeah, that can be tough to sort out. I have also ran into issues where it doesn't think the right config is being used and get confused when you try to build. I usually just remove them and add them one at a time as needed. Not the best answer.
Hi Chris thank you for the video, One this I have always wondered, can I make a custom command that will send a system shutdown command to R-pie ?(octoprint)
To be clear i dont mean M80/M81. My printer setup uses Rpi USB power to keep on replays than keep PSUs latched on to mains. So when I shut down the Pi the printer unlatches from mains power and that's how I put her to sleep. So Im looking for a Gcode that does a system shutdown command in octoprint, if there is infact such a thing .
Interesting thought. I don't know of one, but I would be curious if there is something that could interact with linux that could be entered in to the octoprint terminal. That could be sent via gcode for sure.
this is super useful, excellent tutorial, as always! 🙌😌
Thank you! 😃
I like the bit about doing a test compile first before making changes to config.h
Measure twice and cut once! Thanks for watching
Thanks Chris. It was good to have the custom menus explained. I have used them in the past for UBL on different magnetic print surfaces, but I was not sure if 2.0.8 had made any major changes to this area. Now I can go ahead and customise some more ......
Great video - really helpful as usual.
Regards David
Sweet, glad it was helpful.
Thanks very much for VS Code walkthru Chris. Your Zooming into syntax is particularly helpful. Always enjoy your content sir. :-)
Awesome, thank you!
Man, I can't even begin to tell you how much your chann has helped me. Thank you thank you thank you thank you thank you
Glad to hear it!
Nice ... SKR 1.4 acts ups every now and again and I do a reset, now I can reset it all with a click of a bottom .. Great video ... Next time I am out that way, need to buy you some ribs ...
Lol, sounds good!
Made a comment earlier that might have been deleted for a link, but when I set up my manual tool changer, I used M32 commands to store all the offsets and hotend specific commands in a Gcode file on the SD card. M32 can call a subprogram, so you can edit the .gcode file without needing to completely re-flash the firmware, like you had to do when inputing the commands directly into config_adv.h. There's some weird stuff to make it work perfectly, but after the initial setup, I think it's a lot easier to not recompile every time, and be able to easily add comments to your command files.
Nice, I never knew that, I will have to try it out, thank you.
@@ChrisRiley If it helps, I've compiled the list of changes and my proceedure on GH: github.com/dotdash32/IITC/tree/main/Tool_Setup.
It's setup primarily for physical offsets, but will hopefully update with the stepper/extruder modifications you mentioned in the video soon!
Excellent Primer on VSC Chris! I just wish I had found something this useful long ago before I ran into every single solitary issue you mentioned... and then some 😝 Lot's of useful info in this one, THANKS!!
Glad it was helpful!
These Videos are always extremely useful, Thanks Chris for posting this one !
Glad you like them!
Hey Chris! I'm a total noob and am so grateful for these tutorials. One problem I had so far is adding the folder to VS: it seems the process has changed and I had to actually add the child folder. I tried it your way many many times and finally tried the sub folder on a whim and it now shows the .pio
I don't know if this is some type of version change and I'm not done with your tutorial yet, but I thought I'd point it out. You are a life saver!
Interesting, I will check that out.
@@ChrisRiley I cannot for the life of me get the .pio to show up adding the parent or child folder
@@jonathans.9488 Hmmm, if you have the parent folder of Marlin added, try reinstalling the platformio extension.
Thank you for the details vscode walkthrough. I will need to run through the process soon. Cheers 👍😎🇦🇺
I hope this helps!
I would never advise that people try to trial-and-error their way through all the PlatformIO build targets to figure out the right one for their MOTHERBOARD. Instead just install the Auto Build Marlin extension (as seen just below the PlatformIO IDE extension in the list) and use that.
Hey Scott, good point. I would like to know more about how it works behind the scenes. We should do a video.
@@ChrisRiley Happy to help bring the red hot info to the hungry masses.
Just what I needed, this is very helpful! Now to actually do it!
Good luck!
Excellent video as always, Chris.
Thanks!
Possibly helpful clarifacation:
"
" is a new line character (what happens when you hit the enter or return key) for those folks writing scripts imagine you're in Octoprint or something issuing commands "
" is the character that represents you hitting enter between gcode commands.
Hey thanks!
Maybe: Improvement by suppliers; a chip on the hot End to say what type hot end and filament being used, settings, etc to change slicer setting supply back to display screen, and to the print, etc
That's an interesting idea.
Thanks Chris! Top shelf content!
Glad you liked it!
Chris, great presentation as always. I have a suggestion for a new video. If you have multiple printers running different versions of Marlin and have different boards, how do you organize your files for VSCode. I notice you usually use the "Downloads" directory, Is there a recommendation to have a file structure where you only need to download Marlin once and use it repeatedly for multiple configuration.h, and configuration_adv.h files.
Great suggestion! Thanks
Cool tutorial! I was looking for a way of using different thermistors for my PitStop2 project. I see that Duet boards also support M305 which is cool!
My challenge now is figuring out how to get from the thermistor table 1 (and table 5 for Prusa thermistors) to an M305 command, especially the B number. Any ideas?
You should be able to just enter the values in the command set. marlinfw.org/docs/gcode/M305.html
Why did you choose to enter the thermistor parameters and not use one of the tables prebuilt in marlin?
Is it possible to assign a new thermistor type (marlin prefig) with gcode? I am using common thermistor types. Are we forced to update the thermistor parameters with each manual (mutant) tool change?
Is there an easier way, or is using custom thermistor settings the only feasible way?
It's kind of one or the other. You can't call one of the tables from a command that I know of, but we should submit that to Marlin as a feature.
Thanks alot
Happy to help
can please explain how marlin firmware navigates through the screen
Not sure I understand the question. On the LCD screen or how you get setup to edit Marlin?
As always great content and easy to follow thorough instructions!
Will this work on a printer like the sidewinder x1 or x2?
is it only for screens running marlin mode?
How would you add a button to a tft touch screen?
Thank You!
TFT's are tricky, you would have to be able to add an extra button in the code to get it to work. This is really just for Marlin mode.
Thanks!
The documentation for tft28 is crap at least what you can read of it.
I can add a button.
Just can't figure out how to add text to button.
great video you explained all that great
Thanks!
i want to remove menu items and my menu items from marlin 2.0, I am using an old creality 427 board not for 3d printing but for another project I am working on, just want to know if it is possible, I can do it in marlin 1.0 but want to use marlin 2.0
Yes, in 2.0 you can even use the slim option to hide a lot of features.
Awesome Video Chris! I have a color LCD on the NEO and the menu will not show up. Any Ideas?
Thanks! Those are always tricky. It has to do with the DWIN set. Some will show the custom menus some won't. I would try a few different ones and see if it will pop up. ruclips.net/video/7i7PnBZ6cnM/видео.html
@@ChrisRiley Thank you : )
Did they change this in Marlin 2.0.9.1? I can't seem to find where to edit custom user menus in configuration_adv.h in this version. I've looked in 2.0.9.1 and the bugfix version but not in there unless the #define CUSTOM_USER_MENUS has changed to something else? Strange.
It seems like as soon as I make a video, they change it. :) The broke them out into a couple of sections it looks like. #define CUSTOM_MENU_CONFIG
@@ChrisRiley Thanks Chris, I found it and I meant to come back and comment here with the new line(s) but forgot to come back and do it. :p
Firmware images on sneakernet, err, SD cards?
Do you know if PlatformIO works with the ST-Link USB programmers and the STM32CubeProgrammer software from STmicroelectronics like Arduino IDE does?
Good old sneakernet! That is a great question and I have tried to get anything to work with PlatformIO and STM32 and have had no luck.
@@ChrisRiley it seems PlatformIO has some support for ST-Link, docs.platformio.org/en/latest/plus/debug-tools/stlink.html, but requires drivers on Windows which implies that it doesn't work with STM32CubeProgrammer like Arduino IDE does. I'll have to explore this when I get a chance because VS Code is definitely the nicer environment to work with. Have a better one!
Hi Chris. I am from the older generation and when I followed previous examples of setting up Marlin using PlatformIO I made mistakes, not knowing how to reverse these errors I tried reloading the PlatformIO software only to find that the incorrectly modified software was still there. Can you please create a short video showing how to correct / reverse any transactions on PlatformIO?
I have thought about this, I'm not sure there is a way to backward step out of these kinds of things. I guess you could take a point in time snapshot in Windows and use it to roll back.
Thanks Chris…
Thanks for watching!
I was only able to compile marlin 2.x on Linux. I tried VSCODE , Arduino, Platformio but got error messages.
Interesting, it mush be missing some libraries that Linux has.
@@ChrisRiley No, it was compiler errors.
Chris, What are the best practices when you are working on say 3 different Marlin printers? Currently, I keep a separate folder with the whole Marlin for my Stock Ender 3, SKR 1.3, etc. But it can be confusing in VSC if you made subtle changes, and not want to start from scratch.
Yeah, that can be tough to sort out. I have also ran into issues where it doesn't think the right config is being used and get confused when you try to build. I usually just remove them and add them one at a time as needed. Not the best answer.
hey chris .. is it just me or has the main menu been moved already
Of course. :) Those folks are always changing things up. The menus are split up a litte different now.
Thanks!
Thank you!
aWESOME
Thanks 🤗
Hi Chris thank you for the video, One this I have always wondered, can I make a custom command that will send a system shutdown command to R-pie ?(octoprint)
To be clear i dont mean M80/M81. My printer setup uses Rpi USB power to keep on replays than keep PSUs latched on to mains. So when I shut down the Pi the printer unlatches from mains power and that's how I put her to sleep. So Im looking for a Gcode that does a system shutdown command in octoprint, if there is infact such a thing .
Interesting thought. I don't know of one, but I would be curious if there is something that could interact with linux that could be entered in to the octoprint terminal. That could be sent via gcode for sure.
Thank you
Thank you!
@@ChrisRiley 😘🌞 I can't forget you
To be specific I do not mean a clean function, just a step back function.
See if the first comment answer helps.
Can you a video for Klipper also?
Coming soon!
@@ChrisRiley Thanks. I have the M600 somewhat working, enough to be useful