Jump to content
Ultimaker Community of 3D Printing Experts

Detecteur de fin de filament sur UMO (filament runout sensor)


Recommended Posts

Posted (edited) · Detecteur de fin de filament sur UMO (filament runout sensor)

Bonjour,

 

Pour mémo et pour ceux que ça pourrait intéresser. Voici la façon dont j'ais configuré un détecteur de filament sur mon Ultimaker Original. Je suis actuellement avec un Marlin 2.0.7.2.

 

Quelque chose comme ça : https://www.thingiverse.com/thing:285504/makes

DSC_0949.thumb.png.e1be6cb4a1bb49f758ae1b309b301628.png

 

Je me suis appuyé sur ce tuto :

 

L'option changement de filament doit être activée (M600), c'est mon cas, je regarde donc dans mon configuration.h :

/**
 * Filament Runout Sensors
 * Mechanical or opto endstops are used to check for the presence of filament.
 *
 * RAMPS-based boards use SERVO3_PIN for the first runout sensor.
 * For other boards you may need to define FIL_RUNOUT_PIN, FIL_RUNOUT2_PIN, etc.
 */
#define FILAMENT_RUNOUT_SENSOR  //VIVIS activation du detecteur de filament
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
  #define FIL_RUNOUT_ENABLED_DEFAULT true // Enable the sensor on startup. Override with M412 followed by M500.
  #define NUM_RUNOUT_SENSORS   1          // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
  #define FIL_RUNOUT_STATE     LOW        // 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

"For other boards you may need to define FIL_RUNOUT_PIN" donc je regarde dans pins/ramps/pins_ultimaker.h (cf vidéo plus haut):

// Servos
//
#define SERVO0_PIN                            11

Alors on tente :

#define FILAMENT_RUNOUT_SENSOR  //VIVIS activation du detecteur de filament
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
  #define FIL_RUNOUT_PIN       11          //VIVIS yolo on se tente de brancher le detecteur sur le pin 11 du EXT3     4
  #define FIL_RUNOUT_ENABLED_DEFAULT true // Enable the sensor on startup. Override with M412 followed by M500.
  #define NUM_RUNOUT_SENSORS   1          // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each.
  #define FIL_RUNOUT_STATE     LOW        // 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.

 

Je branche deux fils au niveau de l'EXT3 (j'en profite pour souder des connecteurs), un sur GND et l'autre sur le pin 11 CA FONCTIONNE !! Lorsque les fils ne se touchent pas ça imprime, si je les met en contacte ça lance le script M600 (changement de filament). Pour le détecteur préfabriqué acheté sur Aliexpress j'ajoute le +5V.

DSC_0837.thumb.png.29511261851186e6e65021278fc5574e.png

 

J'ai pris un détecteur près fabriqué mais je trouve qu'il y a plus de friction, je vais peut être garder celui que j'ai fait moi même qu'on voit sur la première photo du post..

DSC_0946.thumb.png.a4e457abcb9150264d5e67704f138a7f.png

 

Modif comit sur mon github : https://github.com/Ecoologeek/Marlin-pour-Ultimaker-Original-Custom

Edited by ecologeek
  • Link to post
    Share on other sites
    • ecologeek changed the title to Detecteur de fin de filament sur UMO (filament runout sensor)

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • 25 Visiting our virtual showroom

      1. 1. Have you visited our virtual showroom before?


        • Yes
        • No
      2. 2. If yes - what content did you find most interesting?


        • Information about Ultimaker ecosystem
        • Applications & application stories
        • Customer success stories
        • Webinar sessions
        • Material wall & ecosystem partners
        • New product introduction; software subscription plans
      3. 3. What of the below would make you consider visiting (again)?


        • New Live Ultimaker Webinar streams
        • ‘Ask Me Anything’ with industry experts or Ultimaker staff via main stage and public chat
        • New customer success stories
        • New applications
        • Presentations/news from ecosystem partners
        • Opportunity to meet representatives for an interactive tour
        • Helpful videos like Software tutorials
        • Other; leave input in a comment below!

    • Our picks

      • Ultimaker turns 10: A look back
        Ultimaker is turning 10 years old and that means it is story telling time! We'll explore 2010-2014, traveling through the evolution of the business from the Protobox and Ultimaker Original, to the major leaps forward with the Ultimaker 2 and Ultimaker 3.
        • 0 replies
      • Ultimaker Transformation Summit
        Visit our virtual showroom and learn more about the Ultimaker ecosystem!
        • 14 replies
      • New here? Register your Ultimaker for free 3D printer onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
        • 0 replies
    ×
    ×
    • Create New...