Clean up Filament Width Sensor comments
This commit is contained in:
		| @@ -1547,33 +1547,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1546,33 +1546,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1530,33 +1530,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1530,33 +1530,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1538,33 +1538,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1541,33 +1541,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         2.00  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.60  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #define MEASURED_UPPER_LIMIT         2.00 // (mm) Upper limit used to validate sensor reading | ||||
|   #define MEASURED_LOWER_LIMIT         1.60 // (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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1580,33 +1580,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1547,33 +1547,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1547,33 +1547,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1547,33 +1547,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1548,33 +1548,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1562,33 +1562,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1567,33 +1567,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1598,33 +1598,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 1.75  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 1.75   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1538,33 +1538,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1547,33 +1547,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1654,33 +1654,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 1.75  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 1.75   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1638,33 +1638,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1634,33 +1634,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1641,33 +1641,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1649,33 +1649,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1550,33 +1550,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
| @@ -1543,33 +1543,39 @@ | ||||
| // With this option servos are powered only during movement, then turned off to prevent jitter. | ||||
| //#define DEACTIVATE_SERVOS_AFTER_MOVE | ||||
|  | ||||
| /**********************************************************************\ | ||||
|  * Support for a filament diameter sensor | ||||
|  * Also allows adjustment of diameter at print time (vs  at slicing) | ||||
|  * Single extruder only at this point (extruder 0) | ||||
| /** | ||||
|  * Filament Width Sensor | ||||
|  * | ||||
|  * Motherboards | ||||
|  * 34 - RAMPS1.4 - uses Analog input 5 on the AUX2 connector | ||||
|  * 81 - Printrboard - Uses Analog input 2 on the Exp1 connector (version B,C,D,E) | ||||
|  * 301 - Rambo  - uses Analog input 3 | ||||
|  * Note may require analog pins to be defined for different motherboards | ||||
|  **********************************************************************/ | ||||
| // Uncomment below to enable | ||||
|  * 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_NOMINAL_FILAMENT_DIA 3.00  //Enter the diameter (in mm) of the filament generally used (3.0 mm or 1.75 mm) - this is then used in the slicer software.  Used for sensor reading validation | ||||
| #define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading. | ||||
|  | ||||
| #if ENABLED(FILAMENT_WIDTH_SENSOR) | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0   //The number of the extruder that has the filament sensor (0,1,2) | ||||
|   #define MEASUREMENT_DELAY_CM        14   //measurement delay in cm.  This is the distance from filament sensor to middle of barrel | ||||
|   #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3) | ||||
|   #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber | ||||
|  | ||||
|   #define MEASURED_UPPER_LIMIT         3.30  //upper limit factor used for sensor reading validation in mm | ||||
|   #define MEASURED_LOWER_LIMIT         1.90  //lower limit factor for sensor reading validation in mm | ||||
|   #define MAX_MEASUREMENT_DELAY       20     //delay buffer size in bytes (1 byte = 1cm)- limits maximum measurement delay allowable (must be larger than MEASUREMENT_DELAY_CM  and lower number saves RAM) | ||||
|   #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 | ||||
|   #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially | ||||
|  | ||||
|   //When using an LCD, uncomment the line below to display the Filament sensor data on the last line instead of status.  Status will appear for 5 sec. | ||||
|   // Display filament width on the LCD status line. Status messages will expire after 5 seconds. | ||||
|   //#define FILAMENT_LCD_DISPLAY | ||||
| #endif | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user