Filament Runout Sensor - Native Marlin - Chris's Basement

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 มิ.ย. 2024
  • Yes we look at the filament runout sensor once again, but this time we use the Marlin feature to control it.
    00:00 Intro
    00:48 Marlin Configuration
    04:49 Hardware Install
    07:10 Troubleshooting
    09:52 Conclusion
    M600 setup video:
    • Marlin Filament Change...
    Case I use:
    www.thingiverse.com/thing:244...
    Link to Marlin:
    marlinfw.org/meta/download/
    Link to Arduino IDE:
    www.arduino.cc/en/Main/Software
    These are affiliate links and take you to Amazon.
    ------------------------------------------------------
    Switch I used:
    geni.us/IA4FaEA
    ------------------------------------------------------
    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.
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @247hinkey
    @247hinkey 5 ปีที่แล้ว +1

    Good evening Chris - finally got this working - forgot to mention I was using Marlin 2.0 bugfix version. Anyway had to use Z_MAX axis pins with a change to the pins on Ramp 1.6+ board to "#define FIL_RUNOUT_PIN P1_28" (not servo pin 4) currently using Octoprint and works ok. P.S removed #define Z_MAX_STOPEND (//). plus changing #define FIL_RUNOUT_INVERTING true FROM false. Thanks for your help and great videos. Your a star for for allowing people like myself (greenhorns) to understand and learn this system. :)

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

      So happy that my video helped you and that you got it working.

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

    Just completed the upgrade following this guide. It went like clockwork thanks to this excellent video. Thanks Chris.

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

      Awesome Dennis! I am glad you got it working! A great feature add on to any 3D Printer.

  • @stilex6665
    @stilex6665 6 ปีที่แล้ว +2

    I love your well explained Marlin Videos. Greetings from Switzerland.

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

      Thank you! Thanks for watching, more to come.

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

    Nice video again, Chris! Very easy to follow.
    I'm so happy that I've been using them for a while now, saved me like 3 prints already (you know, old filament likes to break...)!
    On my dual-extrusion Anet A8, I just ended up using the Z_MAX_PIN, as the SERVO_3_PIN was already used by the fan-extender.

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

      Thanks! Yes, I have been using it to use up some of the sort pieces of filament I have laying around. Thanks for watching!

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

    Clear and easy to follow. Once again you have created the go to video for the subject. Thank you and I wish you much success with your approach. I am eager to understand the software and look forward to learning more through your excellent videos. Paul

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

      Paul Raggett Thanks a lot Paul! I am very glad the videos are helping others.

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

    Just made one of these for my Hypercube and my modded DaVinci Pro 1.0 (I call it my DaVinci Pro 2.0 now) and tested all working fine. Thanks again.

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

      Awesome Derek! Glad it worked for you!

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

    For compatibility with Octoprint I recommend to enable HOST_ACTION_COMMANDS - so Octoprint would be aware that M600 was triggered and printer is paused/resumed.

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

      Thanks for the tip!

  • @pavelgrishin
    @pavelgrishin 3 ปีที่แล้ว

    you have the best tut videos I have ever seen!

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

    Againm another helpful tutorial. I install the same sensor on my custom built Delta, with the SKR 2.0 board and Marlin 2.11. Installation was simple, but I had a couple of odd issues.
    1. Even though enabled in firmware, I had to M412 S1 and M500 to enable the sensor once loaded to the board.
    2. The active Sensor interferes with auto bed leveling, but not with auto calibration. Disabling the sensor, allowed me to auto-bed level. Then I simply reactivated the sensor for printing.
    This may be just me, but I thought it was worth mentioning.

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

      Thank you for your insight!

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

    Great video. Will do that with mine this week then. Nice screw holder/sticker holder.

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

      Awesome! Good luck!

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

    nice! i was planning on adding one to my AM8 , i'll just follow the nice tutorial

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

      Excellent! Good luck!

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

    Nice man, I need this in my life on all of my printers.

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

      Kuntry 3D Its one of those mods you need, but procrastination wins. I got tired of watching filament spools endlessly, so I gave in and built one.

    • @Kuntry3D
      @Kuntry3D 6 ปีที่แล้ว +2

      Well My KuntryBo and The Haribo are up for Prusa Firmware Upgrades so I may have to break down and do it then.

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

    Great Job Chris .

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

      Thanks man! Comments are always appreciated.

  • @Joe-Skynet
    @Joe-Skynet 6 ปีที่แล้ว +1

    Wow what a coincidence!!! My filament sensor just arrived a few days ago and I was wondering what to do. On the printers web page they say to connect it to the servo that's closest to the SD card reader on my board but it's always better to see it being done before trying it myself. Thanks again talk about sinchronicity :)

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

      JOSEPHPORRO Awesome! I got this one done just in time! :) Thanks for watching!

    • @Joe-Skynet
      @Joe-Skynet 6 ปีที่แล้ว

      Chris Riley my capacitive sensor for autobed levelling is on the way also. I was wondering if you could do a video on how to set that up. Many many thankyous

  • @Bajicoy
    @Bajicoy 6 ปีที่แล้ว +2

    hurray! been printing a ton so I need this haha

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

      Ha ha! That is exactly why I did this video. I was standing at the hang printer late one night waiting for the filament to run out, then I decided, this is ridiculous. Time for a filament sensor. Thanks for watching!

  • @247hinkey
    @247hinkey 5 ปีที่แล้ว +1

    Great video - Thank you.

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

      You bet, thanks for watching!

  • @3dprinting4life10
    @3dprinting4life10 6 ปีที่แล้ว +1

    Another good vid Chris, we cant have Benchy's running out of filament now can we that would be a disaster, LOL, regards RobUK

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

      3D Printing 4 Life Ha! No we cannot! Thanks for watching!

  • @madmike8406
    @madmike8406 6 ปีที่แล้ว +3

    Another great video Chris... it’s so nice when I get a question now, I can just say Chris did a great video on that... go check it out... so thanks!

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

      Mad Mike8 Ha ha! That makes me feel good to hear. Thanks Mike!

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

    Hi chris nice tutorial man i love your video's

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

    Great explaination, nice, simple, and easily explained - thanks, seeing how this seems to tie together in marlin, it also has me wondering if is possible to add a simple menu item that runs a small gcode routine to assist in manually levelling the bed

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

      Andy Davies Thanks and thanks for watching. I have seen that done a few times. Not sure how to, but I will look into it.

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

    thanks Chris great information as normal

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

      Thanks Rover! Thanks for watching as always.

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

    thanks..nice video and very helpful

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

      Awesome! You are very welcome.

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

    Nice Chris, I would like to see a jamed filament sensor

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

      I would as well. I would like to try out the optical mouse sensor hack someday.

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

    There is another Z style you didn't mention. Voron switchwire style which they clam is the best, it doesn't go out of sync and it doesn't wobble.

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

      Belt Z has been around for a long time, but that is a whole different subject.

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

    Thanks for another great video!
    Kindly share your Marlin configuration files.

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

      Thanks! Sure, here is my current version.
      drive.google.com/open?id=1QbFuPwyr-UWNetaoeAPt43XDuUcxBvtp

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

    Ruling it! Great stuff.

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

    Great video, Chris. If used on a Bowden setup, should the retract distance be equal or greater than the length of the Bowden tube plus length thru the hotend, to push the filament all the way back out?

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

      Thanks Ron! I haven't played with this yet, but I think you are correct. These 2 M600 settings are what you would want to change.
      #define FILAMENT_CHANGE_UNLOAD_LENGTH 100
      #define FILAMENT_CHANGE_LOAD_LENGTH 20

  • @flowerguy-tf5oe
    @flowerguy-tf5oe 6 ปีที่แล้ว +1

    Awsome Chris :)

  • @Felix.Garcia
    @Felix.Garcia 4 ปีที่แล้ว +1

    Ha! Funny I just now noticed that my filament case he's using. Cool beans!

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

      That's you sensor case? Sweet! Thanks for creating it, works awesome.

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

    Keep up the good work :)

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

      Thanks for watching!

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

    Thanks Chris. I have done all the code changes and marlin works well except I dont have the menu in 8:40. After loading, it immediately returns to printing.

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

      This is a really one version, something might have changed in the config. Check this one out, I do a lot of the same things. th-cam.com/video/0WDfluszvd0/w-d-xo.html

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

    You are the best !

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

      seriousCADninja No, you are the best! ;) Thanks for watching.

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

    Thanks for the video!! Any idea how to make a filament jam sensor configuration in marlin?

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

      Vaibhav Sarda I don't know how yet, but it's on my list of things to check out. Thanks for watching.

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

    Hi Chris, very informative videoes, I like them a lot. I have a question of this topic. Your 3 printer setup for Octoprint with cameras. I have a watched folder on my octoprint setup. How do you add watched folder for the 2 other printers in your setup? Thanks
    Rolland

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

      Hey Rolland, thank you! You can just add the watch folders in the GUI, go to settings>folders and for watched folders you will use the following.
      /home/pi/.octoprint/watched
      /home/pi/.octoprint2/watched
      /home/pi/.octoprint3/watched
      /home/pi/.octoprint4/watched

    • @rollandjones9556
      @rollandjones9556 6 ปีที่แล้ว

      Thanks.

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

    Chris, I am sure you have done a video on this but if I take to long in changing the filament on the M600 command, the motors will disable them self's and it will lose the height on the Z. So when I replace the filament it will not go back to where it left off. Can you point me in the right direction on sorting this?

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

      Hey Derek, thanks for watching. Yes, check out M84 or check these out in configuration_adv.h
      #define DEFAULT_STEPPER_DEACTIVE_TIME 120
      #define DISABLE_INACTIVE_X true
      #define DISABLE_INACTIVE_Y true
      #define DISABLE_INACTIVE_Z true // set to false if the nozzle will fall down on your printed part when print has finished.
      #define DISABLE_INACTIVE_E true

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

    Hi I've been able to config my skr1.4 turbo because your tutorial was very useful, now because I use vsc do you have any videos regarding using this runout switch on my skr1.4 turbo via vsc or would it be exactly the same principle? I'm about to start working on my second printer and want to use the same switch you have in this video as I have them

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

      It will be exactly the same, just use the e0 detect pins.

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

    Hey thanks for the great video. I'm already using D11 D4 D5 D6 for RGBW is there any way to rather use an unused endstop pin? Like X max or Y max?

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

      Sure! All you have to do is change it in RAMPS_PINS.H. You can just swap the port numbers around. Thanks for watching.

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

      Chris Riley thanks!! I'm seeing so many of these videos of adding awesome features but noone has implemented all of them in a single board.kinda like the tmc2130 and LCD issue..those poor D4 D5 D6 servo pins are the village bicycles of the ramps add ons..i know i can't have everything on one machine but I'd like to try...
      perhaps please when you have time after all the common feature videos have a review video of pins used for each device added to your clone printer (with RGBW ;P)
      Thanks again

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

      Steven Randall That's a good idea. Log is getting pretty full up, I will write this one down for sure.

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

    Hi,Chris, I finally figured it out about the runout sensor.It was pin 11. But I still have a problem with the pause parking , to change the filament.When it parks it stays ontop of the print and when I change the filament ,it starts coming out on the print. Thanks.

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

      I recall someone else having this issue, don't remember the fix. Make sure of these settings.
      Configuration_adv.h make sure this comment is removed:
      #define PARK_HEAD_ON_PAUSE
      Configuration.h make sure nozzle park comment is removed.
      #define NOZZLE_PARK_FEATURE
      #if ENABLED(NOZZLE_PARK_FEATURE)
      // Specify a park position as { X, Y, Z }
      #define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MAX_POS - 10), 20 }
      #define NOZZLE_PARK_XY_FEEDRATE 100 // X and Y axes feedrate in mm/s (also used for delta printers Z axis)
      #define NOZZLE_PARK_Z_FEEDRATE 5 // Z axis feedrate in mm/s (not used for delta printers)
      #endif

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

    nice, could you tell us how to add it to tevo tarantula? or a very basic lesson for firmware check/upgrade?

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

      Not sure on the tarantula, but I can look into it.

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

    Chris, Since its been a while .. maybe a video on how to use the filament runout sensor on a MKS TFT35? would be good sequel. I connect mine and enable in smoothie firmware and ... nothing.

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

      You might be right, I would like to try some of that screens features out, I will have a look at it.

  • @rj4208
    @rj4208 5 ปีที่แล้ว

    Chris, thank you for your video. I have one question. Unless I don't change the filament within 45 seconds, #define PAUSE_PARK_NOZZLE_TIMEOUT 45, it didn't heat up the nozzle and I couldn't keep printing. Do you know why?

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

      Hmmm, I am not sure, what Marlin version are you using? It appears to re-heat in Marlin 1.1.9 after you click the button.

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

      It's maybe 1.1.5 or 1.1.6. I'll try newest version. Thank you.

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

    Hi,very good video. But I done everything you said but I never get the sensor to work. With the filament in,light comes on from the sensor.If I give it a M600 code the printer will pause to change filament. I changed the sensor with another one but still the same. I am using Anycubic Kossel plus.
    Can you tell me what I am doing wrong please.
    Thanks,

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

      My guess is the servo port your using is different on the kossel config, can you show me where you have it plugged in?

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

    Thank you for the tip. 👍
    Link for the case is wrong :)

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

      Thanks! Link updated.

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

    Hi Christ, I am currently using mks base 1.4 v motherboard, just wondering if you can help me please, on the servo pins, I am currently using marlin easycogfig 2.0, and Arduino 1.8.5, how do I fix’s my issue, many thanks Sean

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

      What is the issue?

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

    I want to ask you if you have any idea?
    I have JGAURORA A5 and i broke the filament sensor pins on the tft screen borde. So i need to plug that sensor to the mks gen L motherboard. Now i fallow your video all is good but when the sensor deducts the filament run out its pause the print but the TFT screen shows nothing about it. And i cant resume the print.
    I change definition of it in pins_RAMPS.h as #define FIL_RUNOUT_PIN 2 or 4. Although the filament sensor works that way and pauses the printer successfully, the touch screen ignores it.

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

      Yeah, it sounds like it was using the TFT filament feature to trigger it before. Now the TFT will ignore it. About all I would know to do is swap to a different screen. I don't even think there is a gcode command you could send it.

  • @tenlittleindians
    @tenlittleindians 6 ปีที่แล้ว

    Does the machine home itself before resuming in case location was lost during filament change?

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

      The way I have m600 setup, it does not.

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

    Hi can you make a video about using higher voltage PSU for example from a laptop with a RAMPS . I bought today a Toshiba laptop brick that is 15 V and 8 A, and a huge HP brick that is 20 V and 11 A ! Can I use them on a printer without heated bed ? Do I need a MOSFET board or some DC-DC convertor ? Thanks !

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

      If you don't use a heat bed, anything over 5A should work. You could probably run at 15v, but I wouldn't recommend it. You could probably use something like a 7812 voltage regulator to get you down to 12v. If I run across one of these supplies I will look into it. Thanks for watching!

    • @bbogdanmircea
      @bbogdanmircea 6 ปีที่แล้ว

      Chris Riley Dunno what is the maximum voltage the components on the RAMPS can take, I think the capacitors are 16 V max ?

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

      Yeah not sure, I know on some of them, they have 4004 diodes that keep you from running higher then 12v. I would have to do some additional reading..

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

    I'm using a simple button (without PCB). Using 2 wires (ground and signal). The program either stops continually (normally close) or never stops (normally open). IDK what is wrong with it. Using RAMPS1.4

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

      The switches can go into a floating state. Try adding a pull down resistor.

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

    Nice, can i use 3 filament sensors?. I have a Diamond hotend. How i can configure marlin in that case.

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

      That is a great question and unfortunately I don't know the answer. I'll do some looking around.

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

      You can probably get away with it by using individual sensors (limit switches) for each filament and wiring the limit switches (using the Normally Open pin configuration) in series. If any of the filaments run out, the limit switch will open the circuit triggering the filament run out signal. I hope this helps you.

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

    Hello. Is there a way to lock the X and Y axis but keep is so we can still load filament? When I do a M600 on my Robo R1 Plus I can accidentally move the head messing up the print when the printer restarts to print.

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

      I am not sure about the version of Marlin the Robo runs, but in the newer versions there is this feature. In M600 that takes care of this. In your version of Marlin you might be able to set
      #define PAUSE_PARK_NO_STEPPER_TIMEOUT // Enable to have stepper motors hold position during filament change
      In your version of Marlin you might be able to set some of these options to help.
      #define DEFAULT_STEPPER_DEACTIVE_TIME 120
      #define DISABLE_INACTIVE_X true
      #define DISABLE_INACTIVE_Y true
      #define DISABLE_INACTIVE_Z true // set to false if the nozzle will fall down on your printed part when print has finished.
      #define DISABLE_INACTIVE_E true

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

      Oh thanks. Ill look for those and or download newer version.

    • @ImaginationToForm
      @ImaginationToForm 6 ปีที่แล้ว

      Meh I had everything but PAUSE_PARK_NO_STEPPER_TIMEOUT in the firmware. Guess I'll need to download newer and configure for Robo.

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

    Hi mate i was going to put a filament runout swith on my Tevo Taranual a normal end swith with two wires, just wondering if you can help me in marlin, i am usings easyconfig 2.0, many thank

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

      I can help in Marlin for sure. I don't know the easy config tool. You should be able to just un-comment the filament sensor line.
      #define FILAMENT_RUNOUT_SENSOR

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

      Chris Riley thank you, that’s what I thought, thank you for replying back

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

    hi5 from spain :P

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

      Info Mario High Five man!

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

    Good morning Chris. Thank you for publishing these excellent tutorial videos. I am fairly new to 3D printing and have been upgrading my printers, right now my Ender 3. Installing an MKS Gen L board with 2208 stepper drivers. I have been binge watching your videos. I made the changes in Marlin for the filament runout sensor, per your instructions but when I verified the changes the following messages showed up: static assertion failed: ADVANCED_PAUSE_FEATURE is required to use M600 with FILAMENT_RUNOUT_SENSOR #error¨FILAMENT_CHANGE_UNLOAD_LENGTH must be less than or equal to EXTRUDE_MAXLENGTH I am running Marlin 1.1.9 I went through your tutorial again step by step to verify I did it correctly, think I did. I am unable to find EXTUDE_MAXLENGTH anywhere. Might you have any thoughts or word of wisdom? This would be a 3 coffee cup response. Thank you.

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

      Yes, this is what you are looking for, it's in configuration.h line 461 on my screen #define EXTRUDE_MAXLENGTH 200

    • @dustykatz9504
      @dustykatz9504 5 ปีที่แล้ว

      @@ChrisRiley Thank you for your prompt response, Chris. I will look at that when I get home from work. Any thoughts on the other message I received regarding the ...ADVANCED_PAUSE_FEATURE ...?

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

      @@dustykatz9504 Yeah, it's talking about the pause and park features. You just need to make sure both are commented out. Try to fix the extrude length error and see if it goes away.

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

      @@ChrisRiley Hello Chris That did it, it verified with no errors. Thank you. Coffee coming your way.

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

      @@dustykatz9504 Thank you! Coffee is much appreciated.

  • @247hinkey
    @247hinkey 5 ปีที่แล้ว +1

    Good evening Chris - Everything now working except every time I start a print it is wanting to change the filament prior to print. Any ideas - Thank you in advance.

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

      Does it allow you to continue?

    • @247hinkey
      @247hinkey 5 ปีที่แล้ว +1

      @@ChrisRiley Hi Chris yes it allows me to continue - The problem seems to be on startup - once a print is done and another one setup without restart there are no issues.

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

      @@247hinkey Interesting, seems like the sensor gets triggered or something. Try turning on the pull up in the code.

  • @shellyrobinson5806
    @shellyrobinson5806 3 ปีที่แล้ว

    Hey Chris
    Just a quick question on filament runout sensor currently i have one hooked up but its not working as it should not sure if it is due to firmware ot wiring
    I have it plugged into the E0max I think on the SKR1.4 Turbo board
    The wires are as follows
    Red, Green, Black
    Looking at the board with the stepper drives to the top the Black wire is closest to the drivers is this correct?

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

      ok I did some checking I know my wiring is correct there has to be an issue with software I am pretty sure.
      this is what I have in marlin 2.0
      "
      #define FILAMENT_RUNOUT_SENSOR
      #if ENABLED(FILAMENT_RUNOUT_SENSOR)
      #define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
      #define FIL_RUNOUT_STATE false // Pin state indicating that filament is NOT present.
      //#define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins.
      #define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins.
      // Set one or more commands to execute on filament runout.
      // (After 'M412 H' Marlin will ask the host to handle the process.)
      #define FILAMENT_RUNOUT_SCRIPT "M600"
      // After a runout is detected, continue printing this length of filament
      // before executing the runout script. Useful for a sensor at the end of
      // a feed tube. Requires 4 bytes SRAM per sensor, plus 4 bytes overhead.
      //#define FILAMENT_RUNOUT_DISTANCE_MM 25
      #ifdef FILAMENT_RUNOUT_DISTANCE_MM
      // Enable this option to use an encoder disc that toggles the runout pin
      // as the filament moves. (Be sure to set FILAMENT_RUNOUT_DISTANCE_MM
      // large enough to avoid false positives.)
      //#define FILAMENT_MOTION_SENSOR
      #endif
      #endif
      "
      really could use some help here...

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

      Closet to the driver, it should start red, black, green.

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

      Does the filament sensor now show up when you run m119? Does the status change when you trigger the switch?

    • @shellyrobinson5806
      @shellyrobinson5806 3 ปีที่แล้ว

      @@ChrisRiley Yes I can see it triggering and open status in M119 reports
      It is working in the terminal but when I start a print it goes straight into filament runout warning and pauses the print with or with out filament in the sensor.
      My wires are closest to the drivers
      Black green red
      If I was to record a vid on the process for you to see what is happening what would you need to see

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

      @@shellyrobinson5806 I think the wires are wrong, it should be red closest to the driver, then black, then green.

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

    Hi Chris very nice and helpful dvideo, I hava a question bucause I have a skr v1.3 and octoprint without LCD, I setupped the filament runout sensor but the M600 need LCD controller . Instead of that marlin suggest me that I need to use EMERGENCY_PARSER. But the problem is when the filament sensor dettect that thereisn´t filament the printer go to their position and wait for filament but without LCD I can´t takeoff the printer of paused, because in octoprint nothing happens. I hope you can help me thanks!!.

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

      Yes, this is a common question. With M600 you will have to do some sort of button press to resume your print. I am not sure if there is anything that will let you work around this available for octoprint. People with touch screens have this same problem.

    • @danzig483
      @danzig483 3 ปีที่แล้ว

      @@ChrisRiley thank you Chris for answer, do you think the mini 12864 LCD work ok? Thank's

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

      @@danzig483 Yes, it should work.

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

      @@ChrisRiley Thank you !!!!!!

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

    what if im using a homemade switch instead of a preconfigured board? do the wires go directly to the pins and if so which ones?

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

      Yes, you can use any switch. Go with the GPIO pin and the ground pin.

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

      @@ChrisRiley thank you, also how to i invert the rotary encoder direction for the control screen?

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

      Yes, check out these options in configuration.h
      //
      // This option reverses the encoder direction everywhere.
      //
      // Set this option if CLOCKWISE causes values to DECREASE
      //
      //#define REVERSE_ENCODER_DIRECTION
      //
      // This option reverses the encoder direction for navigating LCD menus.
      //
      // If CLOCKWISE normally moves DOWN this makes it go UP.
      // If CLOCKWISE normally moves UP this makes it go DOWN.
      //
      //#define REVERSE_MENU_DIRECTION

    • @cyberstar251
      @cyberstar251 5 ปีที่แล้ว

      @@ChrisRiley thank you. ^W^

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

    Hello all well? Recently I bought a core xy printer made here in Brazil, I sold my Hevo, it uses the MKS Gen L 1.0 and a problem appeared, it does not connect via USB or without USB, turns on the red light and when I send connect the blue flashes, but does not connect, already checked everything, cables, source, the usb driver is Ok she finds and appears the Com port, but I can not connect it in the slicer, either simplify, repetier or pronterface. Could you give me a help? Thanks

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

      Sounds like you might have a bad board. Are you trying from Windows? If so it could be a driver problem. Do you have Linux or Octoprint you can try?

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

      @@ChrisRiley Hi Chris, I solved my problem by rewriting the firmware, it looks like something has corrupted and now the machine is working fine. Thank you for your reply.

  • @palewriter1856
    @palewriter1856 4 ปีที่แล้ว

    Nice video, but your editor shoulda caught the erroneous second S in Chris'

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

      Thanks for watching and noticing.

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

      @@ChrisRiley NP - just being a richard, as per usual.
      Thanks for the vid!

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

      @@palewriter1856 It's no problem, I get it a lot.

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

    How can I do this in marlin 2.0? I have no pin_ramps.

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

      All the settings are in folders now. I suggest moving to VScode. These are the files you're looking for Marlin/src/pins/ramps

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

    I've been trying to install a 3 wire filament runout sensor on my ender 3 with skr mini e3 v1.2 board. Is there anyway you could provide some assists on the firmware modification

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

      What part are you stuck on? I can try and help.

    • @gjohnson5978
      @gjohnson5978 3 ปีที่แล้ว

      @@ChrisRiley I connect the filament runout sensor on PT-DET connector and modified the firmware from the git-hub website and the wire is pulled from the sensor, the print continues to run...do i have the connector in the right port or should I connect it to my touchscreen

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

      @@gjohnson5978 try it in the e0 stop pins, the ones right above x min endstop.

    • @gjohnson5978
      @gjohnson5978 3 ปีที่แล้ว

      Chris Riley do I need change the PIN number in adv.h

    • @gjohnson5978
      @gjohnson5978 3 ปีที่แล้ว

      Chris Riley also I have a 3 wire sensor

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

    I just got a befenybay 3d printer dual monitor sensor but I can not find anything on how to install and setup on this any ideas?

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

      I'm not sure what one of those is, do you have a link to it?

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

      @@ChrisRiley Amazon is selling them for the CR-10.
      So really I guess my question is does Marlins firmware have a generic filament runout setting for any sensor?
      Here is the link to what I have
      www.amazon.com/gp/aw/d/B07SFFXC9C?psc=1&ref=ppx_pop_mob_b_asin_image

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

      @@shellyrobinson5806 No, it's not specific, Marlin will work with any sensor.

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

    I always have issue to remember running M119 command - filament sensor triggered is filament in or filament out? And it seems nobody of marlin authors bothered to document it. DAMN.

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

      I didn't learn that m119 would work until years later.

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

      @@ChrisRiley I see, but the worst part even after you realize it is difficult to realize in what state filament sensor should be. Configuration.h says, that by default it should be HIGH when filament present. But HIGH is it triggered or open? And it is damn impossible to find anywhere (maybe I cannot) what it should be. I even created FR request on github, to put that information in Configuration.h

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

      @@bumbarabun It depends on the sensor you use, with a micro switch you can can it just by switching the wires on the legs. Not sure on the optical endstop, there are a couple different ones.

    • @bumbarabun
      @bumbarabun 4 ปีที่แล้ว

      @@ChrisRiley sorry, maybe I did not make it clear. It is not difficult for me to switch logic, either by wires or flipping that flag in firmware. I find frustrating that you have to run test print to determine that if your logic is correct. It would be quite easy tune if they say "you logic should be that when filament is present M119 should say filament: TRIGGERED", but that information is nowhere to be found. In Configuration.h they say "firmware assumes that sensor value is HIGH when filament is present". But HIGH is that triggered or open? And that drives me nuts - it is so easy to provide that information and it would be so valuable and nobody bothered. And looking around so many people confused by it.

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

    Hi Chris, thanks for the video. My sensor was advertised with black red and white wires. Easy enough, black ground, red hot and white signal. Problem is the sensor they sent me had blue red and green wires! I cant find a pinout or wiring diagram anywhere for this sensor. www.amazon.com/gp/product/B07F65TXGS/ref=ox_sc_saved_title_7?smid=A26ATEC08S9EFM&psc=1
    Any ideas how i can get it installed without damaging my mks gen 1.4 if i guess wrong and have wire(s) inverted?
    Thanks

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

      Is the case on that sensor easy to open? It's probably marked on the PCB I would guess.

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

    For an intelligent person I'm rubbish at this : ) I just bought a runout sensor; it's wires are Red Black White; 5v Ground Signal? Do I need to swtch the wires around from what I bought new? That seems odd.. but I do have everything I need to do that. Yes/No would be appreciated, from anyone.

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

      Depends which pins you use. Endstop pins, you should be good. Servo pins they will probably need to be switched.

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

    Hi, I try to do it on my Ender 3 pro with Raspberry PI 2 Model B - NOT WORKING
    Why? I do all step by step - Someone can help me pleaseee

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

      What pins are you using to hook the sensor up?

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

    Is the Filament sensor reloaded still working right now?

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

      Last time I checked it did.

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

      @@ChrisRiley Just installed it the other day and it was working fine. Tried it the the following night and everytime I click print it turns off the bed and extruder temperature and will say cancelling the print and it hasn't started yet. Disabled the Filament sensor reloaded and everything was fine.

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

      @@rtcfpv1012 Sounds like the switch might be floating. The pi's have an internal pull up and pull down resistor. You might try to enable/disable it on that GIO pin.

    • @rtcfpv1012
      @rtcfpv1012 4 ปีที่แล้ว

      @@ChrisRiley I'm assuming you got a chance to test the plugin. I'm new to all this and just following your youtube video instructions. I would appreciate it if you can tell me how to do it. Thanks for help and more power to your youtube channel. 👍

  • @thejavaman53
    @thejavaman53 6 ปีที่แล้ว

    You sound like the guy from "The daily dose of internet".

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

      Ha, interesting, I don't know that channel but I will check it out.

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

      One advice though. Don't overdose.

  • @luCianZe
    @luCianZe 5 ปีที่แล้ว

    Hey! Don't know if you know but the Prusa i3 indirect runout filament sensor is on the market, why still use the clasic mechanical endstop ? link here: goo.gl/WxB7gp
    It does not work with ramps 1.4? I would like to buy it. Can you review it? or just post a comment here if it works with adruino mega + ramps 1.4 or re-arm + ramps 1.4.

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

    Really I love your well explained videos,
    I Have a problem in Einsy board i build my own 3d printer using Einsy board, And I use Marlin-i3-MK3 firmware (github.com/prusa3d/Prusa-Firmware) but how can I install Power panic in my printer I have mk3 power panic PCB board but how can configure in my firmware?
    sorry for my English.

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

      That is a great question, but I have no clue. Do you have the same PSU with the wire Prusa uses?

    • @PatelMayankG
      @PatelMayankG 5 ปีที่แล้ว

      @@ChrisRiley yes I have same PSU with wire.

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

      @@PatelMayankG It should just work then. Same firmware, board and PSU.

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

    :D

  • @3dgussner958
    @3dgussner958 6 ปีที่แล้ว +1

    Again great video, if you have an original Prusa MK2/s with/without MMUv1 you can try my modded firmware github.com/3d-gussner/Prusa-Firmware/releases/tag/v3.1.0-001-HFM . It can be configured/en-/disabled via LCD menu.

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

      Thanks! Awesome firmware man, thanks for sharing. Nice work!

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

    That just seems too easy to not use it!

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

      Fun King 3D Its one of those things I have wanted to do forever, but never took the time to. Now I think it's a must have upgrade.

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

      Well I am definitely going to hop on that.

  • @markgreco1962
    @markgreco1962 5 ปีที่แล้ว

    Chris I Remixed the Filament sensor And added a link to your vid on Thingiverse. Hope you don't mind the link www.thingiverse.com/thing:3326077