Jump to content

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


ecologeek

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
    • Our picks

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 7 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...