• Models
  • Contests
  • Slicer
  • Login
  • Start Here
    thingiverse-iconprintables-iconcults3d-iconmakerworld-iconmyminifactory-icon

    3D GO

    3D ModelsContestsCollectionsSaved ModelsOn a mobile device?

3D GO

Privacy Policy
BTT SFS V2.0 Smart Filament Sensor For QIDI X-MAX 3 Bracket 3D Printer File Image 1
BTT SFS V2.0 Smart Filament Sensor For QIDI X-MAX 3 Bracket 3D Printer File Image 2
BTT SFS V2.0 Smart Filament Sensor For QIDI X-MAX 3 Bracket 3D Printer File Image 3
BTT SFS V2.0 Smart Filament Sensor For QIDI X-MAX 3 Bracket 3D Printer File Image 4
BTT SFS V2.0 Smart Filament Sensor For QIDI X-MAX 3 Bracket 3D Printer File Image 5
BTT SFS V2.0 Smart Filament Sensor For QIDI X-MAX 3 Bracket 3D Printer File Image 6
BTT SFS V2.0 Smart Filament Sensor For QIDI X-MAX 3 Bracket 3D Printer File Thumbnail 1
BTT SFS V2.0 Smart Filament Sensor For QIDI X-MAX 3 Bracket 3D Printer File Thumbnail 2
BTT SFS V2.0 Smart Filament Sensor For QIDI X-MAX 3 Bracket 3D Printer File Thumbnail 3
BTT SFS V2.0 Smart Filament Sensor For QIDI X-MAX 3 Bracket 3D Printer File Thumbnail 4
BTT SFS V2.0 Smart Filament Sensor For QIDI X-MAX 3 Bracket 3D Printer File Thumbnail 5
BTT SFS V2.0 Smart Filament Sensor For QIDI X-MAX 3 Bracket 3D Printer File Thumbnail 6

BTT SFS V2.0 Smart Filament Sensor For QIDI X-MAX 3 Bracket

TOOLBOXs avatarTOOLBOXs

May 3, 2024

printables-icon
DescriptionCommentsTags

Description

During the use, I encountered some problems in the code, and after correcting them, it can run normally.
Thanks to the QIDI TECH customer service team for their assistance.
The bracket has also been optimized many times.
Finally, post the results here. I hope this article helps someone in need.

This bracket can be upgraded with the screws provided by the original factory and BTT.

(PTFE tube not included)

It needs to be used with a modified filament spool holder to keep the PTFE tube approximately parallel.

QIDI X-MAX 3 Handle Inlaid Spool Holder

BIGTREETECH Smart Filament Runout Sensor V2.0

  1.  Amazon1、Amazon2、Amazon3
  2.  Aliexpress1、 Aliexpress2

2*4mm PTFE (for 1.75mm Filment)

  1. Amazon1、Amazon2、Amazon3
  2. Aliexpress1、Aliexpress2

The light signal on BTT SFS V2.0 can be seen from the front.

Red light off: material available. 
Red light on: material shortage/cut-off.
Blue light flashing: material available and in continuous motion.
Blue light on: material jam.

1. Install BTT SFS 2.0 on the printed bracket.
2. The cylinder on the bracket is assembled into the round hole in the plastic sheet. (The cylindrical groove will mate with the screw cap crown)
3. The signal cables are arranged in the cable trough on the bracket.
4. Use the removed original screws to secure the bracket.

Turn off the power. Remove the original filament sensor and signal line, and use needle-nose pliers to remove the plastic from the MT pin of the motherboard.
(Please be careful!! Rock toward the short side and pull out)

Use a pin remover or needle-nosed clip to remove the red and blue wires from the 3-pin connector. Change it to a 4-pin connector (XH 2.54) (the inverted groove on the terminal must be raised to fix it on the plastic shell), as shown in the figure.


Ps. @Print3dCell has a 4-pin model that can be printed and used.
https://www.printables.com/model/743396-4-pin-female-connector

