Giter Club home page Giter Club logo

smart-filament-detection-module's Introduction

BigTreeTech SFS V1.0

Firmware Config for Filament blockage detection

  • Marlin
    1. uncomment #define FILAMENT_RUNOUT_SENSOR.

    2. uncomment #define FILAMENT_RUNOUT_DISTANCE_MM 7 and set it to 7mm (The detection accuracy of SFS V1.0 is 7mm).
    3. uncomment #define FILAMENT_MOTION_SENSOR
    4. The filament sensor feature of Marlin also needs to enable #define NOZZLE_PARK_FEATURE and #define ADVANCED_PAUSE_FEATURE. please uncomment #define NOZZLE_PARK_FEATURE and #define ADVANCED_PAUSE_FEATURE and set specific parameters according to your printer.
    5. If you are using the Serial Touch Screen of BigTreeTech, please enable the features in Marlin according to the requirements here
      • We recommended to plug SFS V1.0 into the motherboard not Touch Screen, In this case, the Marlin configuration is as described above, and the Touch Screen config.ini file needs to be set according to here
      • When the SFS V1.0 is plugged into the Touch Screen, comment out #define FILAMENT_RUNOUT_SENSOR in Marlin to disable detection of Marlin and uncomment #define M114_DETAIL for Touch Screen, And enable detection of Touch Screen in config.ini file, set fil_runout:1 to enable detection and fil_runout_distance:7 for accuracy.
  • RepRapFirmware
    1. Add M591 D0 P7 C"zstopmax" L7 R75:125 E22 S1 in config.g, changing the endstop pin name according to your motherboard.
      If you are using the Serial Touch Screen of BigTreeTech, The SFS V1.0 of RRF can only be plugged into the motherboard, and Touch Screen does not need additional config for SFS V1.0
  • Klipper
    [filament_motion_sensor encoder_sensor]
    detection_length: 7
    #   The minimum length of filament pulled through the sensor to trigger
    #   a state change on the switch_pin
    #   Default is 7 mm.
    extruder: extruder
    #   The name of the extruder section this sensor is associated with.
    #   This parameter must be provided.
    switch_pin: PA9
    # changing the switch_pin name according to your motherboard
    #pause_on_runout: True
    #runout_gcode:
    #insert_gcode:
    #event_delay:
    #pause_delay:
    

BigTreeTech SFS V2.0

Firmware Config for Filament blockage detection

  • Marlin
    1. uncomment #define FILAMENT_RUNOUT_SENSOR.

    2. uncomment #define FILAMENT_RUNOUT_DISTANCE_MM 3 and set it to 3mm (The detection accuracy of SFS V2.0 is 2.88mm, We set it to 3mm to leave some error margin).
    3. uncomment #define FILAMENT_MOTION_SENSOR
    4. uncomment #define FILAMENT_SWITCH_AND_MOTION
    5. uncomment #define FIL_MOTION1_PIN gpio_xx set motion pin to actual GPIO of motherboard
    6. The filament sensor feature of Marlin also needs to enable #define NOZZLE_PARK_FEATURE and #define ADVANCED_PAUSE_FEATURE. please uncomment #define NOZZLE_PARK_FEATURE and #define ADVANCED_PAUSE_FEATURE and set specific parameters according to your printer.
    7. If you are using the Serial Touch Screen of BigTreeTech, please enable the features in Marlin according to the requirements here
      • We recommended to plug SFS V2.0 into the motherboard not Touch Screen, In this case, the Marlin configuration is as described above, and the Touch Screen config.ini file needs to be set according to here
      • When the SFS V2.0 is plugged into the Touch Screen, comment out #define FILAMENT_RUNOUT_SENSOR in Marlin to disable detection of Marlin and uncomment #define M114_DETAIL for Touch Screen, And enable detection of Touch Screen in config.ini file, set fil_runout:1 to enable detection and fil_runout_distance:3 for accuracy.
  • RepRapFirmware
    1. Add M591 D0 P7 C"zstopmax" L2.88 R75:125 E9 S1 in config.g, changing the endstop pin name according to your motherboard.
      If you are using the Serial Touch Screen of BigTreeTech, The SFS V2.0 of RRF can only be plugged into the motherboard, and Touch Screen does not need additional config for SFS V2.0
  • Klipper
    [filament_switch_sensor switch_sensor]
    switch_pin: gpio_xx
    pause_on_runout: False
    runout_gcode:
      PAUSE # [pause_resume] is required in printer.cfg
      M117 Filament switch runout
    insert_gcode:
      M117 Filament switch inserted
    
    [filament_motion_sensor encoder_sensor]
    switch_pin: gpio_xx
    detection_length: 2.88
    extruder: extruder
    pause_on_runout: False
    runout_gcode:
      PAUSE # [pause_resume] is required in printer.cfg
      M117 Filament encoder runout
    insert_gcode:
      M117 Filament encoder inserted
    

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.