Solved Bigtreetech Smart Filament Sensor Setup
-
After switching wires from SGV to SVG I thought it will run.
I added "M591 D1 P7 C4 L7 R50:200 E15 S0" to the config.
By testing it with some moving filament with "M591 D1" i didn't receive any data.
Changing "P7" to "P1" in the config gives me switching states of filament present yes/no.Does somebody has an idea why P7 didn't work as suspected?
-
Take a look at this thread?
https://forum.duet3d.com/topic/17107/how-to-setup-the-bigtreetech-smart-filament-sensor
What firmware version are you using?
-
I read it it over and over again but didn't find it.
Firmware is 2.03 -
Can you update your firmware to 2.05? Upload this zip file to the system tab in DWC. Don't extract it first, just upload it.
https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
Can you show a photo of how you have it connected?
C4 would mean you have it connected to the E1stop, is that right?
-
C4 is correct.
Firmware is updated.
The new output to "M591 D1" is:
"Pulse-type filament monitor on endstop input 4, disabled, sensitivity 7.000mm/pulse, allowed movement 50% to 200%, check every 15.0mm, no calibration data" -
I don't know if it is helpfull.
; Drives
M569 P2 S1 ; Z drive 2 goes forwards
M569 P5 S1 ; U drive 5 goes backwards COLORselector
M569 P7 S0 ; X drive 7 goes backwards
M569 P8 S0 ; Y drive 8 goes backwards
M569 P9 S0 ; E0 drive 9 goes backwards PREextruder
M569 P10 S1 ; E1 drive 10 goes backwards DIRECTdriveM350 X32 Y32 Z64 U32 E32:16 I1 ; Configure microstepping with interpolation
M92 X80.00 Y80.00 Z6400.00 U400 E187:1840 ; Set steps per mm
M566 X900.00 Y900.00 Z10.00 U150 E200:200 ; Set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z500.00 U1000 E500:500 ; Set maximum speeds (mm/min)
M201 X1500.00 Y1500.00 Z300.00 U1500 E500:500 ; Set accelerations (mm/s^2)
M906 X600.00 Y600.00 Z600.00 U400 E400:600 I25 ; Set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 U0 S1 ; Set axis minima
M208 X200 Y205 Z215 U70 S0 ; Set axis maxima; Endstops
M574 X0 Y0 Z0 U0 S0 ; Set active low endstops
;M591 D0 P7 C"e1_stop" S1 R80:120 L6.2 E18.6
;M591 D1 P1 C4 S1
M591 D1 P7 C4 L7 R50:200 E15 A1 S0 ; Filamentsensor Gcode__________________________________________________________________________; Z-Probe
M307 H3 A-1 C-1 D-1
M558 P9 H5 F100 T2000
G31 X15.5 Y-25.75 Z1.792 P25; Heaters
M143 H0 S90 ; Set maximum bed temperature to 90C
M143 S280 ; Set maximum heater temperature to 280C
M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
M301 H2 S1.00 P11 I0.375 D59 T0.4 W180 B30 ; Use PID on nozzle heater (may require further tuning)
M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for bed heater 0
M305 P2 T100000 B4138 R4700 ; Set thermistor + ADC parameters for hotend heater 2; Fans
M06 P1 S0 I0 F500 H2 T40 C"Partcooler" ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
M106 P2 S0 I0 F500 C"Light" ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Tools
M563 P0 D0:1 H2 S"White" ; Define tool 0
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
M568 P0 S1 ; Enable mixing for tool 0
M567 P0 E0.50:0.50 ; Set mixing ratios for tool 0M563 P1 D0:1 H2 S"Infill" ; Define tool 1
G10 P1 X0 Y0 Z0 ; Set tool 1 axis offsets
M568 P1 S1 ; Enable mixing for tool 1
M567 P1 E0.50:0.50 ; Set mixing ratios for tool 1M563 P2 D0:1 H2 S"TPU" ; Define tool 2
G10 P2 X0 Y0 Z0 ; Set tool 2 axis offsets
M568 P2 S1 ; Enable mixing for tool 2
M567 P2 E0.50:0.50 ; Set mixing ratios for tool 2M563 P3 D0:1 H2 S"Magenta" ; Define tool 3
G10 P3 X0 Y0 Z0 ; Set tool 3 axis offsets
M568 P3 S1 ; Enable mixing for tool 3
M567 P3 E0.50:0.50 ; Set mixing ratios for tool 3M563 P4 D0:1 H2 S"Cyan" ; Define tool 4
G10 P4 X0 Y0 Z0 ; Set tool 4 axis offsets
M568 P4 S1 ; Enable mixing for tool 4
M567 P4 E0.50:0.50 ; Set mixing ratios for tool 4M563 P5 D0:1 H2 S"Yellow" ; Define tool 5
G10 P5 X0 Y0 Z0 ; Set tool 5 axis offsets
M568 P5 S1 ; Enable mixing for tool 5
M567 P5 E0.50:0.50 ; Set mixing ratios for tool 5M563 P6 D0:1 H2 S"Black" ; Define tool 6
G10 P6 X0 Y0 Z0 ; Set tool 6 axis offsets
M568 P6 S1 ; Enable mixing for tool 6
M567 P6 E0.50:0.50 ; Set mixing ratios for tool 6M563 P7 D0:1 H2 S"DIRECT ONLY" ; Define tool 7
G10 P7 X0 Y0 Z0 ; Set tool 7 axis offsets
M568 P7 S1 ; Enable mixing for tool 7
M567 P7 E0.00:0.50 ; Set mixing ratios for tool 7 -
@phaedrux said in Bigtreetech Smart Filament Sensor Setup:
Can you show a photo of how you have it connected?
-
-
no ideas left?
-
I guess I was hoping the wires would have different colours so I could tell which wire is going to which pin.
Maybe you can guide me?
-
@phaedrux there is a dot, a thin line and a filled rectangle on it to guide.
-
Thanks, that helps. So it looks like it's wired correctly based on that previous thread.
Can you try:
M591 D1 P7 C4 L0.5 R90:110 E3 S0
If that still doesn't work I might consider updating to RRF3. RRF2 is starting to get stale. Even 2.05 is over a year old now.
-
hi @phaedrux
Also setting up my printer with firmware 3.2.2 delivers "Pulse-type filament monitor on pin e1stop, disabled, sensitivity 0.500mm/pulse, allowed movement 90% to 110%, check every 3.0mm, no calibration data"
-
Ok, and with S1 to enable it?
And start a print to get it calibrated?
https://duet3d.dozuki.com/Wiki/Duet3dFilamentMonitor_RotatingMagnetVersion#Section_Calibration
-
@phaedrux THANK YOU
it works. finetuning is needed, but not the problem.