BIGTREETECH GTR V1.0 motherboard is a high-performance 3D printer main control board with the core controller STM32F407IGT6, which was launched by the 3D printing team of ShenZhen BigTree Technology CO.,LTD ., aiming at solving some problems existing in the motherboard market. The BIGTREETECH GTR V1.0 is the motherboard, and the BIGTREETECH M5 V1.0 is the expansion board.
After a big fight I managed to get my GTR 1.0 working with SFS and Relay, so I thought I would share my config for anyone having issue with these. The issue was that extruder would not turn (no filament was extruded) and this would trigger the filament runout.
My Relay is connected to T2 pin (PC3), and the Smart Filament Sensor is connected to PI11.
In Marlin I had to change:
Configuration.h
#define FILAMENT_RUNOUT_SENSOR
#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.
#define FILAMENT_RUNOUT_SCRIPT "M600"
#define FILAMENT_RUNOUT_DISTANCE_MM 7
#ifdef FILAMENT_RUNOUT_DISTANCE_MM
#define FILAMENT_MOTION_SENSOR
#endif
#endif
#define PSU_CONTROL
#define PSU_NAME "Power Supply"
#if ENABLED(PSU_CONTROL)
#define PSU_ACTIVE_STATE HIGH // Set 'LOW' for ATX, 'HIGH' for X-Box
//#define PSU_DEFAULT_OFF // Keep power off until enabled directly with M80
//#define PSU_POWERUP_DELAY 250 // (ms) Delay for the PSU to warm up to full power
//#define PSU_POWERUP_GCODE "M355 S1" // G-code to run after power-on (e.g., case light on)
//#define PSU_POWEROFF_GCODE "M355 S0" // G-code to run before power-off (e.g., case light off)
//#define AUTO_POWER_CONTROL // Enable automatic control of the PS_ON pin
#if ENABLED(AUTO_POWER_CONTROL)
#define AUTO_POWER_FANS // Turn on PSU if fans need power
#define AUTO_POWER_E_FANS
#define AUTO_POWER_CONTROLLERFAN
#define AUTO_POWER_CHAMBER_FAN
//#define AUTO_POWER_E_TEMP 50 // (°C) Turn on PSU if any extruder is over this temperature
//#define AUTO_POWER_CHAMBER_TEMP 30 // (°C) Turn on PSU if the chamber is over this temperature
#define POWER_TIMEOUT 300 // (s) Turn off power if the machine is idle for this duration
//#define POWER_OFF_DELAY 60 // (s) Delay of poweroff after M81 command. Useful to let fans run for extra time.
#endif
#endif
#define NOZZLE_PARK_FEATURE
#if ENABLED(NOZZLE_PARK_FEATURE)
// Specify a park position as { X, Y, Z_raise }
#define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MAX_POS - 10), 20 }
//#define NOZZLE_PARK_X_ONLY // X move only is required to park
//#define NOZZLE_PARK_Y_ONLY // Y move only is required to park
#define NOZZLE_PARK_Z_RAISE_MIN 2 // (mm) Always raise Z by at least this distance
#define NOZZLE_PARK_XY_FEEDRATE 100 // (mm/s) X and Y axes feedrate (also used for delta Z axis)
#define NOZZLE_PARK_Z_FEEDRATE 5 // (mm/s) Z axis feedrate (not used for delta printers)
#endif
Configuration_adv.h
// Extra options for the M114 "Current Position" report
#define M114_DETAIL // Use 'M114` for details to check planner calculations
#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
#define ADVANCED_PAUSE_FEATURE
[Everything for advanced pause at default values]
pins_BTT_GTR_V1_0.h
#define FIL_RUNOUT_PIN PI11
#define PS_ON_PIN PC3
If I tried enabling auto power off - the extruder would not turn. If I tried any other combination of values for variables - the SFS would trigger filament runout (I think it has to do with the M114_REALTIME setting, which was not present before). With settings as above, the Relay can shut down printer after the job with M81 command, and filament sensor correctly triggers when no filament is present/moving.
Hope this helps someone to configure their system.
Hello,
After a big fight I managed to get my GTR 1.0 working with SFS and Relay, so I thought I would share my config for anyone having issue with these. The issue was that extruder would not turn (no filament was extruded) and this would trigger the filament runout.
My Relay is connected to T2 pin (PC3), and the Smart Filament Sensor is connected to PI11. In Marlin I had to change:
Configuration.h
Configuration_adv.h
pins_BTT_GTR_V1_0.h
If I tried enabling auto power off - the extruder would not turn. If I tried any other combination of values for variables - the SFS would trigger filament runout (I think it has to do with the M114_REALTIME setting, which was not present before). With settings as above, the Relay can shut down printer after the job with M81 command, and filament sensor correctly triggers when no filament is present/moving.
Hope this helps someone to configure their system.