|
|
@ -1707,41 +1707,4 @@
|
|
|
|
// With this option servos are powered only during movement, then turned off to prevent jitter.
|
|
|
|
// With this option servos are powered only during movement, then turned off to prevent jitter.
|
|
|
|
//#define DEACTIVATE_SERVOS_AFTER_MOVE
|
|
|
|
//#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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define DEFAULT_STDDEV_FILAMENT_DIA 0.05 // Typical estimate for cheap filament
|
|
|
|
|
|
|
|
//#define DEFAULT_STDDEV_FILAMENT_DIA 0.02 // Typical advertised for higher quality filament
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#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 (DEFAULT_NOMINAL_FILAMENT_DIA+4*DEFAULT_STDDEV_FILAMENT_DIA) // (mm) Upper limit used to validate sensor reading
|
|
|
|
|
|
|
|
#define MEASURED_LOWER_LIMIT (DEFAULT_NOMINAL_FILAMENT_DIA-4*DEFAULT_STDDEV_FILAMENT_DIA) // (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
|
|
|
|
#endif // CONFIGURATION_H
|
|
|
|