The pins of the BTT SFS 2.0 signal cable installed on the motherboard are as shown in the figure. (This picture shows the default wiring method)

 

--------------------------------------------------------------------------------------------------------------
◎ Supplementary wiring method ◎

The red and black wires on BTT SFS V2.0 are "VCC" and "GND", the blue wire is the limit switch sensor, and the green wire is the motion sensor. For the following other wiring methods, just pay attention to the pins corresponding to the blue and green wires, and synchronize the corresponding ones in the coding script (all are pull-up resistors, using the "^" symbol), and the SFS V2.0 function can be operated correctly.

▼In the following picture, the positions of the blue wire (PC1) and the green wire (PC3) remain unchanged, only the red and black wires (VCC & GND) are changed. The codes of these wiring methods are all compatible with the description in the article.▼

▼The following picture is different from the previous one. The positions of the blue wire (PC1) and the green wire (PC3) are swapped. In the coding, both ^PC1 & ^PC3 must be swapped to enable the function correctly.▼

--------------------------------------------------------------------------------------------------------------
 

Edit “ printer.cfg ” 

Add the comment symbol " # " or " ; " before the following code.

# [filament_switch_sensor fila]
# pause_on_runout: True
# runout_gcode:
           # PAUSE
           # SET_FILAMENT_SENSOR SENSOR=fila ENABLE=1
# event_delay: 3.0
# pause_delay: 0.5
# switch_pin: !PC1

Followed by 2~3 blank lines
Copy and paste the following code

#BTT SFS 2.0 Smart Filment Sensor settings=============================
[filament_switch_sensor fila] # Material Break Detection Sensor
switch_pin: ^PC1     
# Blue line, when there is no consumables in the material outage detection, 
# it is low level, and the IO pin is already a pull-up input.
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 btt_encoder_sensor] # Blockage Detection Sensor
switch_pin: ^PC3     
# Green line, the level jumps once every 2.88mm movement of the clogging detection consumable, 
#and the IO pin is already a pull-up input.
detection_length: 5
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


[delayed_gcode DISABLEFILAMENTSENSOR] # This will disable SFS within 1 second after Klipper starts
initial_duration: 1
gcode:
    SET_FILAMENT_SENSOR SENSOR=btt_encoder_sensor ENABLE=0 
# Put your motion encoder sensor's name after SENSOR=
SET_FILAMENT_SENSOR SENSOR=fila ENABLE=0 
# Put your filament sensor's name after SENSOR=

[gcode_macro SFS_on] # Add "SFS_on" to PRINT_START and RESUME
description: Enable Smart Filament Sensor
gcode:
    M117 ENABLING the Smart Filament Sensor
    G92 E0
    SET_FILAMENT_SENSOR SENSOR=btt_encoder_sensor ENABLE=1 
# Put your motion encoder sensor's name after SENSOR=
SET_FILAMENT_SENSOR SENSOR=fila ENABLE=1 
# Put your filament sensor's name after SENSOR=

[gcode_macro SFS_off] # Add "SFS_off" to PRINT_END, PAUSE and CANCEL_PRINT
description: Disable Smart Filament Sensor 
gcode:
    M117 DISABLING the Smart Filament Sensor
    G92 E0
    SET_FILAMENT_SENSOR SENSOR=btt_encoder_sensor ENABLE=0 
# Put your motion encoder sensor's name after SENSOR=
SET_FILAMENT_SENSOR SENSOR=fila ENABLE=0 
# Put your filament sensor's name after SENSOR=

Add “ SFS_on ” to PRINT_START and RESUME

  •  PRINT_START
  • PRINT_RESUME

Add “SFS_off” to PRINT_END, PAUSE and CANCEL_PRINT

  • PRINT_END
  • PRINT_PAUSE
  • PRINT_CANCEL_PRINT
  • Save “ printer.cfg ”  and Restart.

