Marlin Custom Menus - Make Tool Swapping Easier - Chris's Basement

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ค. 2024
  • We're going to check out Marlin Custom Menus. We're gonna make some sweet custom menus to make your tool swapping much easier. Plus, we'll have a refresher on VS Code to get set up to edit your firmware.
    00:00 Introduction
    01:07 Use Case Overview
    02:06 VS Code
    11:10 Custom Menus
    19:52 Test and Troubleshoot
    22:53 Conclusion
    Helpful Links:
    Link to Mutant v2:
    whambamsystems.com/mutant
    Mutant v2 helpful documents:
    whambamsystems.com/mutant-sup...
    VS Code:
    code.visualstudio.com/download
    My Marlin Configuration:
    drive.google.com/file/d/113A3...
    Link you Marlin examples:
    github.com/MarlinFirmware/Mar...  


    SUPPORT THE CHANNEL BY CLICKING THESE LINKS!
    OpenBuilds - Great CNC and 3D Printer Parts (aff)
    openbuildspartstore.com/?ref=...
    Slice Engineering - Mosquito Hotends (aff)
    www.sliceengineering.com/?p=r...
    Wham Bam Systems Flexible Beds (aff)
    bit.ly/2HoS1cV
    Amazon (aff) [US DE GB CA IT ES FR JP]:
    www.amazon.com/?tag=chrisbase...
    Banggood(aff) ban.ggood.vip/7vm3
    Aliexpress(aff) s.click.aliexpress.com/e/UrRbCm8
    Buy me a coffee to keep me going!
    buymeacoff.ee/Wc0DouFbl
    You can support my work on Patreon
    / brotherchris
    One Time Tips, You Can PayPal Me:
    www.paypal.me/ChrisRiley3D
    ----------------------------------------------
    Find Me Over On Twitter!
    ----------------------------------------------
    Twitter : / chrisriley3d
    FTC Disclaimer: A percentage of sales is made through Affiliate links
    As an Amazon Associate I earn from qualifying purchases.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 90

  • @marsgizmo
    @marsgizmo 2 ปีที่แล้ว +5

    this is super useful, excellent tutorial, as always! 🙌😌

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว +1

      Thank you! 😃

  • @thehappyextruder7178
    @thehappyextruder7178 2 ปีที่แล้ว

    These Videos are always extremely useful, Thanks Chris for posting this one !

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      Glad you like them!

  • @alishirazi8377
    @alishirazi8377 ปีที่แล้ว

    Thanks very much for VS Code walkthru Chris. Your Zooming into syntax is particularly helpful. Always enjoy your content sir. :-)

    • @ChrisRiley
      @ChrisRiley  ปีที่แล้ว

      Awesome, thank you!

  • @BenEBrady
    @BenEBrady 2 ปีที่แล้ว

    Excellent video as always, Chris.

  • @johnvodopija1743
    @johnvodopija1743 2 ปีที่แล้ว

    Thank you for the details vscode walkthrough. I will need to run through the process soon. Cheers 👍😎🇦🇺

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      I hope this helps!

  • @Sergiodj453
    @Sergiodj453 2 ปีที่แล้ว

    Just what I needed, this is very helpful! Now to actually do it!

  • @HairyTheCandyMan
    @HairyTheCandyMan 2 ปีที่แล้ว

    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

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      Glad to hear it!

  • @meltonpieman959
    @meltonpieman959 2 ปีที่แล้ว +1

    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

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      Sweet, glad it was helpful.

  • @gregoryconnors7370
    @gregoryconnors7370 2 ปีที่แล้ว

    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!!

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      Glad it was helpful!

  • @MauDib
    @MauDib 2 ปีที่แล้ว

    Thanks Chris! Top shelf content!

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      Glad you liked it!

  • @MihaiDesigns
    @MihaiDesigns 2 ปีที่แล้ว +4

    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?

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      You should be able to just enter the values in the command set. marlinfw.org/docs/gcode/M305.html

  • @dansteffee9759
    @dansteffee9759 2 ปีที่แล้ว

    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 ...

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว +1

      Lol, sounds good!

  • @lennova5846
    @lennova5846 ปีที่แล้ว +1

    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!

    • @ChrisRiley
      @ChrisRiley  ปีที่แล้ว

      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.

    • @lennova5846
      @lennova5846 ปีที่แล้ว

      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.

  • @kevinj9059
    @kevinj9059 2 ปีที่แล้ว +1

    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!

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      Interesting, I will check that out.

    • @jonathans.9488
      @jonathans.9488 ปีที่แล้ว +1

      @@ChrisRiley I cannot for the life of me get the .pio to show up adding the parent or child folder

    • @ChrisRiley
      @ChrisRiley  ปีที่แล้ว

      @@jonathans.9488 Hmmm, if you have the parent folder of Marlin added, try reinstalling the platformio extension.

  • @dieselhead24
    @dieselhead24 11 หลายเดือนก่อน

    I like the bit about doing a test compile first before making changes to config.h

    • @ChrisRiley
      @ChrisRiley  11 หลายเดือนก่อน

      Measure twice and cut once! Thanks for watching

  • @3dprintingcave778
    @3dprintingcave778 2 ปีที่แล้ว

    great video you explained all that great

  • @FilmFactry
    @FilmFactry 2 ปีที่แล้ว +1

    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.

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      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.

  • @joshdewitt6847
    @joshdewitt6847 2 ปีที่แล้ว +1

    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
      @ChrisRiley  2 ปีที่แล้ว

      Nice, I never knew that, I will have to try it out, thank you.

    • @joshdewitt6847
      @joshdewitt6847 2 ปีที่แล้ว

      @@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!

  • @michaelcohen8610
    @michaelcohen8610 2 ปีที่แล้ว

    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.

  • @user-ie5ol8rb9f
    @user-ie5ol8rb9f ปีที่แล้ว

    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.

    • @ChrisRiley
      @ChrisRiley  ปีที่แล้ว

      Great suggestion! Thanks

  • @anthonyrich1592
    @anthonyrich1592 2 ปีที่แล้ว +1

    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
      @ChrisRiley  2 ปีที่แล้ว

      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.

    • @anthonyrich1592
      @anthonyrich1592 2 ปีที่แล้ว

      @@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!

  • @Wolfhammer3D
    @Wolfhammer3D ปีที่แล้ว +1

    Awesome Video Chris! I have a color LCD on the NEO and the menu will not show up. Any Ideas?

    • @ChrisRiley
      @ChrisRiley  ปีที่แล้ว

      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. th-cam.com/video/7i7PnBZ6cnM/w-d-xo.html

    • @Wolfhammer3D
      @Wolfhammer3D ปีที่แล้ว

      @@ChrisRiley Thank you : )

  • @fortheregm1249
    @fortheregm1249 2 ปีที่แล้ว +1

    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)

    • @fortheregm1249
      @fortheregm1249 2 ปีที่แล้ว +1

      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 .

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      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.

  • @iansingerevo
    @iansingerevo 2 ปีที่แล้ว +1

    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?

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      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.

  • @gerdmuster4541
    @gerdmuster4541 2 ปีที่แล้ว

    Thanks!

  • @mahmoudzaefi2958
    @mahmoudzaefi2958 ปีที่แล้ว

    Thanks alot

  • @Khalid1349
    @Khalid1349 9 หลายเดือนก่อน

    aWESOME

    • @ChrisRiley
      @ChrisRiley  9 หลายเดือนก่อน

      Thanks 🤗

  • @grumpyoldman5642
    @grumpyoldman5642 2 ปีที่แล้ว +1

    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

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      Yes, in 2.0 you can even use the slim option to hide a lot of features.

  • @ewen832
    @ewen832 2 ปีที่แล้ว +1

    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?

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      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.

  • @kortt
    @kortt 2 ปีที่แล้ว +1

    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.

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      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

    • @kortt
      @kortt 2 ปีที่แล้ว

      @@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

  • @hariombhardwaj7620
    @hariombhardwaj7620 2 ปีที่แล้ว

    Thank you

  • @3D_Printing
    @3D_Printing 2 ปีที่แล้ว +1

    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

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      That's an interesting idea.

  • @ajaybnl
    @ajaybnl 2 ปีที่แล้ว +1

    I was only able to compile marlin 2.x on Linux. I tried VSCODE , Arduino, Platformio but got error messages.

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      Interesting, it mush be missing some libraries that Linux has.

    • @ajaybnl
      @ajaybnl 2 ปีที่แล้ว

      @@ChrisRiley No, it was compiler errors.

  • @user-qc2hg4lk5j
    @user-qc2hg4lk5j 4 หลายเดือนก่อน +1

    can please explain how marlin firmware navigates through the screen

    • @ChrisRiley
      @ChrisRiley  4 หลายเดือนก่อน

      Not sure I understand the question. On the LCD screen or how you get setup to edit Marlin?

  • @Craigs_Adventures
    @Craigs_Adventures 2 ปีที่แล้ว

    Thanks Chris…

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      Thanks for watching!

  • @ScottLahteine
    @ScottLahteine 2 ปีที่แล้ว +1

    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.

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว +1

      Hey Scott, good point. I would like to know more about how it works behind the scenes. We should do a video.

    • @ScottLahteine
      @ScottLahteine 2 ปีที่แล้ว +1

      @@ChrisRiley Happy to help bring the red hot info to the hungry masses.

  • @kirkd6285
    @kirkd6285 2 ปีที่แล้ว +1

    hey chris .. is it just me or has the main menu been moved already

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      Of course. :) Those folks are always changing things up. The menus are split up a litte different now.

  • @woodwaker1
    @woodwaker1 2 ปีที่แล้ว

    Can you a video for Klipper also?

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว +1

      Coming soon!

    • @woodwaker1
      @woodwaker1 2 ปีที่แล้ว

      @@ChrisRiley Thanks. I have the M600 somewhat working, enough to be useful

  • @ewen832
    @ewen832 2 ปีที่แล้ว +1

    To be specific I do not mean a clean function, just a step back function.

    • @ChrisRiley
      @ChrisRiley  2 ปีที่แล้ว

      See if the first comment answer helps.