Move Filament Width Sensor to Configuration_adv.h
This commit is contained in:
		@@ -1675,38 +1675,4 @@
 | 
			
		||||
// With this option servos are powered only during movement, then turned off to prevent jitter.
 | 
			
		||||
//#define DEACTIVATE_SERVOS_AFTER_MOVE
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Filament Width Sensor
 | 
			
		||||
 *
 | 
			
		||||
 * Measures the filament width in real-time and adjusts
 | 
			
		||||
 * flow rate to compensate for any irregularities.
 | 
			
		||||
 *
 | 
			
		||||
 * Also allows the measured filament diameter to set the
 | 
			
		||||
 * extrusion rate, so the slicer only has to specify the
 | 
			
		||||
 * volume.
 | 
			
		||||
 *
 | 
			
		||||
 * Only a single extruder is supported at this time.
 | 
			
		||||
 *
 | 
			
		||||
 *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
 | 
			
		||||
 *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
 | 
			
		||||
 * 301 RAMBO       : Analog input 3
 | 
			
		||||
 *
 | 
			
		||||
 * Note: May require analog pins to be defined for other boards.
 | 
			
		||||
 */
 | 
			
		||||
//#define FILAMENT_WIDTH_SENSOR
 | 
			
		||||
 | 
			
		||||
#if ENABLED(FILAMENT_WIDTH_SENSOR)
 | 
			
		||||
  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
 | 
			
		||||
  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
 | 
			
		||||
 | 
			
		||||
  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
 | 
			
		||||
  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
 | 
			
		||||
  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
 | 
			
		||||
 | 
			
		||||
  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
 | 
			
		||||
 | 
			
		||||
  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
 | 
			
		||||
  //#define FILAMENT_LCD_DISPLAY
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#endif // CONFIGURATION_H
 | 
			
		||||
 
 | 
			
		||||
@@ -1277,6 +1277,40 @@
 | 
			
		||||
  //#define SPEED_POWER_MAX      100      // 0-100%
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Filament Width Sensor
 | 
			
		||||
 *
 | 
			
		||||
 * Measures the filament width in real-time and adjusts
 | 
			
		||||
 * flow rate to compensate for any irregularities.
 | 
			
		||||
 *
 | 
			
		||||
 * Also allows the measured filament diameter to set the
 | 
			
		||||
 * extrusion rate, so the slicer only has to specify the
 | 
			
		||||
 * volume.
 | 
			
		||||
 *
 | 
			
		||||
 * Only a single extruder is supported at this time.
 | 
			
		||||
 *
 | 
			
		||||
 *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
 | 
			
		||||
 *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
 | 
			
		||||
 * 301 RAMBO       : Analog input 3
 | 
			
		||||
 *
 | 
			
		||||
 * Note: May require analog pins to be defined for other boards.
 | 
			
		||||
 */
 | 
			
		||||
//#define FILAMENT_WIDTH_SENSOR
 | 
			
		||||
 | 
			
		||||
#if ENABLED(FILAMENT_WIDTH_SENSOR)
 | 
			
		||||
  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
 | 
			
		||||
  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
 | 
			
		||||
 | 
			
		||||
  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
 | 
			
		||||
  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
 | 
			
		||||
  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
 | 
			
		||||
 | 
			
		||||
  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
 | 
			
		||||
 | 
			
		||||
  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
 | 
			
		||||
  //#define FILAMENT_LCD_DISPLAY
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * CNC Coordinate Systems
 | 
			
		||||
 *
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user