If there are SFS_OFF, SFS_OFF and Tune pages in the macro list, the selection switches of fila and btt_encoder_sensor appear, indicating that the installation is successful.

 

The final step is to configure the " SFS_on" and " SFS_off " codes into the slicer Printer Settings/Customer (machine) G-code - (machine) start G-code and (machine) end G-code. In this way, the BTT SFS 2.0 Smart Filament Sensor can be started and stopped normally during printing.

Queries the current status of the filament sensor. 

Test Filament Switch Sensor.

QUERY_FILAMENT_SENSOR SENSOR=fila

Test Filament Motion Encoder Sensor.

QUERY_FILAMENT_SENSOR SENSOR=btt_encoder_sensor

If the test succeeds, "filament detected" will be displayed.

 

※Remember to add "SFS_on" and "SFS_off" to "Start G code and End G code" on the slicing software, so that you will have a basis for testing the limit sensor and motion sensor when printing.

◎Normal printing start flow.:

A. Rount Sensors are all off when not printing.

When the next print is pressed, "SFS_ON" will be sent in the start G code.

B. The limit switch sensor "fila" is turned on. (btt_encoder_sensor is not turned on).

C. The nozzle group moves to the middle of the hot bed (x_165, y_165), and the hot bed is heated to the set temperature.

The hot bed is heated.

D. The nozzle group moves to the left front of the hot bed (x_10, y_10), and the hot end is heated to the set temperature.

The hot end is heated.

E. The nozzle group moves to the starting printing position, and "btt_encoder_sensor" is turned on.

★The reaction of the filament limit switching sensor when there is a shortage of material.
(The motion sensor is normal and shows a green check "√" status)

A. In "fila" of Rount Sensors, an orange circle with "!" appears.

B. The BTT SFS V2.0 module lights up red, and the nozzle group moves to the middle and rear of the hot bed (x_165, y_320).

C. A lack of material message pops up on the host screen.

D. In the "fila" of Rount Sensors, there is an orange circle with "!", and turn off the sensor.

E. After confirming the host screen message, the screen will switch to the loading/replacement filament setting screen.

★The reaction of the motion sensor when a material jam occurs.
(The filament limit conversion sensor is normal and shows a green check "√" status)

A. In "btt_encoder_sensor" of Rount Sensors, an orange circle with "!" appears.

B. The nozzle group moves to the middle and rear of the heating bed (x_165, y_320), and the host screen jumps directly to the loading/replacement filament setting screen.

C. In "btt_encoder_sensor" of Rount Sensors, there is an orange circle with "!", and turn off the sensor.

License:

Creative Commons — Attribution — Noncommercial

Related Models

#3DBenchy - The jolly 3D printing torture-test by CreativeTools.se preview image

#3DBenchy - The jolly 3D printing torture-test by CreativeTools.se

CreativeTools profile image

CreativeTools

90,910

Important information sign for 3D printers / Wichtiges Hinweisschild für 3D-Drucker :) preview image

Important information sign for 3D printers / Wichtiges Hinweisschild für 3D-Drucker :)

Pat_S profile image

Pat_S

sign: don't touch my 3d printer preview image

sign: don't touch my 3d printer

Izzodesign74 profile image

Izzodesign74

600

Self-Watering Planter (Small) preview image

Self-Watering Planter (Small)

parallelgoods profile image

parallelgoods

73,152

X, Y and Z calibration tool for IDEX / dual extruder / dual color 3D printers preview image

X, Y and Z calibration tool for IDEX / dual extruder / dual color 3D printers

Voxel3D_NL profile image

Voxel3D_NL

204

Gift Box preview image

Gift Box

roby85r profile image

roby85r

1,508

All In One 3D Printer test preview image

All In One 3D Printer test

majda107 profile image

majda107

64,498

axes calibrage cube-xyz for 3d printers preview image

axes calibrage cube-xyz for 3d printers

H- printed profile image

H- printed

9

7