| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | # This file serves as documentation for config parameters. One may | 
					
						
							| 
									
										
										
										
											2016-09-15 12:20:49 -04:00
										 |  |  | # copy and edit this file to configure a new cartesian style | 
					
						
							| 
									
										
										
										
											2017-03-12 13:47:16 -04:00
										 |  |  | # printer. For delta style printers, see the "example-delta.cfg" | 
					
						
							|  |  |  | # file. For corexy/h-bot style printers, see the "example-corexy.cfg" | 
					
						
							| 
									
										
										
										
											2017-08-24 09:34:31 -04:00
										 |  |  | # file. Only common config sections are described here - see the | 
					
						
							|  |  |  | # "example-extras.cfg" file for configuring less common devices. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | # DO NOT COPY THIS FILE WITHOUT CAREFULLY READING AND UPDATING IT | 
					
						
							|  |  |  | # FIRST. Incorrectly configured parameters may cause damage. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # A note on pin names: pins may be configured with a hardware name | 
					
						
							| 
									
										
										
										
											2016-09-15 12:19:30 -04:00
										 |  |  | # (such as "PA4") or with an Arduino alias name (such as "ar29" or | 
					
						
							|  |  |  | # "analog3"). In order to use Arduino names, the pin_map variable in | 
					
						
							| 
									
										
										
										
											2019-03-17 21:07:31 -04:00
										 |  |  | # the mcu section must be present and have a value of "arduino". Pin | 
					
						
							|  |  |  | # names may be preceded by an '!' to indicate that a reverse polarity | 
					
						
							|  |  |  | # should be used (eg, trigger on low instead of high). Input pins may | 
					
						
							|  |  |  | # be preceded by a '^' to indicate that a hardware pull-up resistor | 
					
						
							|  |  |  | # should be enabled for the pin. If the micro-controller supports | 
					
						
							|  |  |  | # pull-down resistors then an input pin may alternatively be preceded | 
					
						
							|  |  |  | # by a '~'. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # The stepper_x section is used to describe the stepper controlling | 
					
						
							| 
									
										
										
										
											2017-05-21 11:47:09 -04:00
										 |  |  | # the X axis in a cartesian robot. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | [stepper_x] | 
					
						
							| 
									
										
										
										
											2017-07-24 12:34:26 -04:00
										 |  |  | step_pin: ar54 | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   Step GPIO pin (triggered high). This parameter must be provided. | 
					
						
							| 
									
										
										
										
											2017-07-24 12:34:26 -04:00
										 |  |  | dir_pin: ar55 | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   Direction GPIO pin (high indicates positive direction). This | 
					
						
							|  |  |  | #   parameter must be provided. | 
					
						
							| 
									
										
										
										
											2017-07-24 12:34:26 -04:00
										 |  |  | enable_pin: !ar38 | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   Enable pin (default is enable high; use ! to indicate enable | 
					
						
							| 
									
										
										
										
											2019-11-12 18:34:32 -05:00
										 |  |  | #   low). If this parameter is not provided then the stepper motor | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   driver must always be enabled. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | step_distance: .0225 | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   Distance in mm that each step causes the axis to travel. This | 
					
						
							|  |  |  | #   parameter must be provided. | 
					
						
							| 
									
										
										
										
											2017-07-24 12:34:26 -04:00
										 |  |  | endstop_pin: ^ar3 | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   Endstop switch detection pin. This parameter must be provided for | 
					
						
							|  |  |  | #   the X, Y, and Z steppers on cartesian style printers. | 
					
						
							| 
									
										
										
										
											2017-07-24 14:12:17 -04:00
										 |  |  | #position_min: 0 | 
					
						
							|  |  |  | #   Minimum valid distance (in mm) the user may command the stepper to | 
					
						
							|  |  |  | #   move to.  The default is 0mm. | 
					
						
							|  |  |  | position_endstop: 0 | 
					
						
							|  |  |  | #   Location of the endstop (in mm). This parameter must be provided | 
					
						
							|  |  |  | #   for the X, Y, and Z steppers on cartesian style printers. | 
					
						
							|  |  |  | position_max: 200 | 
					
						
							|  |  |  | #   Maximum valid distance (in mm) the user may command the stepper to | 
					
						
							|  |  |  | #   move to. This parameter must be provided for the X, Y, and Z | 
					
						
							|  |  |  | #   steppers on cartesian style printers. | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #homing_speed: 5.0 | 
					
						
							|  |  |  | #   Maximum velocity (in mm/s) of the stepper when homing. The default | 
					
						
							|  |  |  | #   is 5mm/s. | 
					
						
							|  |  |  | #homing_retract_dist: 5.0 | 
					
						
							|  |  |  | #   Distance to backoff (in mm) before homing a second time during | 
					
						
							| 
									
										
										
										
											2018-10-08 21:59:25 -04:00
										 |  |  | #   homing. Set this to zero to disable the second home. The default | 
					
						
							|  |  |  | #   is 5mm. | 
					
						
							|  |  |  | #second_homing_speed: | 
					
						
							|  |  |  | #   Velocity (in mm/s) of the stepper when performing the second home. | 
					
						
							|  |  |  | #   The default is homing_speed/2. | 
					
						
							| 
									
										
										
										
											2017-07-24 14:12:17 -04:00
										 |  |  | #homing_positive_dir: | 
					
						
							|  |  |  | #   If true, homing will cause the stepper to move in a positive | 
					
						
							|  |  |  | #   direction (away from zero); if false, home towards zero. The | 
					
						
							|  |  |  | #   default is true if position_endstop is near position_max and false | 
					
						
							|  |  |  | #   if near position_min. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | # The stepper_y section is used to describe the stepper controlling | 
					
						
							|  |  |  | # the Y axis in a cartesian robot. It has the same settings as the | 
					
						
							| 
									
										
										
										
											2017-05-21 11:47:09 -04:00
										 |  |  | # stepper_x section. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | [stepper_y] | 
					
						
							| 
									
										
										
										
											2017-07-24 12:34:26 -04:00
										 |  |  | step_pin: ar60 | 
					
						
							|  |  |  | dir_pin: !ar61 | 
					
						
							|  |  |  | enable_pin: !ar56 | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | step_distance: .0225 | 
					
						
							| 
									
										
										
										
											2017-07-24 12:34:26 -04:00
										 |  |  | endstop_pin: ^ar14 | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | position_endstop: 0 | 
					
						
							|  |  |  | position_max: 200 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # The stepper_z section is used to describe the stepper controlling | 
					
						
							|  |  |  | # the Z axis in a cartesian robot. It has the same settings as the | 
					
						
							| 
									
										
										
										
											2017-05-21 11:47:09 -04:00
										 |  |  | # stepper_x section. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | [stepper_z] | 
					
						
							| 
									
										
										
										
											2017-07-24 12:34:26 -04:00
										 |  |  | step_pin: ar46 | 
					
						
							|  |  |  | dir_pin: ar48 | 
					
						
							|  |  |  | enable_pin: !ar62 | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | step_distance: .005 | 
					
						
							| 
									
										
										
										
											2017-07-24 12:34:26 -04:00
										 |  |  | endstop_pin: ^ar18 | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | position_endstop: 0.5 | 
					
						
							|  |  |  | position_max: 200 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-07-10 12:23:35 -04:00
										 |  |  | # The extruder section is used to describe both the stepper | 
					
						
							|  |  |  | # controlling the printer extruder and the heater parameters for the | 
					
						
							|  |  |  | # nozzle. The stepper configuration has the same settings as the | 
					
						
							|  |  |  | # stepper_x section and the heater configuration has the same settings | 
					
						
							| 
									
										
										
										
											2017-05-21 11:47:09 -04:00
										 |  |  | # as the heater_bed section (described below). | 
					
						
							| 
									
										
										
										
											2016-07-10 12:23:35 -04:00
										 |  |  | [extruder] | 
					
						
							| 
									
										
										
										
											2017-07-24 12:34:26 -04:00
										 |  |  | step_pin: ar26 | 
					
						
							|  |  |  | dir_pin: ar28 | 
					
						
							|  |  |  | enable_pin: !ar24 | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | step_distance: .004242 | 
					
						
							| 
									
										
										
										
											2017-01-02 18:21:39 -05:00
										 |  |  | nozzle_diameter: 0.500 | 
					
						
							|  |  |  | #   Diameter of the nozzle orifice (in mm). This parameter must be | 
					
						
							|  |  |  | #   provided. | 
					
						
							|  |  |  | filament_diameter: 3.500 | 
					
						
							| 
									
										
										
										
											2018-10-25 16:44:39 -04:00
										 |  |  | #   The nominal diameter of the raw filament (in mm) as it enters the | 
					
						
							| 
									
										
										
										
											2017-01-02 18:21:39 -05:00
										 |  |  | #   extruder. This parameter must be provided. | 
					
						
							| 
									
										
										
										
											2017-01-02 19:22:32 -05:00
										 |  |  | #max_extrude_cross_section: | 
					
						
							| 
									
										
										
										
											2018-10-25 16:44:39 -04:00
										 |  |  | #   Maximum area (in mm^2) of an extrusion cross section (eg, | 
					
						
							|  |  |  | #   extrusion width multiplied by layer height). This setting prevents | 
					
						
							|  |  |  | #   excessive amounts of extrusion during relatively small XY moves. | 
					
						
							|  |  |  | #   If a move requests an extrusion rate that would exceed this value | 
					
						
							|  |  |  | #   it will cause an error to be returned. The default is: 4.0 * | 
					
						
							|  |  |  | #   nozzle_diameter^2 | 
					
						
							| 
									
										
										
										
											2017-01-02 19:22:32 -05:00
										 |  |  | #max_extrude_only_distance: 50.0 | 
					
						
							| 
									
										
										
										
											2018-10-25 16:44:39 -04:00
										 |  |  | #   Maximum length (in mm of raw filament) that a retraction or | 
					
						
							|  |  |  | #   extrude-only move may have. If a retraction or extrude-only move | 
					
						
							|  |  |  | #   requests a distance greater than this value it will cause an error | 
					
						
							|  |  |  | #   to be returned. The default is 50mm. | 
					
						
							| 
									
										
										
										
											2017-01-02 18:58:45 -05:00
										 |  |  | #max_extrude_only_velocity: | 
					
						
							|  |  |  | #max_extrude_only_accel: | 
					
						
							| 
									
										
										
										
											2018-10-25 16:44:39 -04:00
										 |  |  | #   Maximum velocity (in mm/s) and acceleration (in mm/s^2) of the | 
					
						
							|  |  |  | #   extruder motor for retractions and extrude-only moves. These | 
					
						
							| 
									
										
										
										
											2019-11-07 09:45:36 -05:00
										 |  |  | #   settings do not have any impact on normal printing moves. If not | 
					
						
							| 
									
										
										
										
											2018-10-25 16:44:39 -04:00
										 |  |  | #   specified then they are calculated to match the limit an XY | 
					
						
							| 
									
										
										
										
											2018-10-25 18:59:01 -04:00
										 |  |  | #   printing move with a cross section of 4.0*nozzle_diameter^2 would | 
					
						
							| 
									
										
										
										
											2018-10-25 16:44:39 -04:00
										 |  |  | #   have. | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #pressure_advance: 0.0 | 
					
						
							| 
									
										
										
										
											2016-07-16 19:58:41 -04:00
										 |  |  | #   The amount of raw filament to push into the extruder during | 
					
						
							|  |  |  | #   extruder acceleration. An equal amount of filament is retracted | 
					
						
							|  |  |  | #   during deceleration. It is measured in millimeters per | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   millimeter/second. The default is 0, which disables pressure | 
					
						
							|  |  |  | #   advance. | 
					
						
							| 
									
										
										
										
											2019-11-05 16:21:06 -05:00
										 |  |  | #pressure_advance_smooth_time: 0.040 | 
					
						
							|  |  |  | #   A time range (in seconds) to use when calculating the average | 
					
						
							|  |  |  | #   extruder velocity for pressure advance. A larger value results in | 
					
						
							|  |  |  | #   smoother extruder movements. This parameter may not exceed 200ms. | 
					
						
							|  |  |  | #   This setting only applies if pressure_advance is non-zero. The | 
					
						
							|  |  |  | #   default is 0.040 (40 milliseconds). | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | # | 
					
						
							| 
									
										
										
										
											2017-05-21 11:47:09 -04:00
										 |  |  | # The remaining variables describe the extruder heater. | 
					
						
							| 
									
										
										
										
											2017-07-24 12:34:26 -04:00
										 |  |  | heater_pin: ar10 | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   PWM output pin controlling the heater. This parameter must be | 
					
						
							|  |  |  | #   provided. | 
					
						
							| 
									
										
										
										
											2016-08-25 11:24:18 -04:00
										 |  |  | #max_power: 1.0 | 
					
						
							|  |  |  | #   The maximum power (expressed as a value from 0.0 to 1.0) that the | 
					
						
							|  |  |  | #   heater_pin may be set to. The value 1.0 allows the pin to be set | 
					
						
							|  |  |  | #   fully enabled for extended periods, while a value of 0.5 would | 
					
						
							|  |  |  | #   allow the pin to be enabled for no more than half the time. This | 
					
						
							|  |  |  | #   setting may be used to limit the total power output (over extended | 
					
						
							|  |  |  | #   periods) to the heater. The default is 1.0. | 
					
						
							| 
									
										
										
										
											2017-03-06 15:33:21 -05:00
										 |  |  | sensor_type: EPCOS 100K B57560G104F | 
					
						
							| 
									
										
										
										
											2019-10-27 11:50:57 -04:00
										 |  |  | #   Type of sensor - common thermistors are "EPCOS 100K B57560G104F", | 
					
						
							|  |  |  | #   "ATC Semitec 104GT-2", "NTC 100K beta 3950", "Honeywell 100K | 
					
						
							|  |  |  | #   135-104LAG-J01", and "NTC 100K MGB18-104F39050L32". See the | 
					
						
							|  |  |  | #   example-extras.cfg file for other sensors. This parameter must be | 
					
						
							| 
									
										
										
										
											2018-04-09 15:11:12 -04:00
										 |  |  | #   provided. | 
					
						
							| 
									
										
										
										
											2017-07-24 12:34:26 -04:00
										 |  |  | sensor_pin: analog13 | 
					
						
							| 
									
										
										
										
											2017-03-06 16:11:58 -05:00
										 |  |  | #   Analog input pin connected to the sensor. This parameter must be | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   provided. | 
					
						
							|  |  |  | #pullup_resistor: 4700 | 
					
						
							| 
									
										
										
										
											2019-10-27 11:50:57 -04:00
										 |  |  | #   The resistance (in ohms) of the pullup attached to the thermistor. | 
					
						
							|  |  |  | #   This parameter is only valid when the sensor is a thermistor. The | 
					
						
							|  |  |  | #   default is 4700 ohms. | 
					
						
							| 
									
										
										
										
											2019-05-29 11:11:07 -04:00
										 |  |  | #inline_resistor: 0 | 
					
						
							|  |  |  | #   The resistance (in ohms) of an extra (not heat varying) resistor | 
					
						
							|  |  |  | #   that is placed inline with the thermistor. It is rare to set this. | 
					
						
							|  |  |  | #   This parameter is only valid when the sensor is a thermistor. The | 
					
						
							|  |  |  | #   default is 0 ohms. | 
					
						
							| 
									
										
										
										
											2018-07-06 13:27:05 -04:00
										 |  |  | #smooth_time: 2.0 | 
					
						
							|  |  |  | #   A time value (in seconds) over which temperature measurements will | 
					
						
							|  |  |  | #   be smoothed to reduce the impact of measurement noise. The default | 
					
						
							|  |  |  | #   is 2 seconds. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | control: pid | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   Control algorithm (either pid or watermark). This parameter must | 
					
						
							|  |  |  | #   be provided. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | pid_Kp: 22.2 | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   Kp is the "proportional" constant for the pid. This parameter must | 
					
						
							|  |  |  | #   be provided for PID heaters. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | pid_Ki: 1.08 | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   Ki is the "integral" constant for the pid. This parameter must be | 
					
						
							|  |  |  | #   provided for PID heaters. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | pid_Kd: 114 | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   Kd is the "derivative" constant for the pid. This parameter must | 
					
						
							|  |  |  | #   be provided for PID heaters. | 
					
						
							| 
									
										
										
										
											2016-08-25 11:24:18 -04:00
										 |  |  | #pid_integral_max: | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   The maximum "windup" the integral term may accumulate. The default | 
					
						
							| 
									
										
										
										
											2016-08-25 11:24:18 -04:00
										 |  |  | #   is to use the same value as max_power. | 
					
						
							| 
									
										
										
										
											2017-12-30 15:43:03 -08:00
										 |  |  | #pwm_cycle_time: 0.100 | 
					
						
							|  |  |  | #   Time in seconds for each software PWM cycle of the heater. It is | 
					
						
							|  |  |  | #   not recommended to set this unless there is an electrical | 
					
						
							|  |  |  | #   requirement to switch the heater faster than 10 times a second. | 
					
						
							|  |  |  | #   The default is 0.100 seconds. | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #min_extrude_temp: 170 | 
					
						
							| 
									
										
										
										
											2016-09-30 19:04:24 -04:00
										 |  |  | #   The minimum temperature (in Celsius) at which extruder move | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   commands may be issued. The default is 170 Celsius. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | min_temp: 0 | 
					
						
							|  |  |  | max_temp: 210 | 
					
						
							| 
									
										
										
										
											2018-03-12 14:37:02 -04:00
										 |  |  | #   The maximum range of valid temperatures (in Celsius) that the | 
					
						
							|  |  |  | #   heater must remain within. This controls a safety feature | 
					
						
							|  |  |  | #   implemented in the micro-controller code - should the measured | 
					
						
							|  |  |  | #   temperature ever fall outside this range then the micro-controller | 
					
						
							|  |  |  | #   will go into a shutdown state. This check can help detect some | 
					
						
							|  |  |  | #   heater and sensor hardware failures. Set this range just wide | 
					
						
							|  |  |  | #   enough so that reasonable temperatures do not result in an | 
					
						
							|  |  |  | #   error. These parameters must be provided. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | 
 | 
					
						
							|  |  |  | # The heater_bed section describes a heated bed (if present - omit | 
					
						
							| 
									
										
										
										
											2016-07-10 12:23:35 -04:00
										 |  |  | # section if not present). | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | [heater_bed] | 
					
						
							| 
									
										
										
										
											2017-07-24 12:34:26 -04:00
										 |  |  | heater_pin: ar8 | 
					
						
							| 
									
										
										
										
											2017-03-06 15:33:21 -05:00
										 |  |  | sensor_type: EPCOS 100K B57560G104F | 
					
						
							| 
									
										
										
										
											2017-07-24 12:34:26 -04:00
										 |  |  | sensor_pin: analog14 | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | control: watermark | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #max_delta: 2.0 | 
					
						
							|  |  |  | #   On 'watermark' controlled heaters this is the number of degrees in | 
					
						
							|  |  |  | #   Celsius above the target temperature before disabling the heater | 
					
						
							|  |  |  | #   as well as the number of degrees below the target before | 
					
						
							|  |  |  | #   re-enabling the heater. The default is 2 degrees Celsius. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | min_temp: 0 | 
					
						
							|  |  |  | max_temp: 110 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-21 11:48:11 -04:00
										 |  |  | # Print cooling fan (omit section if fan not present). | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | [fan] | 
					
						
							| 
									
										
										
										
											2017-07-24 12:34:26 -04:00
										 |  |  | pin: ar9 | 
					
						
							| 
									
										
										
										
											2017-03-07 19:13:37 -05:00
										 |  |  | #   PWM output pin controlling the fan. This parameter must be | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   provided. | 
					
						
							| 
									
										
										
										
											2017-07-04 11:38:44 -04:00
										 |  |  | #max_power: 1.0 | 
					
						
							|  |  |  | #   The maximum power (expressed as a value from 0.0 to 1.0) that the | 
					
						
							|  |  |  | #   pin may be set to. The value 1.0 allows the pin to be set fully | 
					
						
							|  |  |  | #   enabled for extended periods, while a value of 0.5 would allow the | 
					
						
							|  |  |  | #   pin to be enabled for no more than half the time. This setting may | 
					
						
							|  |  |  | #   be used to limit the total power output (over extended periods) to | 
					
						
							| 
									
										
										
										
											2018-04-20 13:15:03 -04:00
										 |  |  | #   the fan. If this value is less than 1.0 then fan speed requests | 
					
						
							|  |  |  | #   will be scaled between zero and max_power (for example, if | 
					
						
							|  |  |  | #   max_power is .9 and a fan speed of 80% is requested then the fan | 
					
						
							|  |  |  | #   power will be set to 72%). The default is 1.0. | 
					
						
							| 
									
										
										
										
											2018-05-18 19:12:03 -04:00
										 |  |  | #shutdown_speed: 0 | 
					
						
							|  |  |  | #   The desired fan speed (expressed as a value from 0.0 to 1.0) if | 
					
						
							|  |  |  | #   the micro-controller software enters an error state. The default | 
					
						
							|  |  |  | #   is 0. | 
					
						
							| 
									
										
										
										
											2018-01-29 12:54:06 -05:00
										 |  |  | #cycle_time: 0.010 | 
					
						
							|  |  |  | #   The amount of time (in seconds) for each PWM power cycle to the | 
					
						
							|  |  |  | #   fan. It is recommended this be 10 milliseconds or greater when | 
					
						
							|  |  |  | #   using software based PWM. The default is 0.010 seconds. | 
					
						
							|  |  |  | #hardware_pwm: False | 
					
						
							| 
									
										
										
										
											2019-05-23 19:29:24 -04:00
										 |  |  | #   Enable this to use hardware PWM instead of software PWM. Most fans | 
					
						
							|  |  |  | #   do not work well with hardware PWM, so it is not recommended to | 
					
						
							|  |  |  | #   enable this unless there is an electrical requirement to switch at | 
					
						
							|  |  |  | #   very high speeds. When using hardware PWM the actual cycle time is | 
					
						
							|  |  |  | #   constrained by the implementation and may be significantly | 
					
						
							|  |  |  | #   different than the requested cycle_time. The default is False. | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #kick_start_time: 0.100 | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | #   Time (in seconds) to run the fan at full speed when first enabling | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   it (helps get the fan spinning). The default is 0.100 seconds. | 
					
						
							| 
									
										
										
										
											2019-10-03 14:59:03 -07:00
										 |  |  | #off_below: 0.0 | 
					
						
							|  |  |  | #   The minimum input speed which will power the fan (expressed as a | 
					
						
							|  |  |  | #   value from 0.0 to 1.0). When a speed lower than off_below is | 
					
						
							|  |  |  | #   requested the fan will instead be turned off. This setting may be | 
					
						
							|  |  |  | #   used to prevent fan stalls and to ensure kick starts are | 
					
						
							|  |  |  | #   effective. The default is 0.0. | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | #   This setting should be recalibrated whenever max_power is adjusted. | 
					
						
							|  |  |  | #   To calibrate this setting, start with off_below set to 0.0 and the | 
					
						
							|  |  |  | #   fan spinning. Gradually lower the fan speed to determine the lowest | 
					
						
							|  |  |  | #   input speed which reliably drives the fan without stalls. Set | 
					
						
							|  |  |  | #   off_below to the duty cycle corresponding to this value (for | 
					
						
							|  |  |  | #   example, 12% -> 0.12) or slightly higher. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-21 11:47:09 -04:00
										 |  |  | # Micro-controller information. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | [mcu] | 
					
						
							|  |  |  | serial: /dev/ttyACM0 | 
					
						
							| 
									
										
										
										
											2018-04-20 11:43:21 -04:00
										 |  |  | #   The serial port to connect to the MCU. If unsure (or if it | 
					
						
							|  |  |  | #   changes) see the "Where's my serial port?" section of the FAQ. The | 
					
						
							|  |  |  | #   default is /dev/ttyS0 | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #baud: 250000 | 
					
						
							|  |  |  | #   The baud rate to use. The default is 250000. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | pin_map: arduino | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   This option may be used to enable Arduino pin name aliases. The | 
					
						
							|  |  |  | #   default is to not enable the aliases. | 
					
						
							| 
									
										
										
										
											2018-01-29 10:16:42 -05:00
										 |  |  | #restart_method: | 
					
						
							| 
									
										
										
										
											2017-04-02 23:18:16 -04:00
										 |  |  | #   This controls the mechanism the host will use to reset the | 
					
						
							| 
									
										
										
										
											2017-04-13 12:09:37 -04:00
										 |  |  | #   micro-controller. The choices are 'arduino', 'rpi_usb', and | 
					
						
							| 
									
										
										
										
											2017-10-12 21:21:49 -04:00
										 |  |  | #   'command'. The 'arduino' method (toggle DTR) is common on Arduino | 
					
						
							|  |  |  | #   boards and clones. The 'rpi_usb' method is useful on Raspberry Pi | 
					
						
							|  |  |  | #   boards with micro-controllers powered over USB - it briefly | 
					
						
							|  |  |  | #   disables power to all USB ports to accomplish a micro-controller | 
					
						
							|  |  |  | #   reset. The 'command' method involves sending a Klipper command to | 
					
						
							|  |  |  | #   the micro-controller so that it can reset itself. The default is | 
					
						
							| 
									
										
										
										
											2018-01-29 10:16:42 -05:00
										 |  |  | #   'arduino' if the micro-controller communicates over a serial port, | 
					
						
							|  |  |  | #   'command' otherwise. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-05-21 11:47:09 -04:00
										 |  |  | # The printer section controls high level printer settings. | 
					
						
							| 
									
										
										
										
											2016-05-25 11:37:40 -04:00
										 |  |  | [printer] | 
					
						
							|  |  |  | kinematics: cartesian | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   This option must be "cartesian" for cartesian printers. | 
					
						
							| 
									
										
										
										
											2016-12-01 15:29:26 -05:00
										 |  |  | max_velocity: 500 | 
					
						
							|  |  |  | #   Maximum velocity (in mm/s) of the toolhead (relative to the | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   print). This parameter must be specified. | 
					
						
							| 
									
										
										
										
											2016-12-01 15:29:26 -05:00
										 |  |  | max_accel: 3000 | 
					
						
							|  |  |  | #   Maximum acceleration (in mm/s^2) of the toolhead (relative to the | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   print). This parameter must be specified. | 
					
						
							| 
									
										
										
										
											2017-01-31 15:29:16 -05:00
										 |  |  | #max_accel_to_decel: | 
					
						
							|  |  |  | #   A pseudo acceleration (in mm/s^2) controlling how fast the | 
					
						
							|  |  |  | #   toolhead may go from acceleration to deceleration. It is used to | 
					
						
							|  |  |  | #   reduce the top speed of short zig-zag moves (and thus reduce | 
					
						
							|  |  |  | #   printer vibration from these moves). The default is half of | 
					
						
							|  |  |  | #   max_accel. | 
					
						
							| 
									
										
										
										
											2017-03-30 14:05:05 -04:00
										 |  |  | max_z_velocity: 25 | 
					
						
							| 
									
										
										
										
											2016-12-01 15:29:26 -05:00
										 |  |  | #   For cartesian printers this sets the maximum velocity (in mm/s) of | 
					
						
							|  |  |  | #   movement along the z axis. This setting can be used to restrict | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   the maximum speed of the z stepper motor on cartesian | 
					
						
							|  |  |  | #   printers. The default is to use max_velocity for max_z_velocity. | 
					
						
							| 
									
										
										
										
											2016-12-01 15:29:26 -05:00
										 |  |  | max_z_accel: 30 | 
					
						
							|  |  |  | #   For cartesian printers this sets the maximum acceleration (in | 
					
						
							|  |  |  | #   mm/s^2) of movement along the z axis. It limits the acceleration | 
					
						
							| 
									
										
										
										
											2017-01-02 13:17:50 -05:00
										 |  |  | #   of the z stepper motor on cartesian printers. The default is to | 
					
						
							|  |  |  | #   use max_accel for max_z_accel. | 
					
						
							| 
									
										
										
										
											2018-07-08 14:08:21 -04:00
										 |  |  | #square_corner_velocity: 5.0 | 
					
						
							|  |  |  | #   The maximum velocity (in mm/s) that the toolhead may travel a 90 | 
					
						
							|  |  |  | #   degree corner at. A non-zero value can reduce changes in extruder | 
					
						
							|  |  |  | #   flow rates by enabling instantaneous velocity changes of the | 
					
						
							|  |  |  | #   toolhead during cornering. This value configures the internal | 
					
						
							|  |  |  | #   centripetal velocity cornering algorithm; corners with angles | 
					
						
							|  |  |  | #   larger than 90 degrees will have a higher cornering velocity while | 
					
						
							|  |  |  | #   corners with angles less than 90 degrees will have a lower | 
					
						
							|  |  |  | #   cornering velocity. If this is set to zero then the toolhead will | 
					
						
							|  |  |  | #   decelerate to zero at each corner. The default is 5mm/s. | 
					
						
							| 
									
										
										
										
											2018-02-05 14:34:05 -05:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # Looking for more options? Check the example-extras.cfg file. |