aboutsummaryrefslogtreecommitdiffstats
path: root/config/example.cfg
Commit message (Collapse)AuthorAgeFilesLines
* extruder: Don't use max_extrude_cross_section in max_extrude_only defaultsKevin O'Connor2018-10-251-1/+1
| | | | | | | | | | Some users increase max_extrude_cross_section to avoid issues with some slicers. However, increasing that value also increases the defaults for the max_extrude_only parameters which is not obvious. Base the max_extrude_only defaults only on the configured nozzle diameter. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Update wording of extruder parameters in example.cfgKevin O'Connor2018-10-251-18/+17
| | | | | | Try to improve the description of the extruder config limits. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* cartesian: Use homing_speed for homing retract speedKevin O'Connor2018-10-091-6/+5
| | | | | | | | Commit b0d859f2 introduced a second_homing_speed parameter, and it also changed the retract speed. Revert the retract speed change (use homing_speed when the head retracts). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Adding support for a second_homing_speed parameter (#677)Chris Whiteford2018-10-041-0/+5
| | | Signed-off-by: Chris Whiteford <chris@chrisandtennille.com>
* thermocouple: Add initial support for common SPI temperature sensing chipsKevin O'Connor2018-07-241-2/+3
| | | | | Signed-off-by: Petri Honkala <cruwaller@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* idle_timeout: Move timeout handling from toolhead.py to new extras moduleKevin O'Connor2018-07-161-3/+0
| | | | | | | | Move the "motor_off_timeout" tracking to a new module in the extras/ directory. This makes it easier to customize the idle timeout behavior. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Replace junction_deviation with square_corner_velocityKevin O'Connor2018-07-161-5/+10
| | | | | | | | The junction_deviation configuration parameter has a number of quirks that make it difficult to configure. Replace it with a "square_corner_velocity" configuration parameter. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater: Introduce smooth_time config option; remove pid_deriv_timeKevin O'Connor2018-07-061-4/+4
| | | | | | | | | | | Add generic temperature smoothing to the Heater class. This is useful to avoid min_extrude_temp and verify_heater errors due to measurement noise. Rename the pid_deriv_time config option to smooth_time so that the smoothing amount need only be specified once. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* fan: Allow the fan shutdown_speed to be configuredKevin O'Connor2018-05-181-0/+4
| | | | | | | Add a shutdown_speed config option to fans so that users can specify the speed on a shutdown event. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* thermistor: Add Honeywell 100K and MGB18 thermistor definitionsKevin O'Connor2018-04-301-1/+2
| | | | | | Add two additional thermistors (as suggested by Tim Miller). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* fan: Scale fan speed requests between 0 and max_powerKevin O'Connor2018-04-201-1/+4
| | | | | | | | If the fan's max power is limited by the config, then scale speed requests between 0 and max_power. This makes more sense for typical g-code fan speeds. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add more hints to use /dev/by-id/ for the serial deviceKevin O'Connor2018-04-201-1/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* adc_temperatures: Add "PT100 INA826" sensor typeKevin O'Connor2018-04-091-4/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* thermistor: Add support for defining custom thermistorsKevin O'Connor2018-04-091-2/+3
| | | | | | Add the ability to define a new thermistor type in the config file. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Reword the min_temp/max_temp description in example.cfgKevin O'Connor2018-03-121-4/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Move description of phase adjusted endstops to config-extra.cfgKevin O'Connor2018-02-271-26/+0
| | | | | | | | Move the description of stepper phase adjusted endstops to a new section in config-extra.cfg. This keeps the main example config file a little more concise. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add a pointer to example-extras.cfg at the end of example.cfgKevin O'Connor2018-02-051-0/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* fan: Clarify hardware_pwm and allow cycle_time to be set on software pwmKevin O'Connor2018-01-291-6/+7
| | | | | | | | Specify hardware pwm cycle times using the same method as software pwm (in seconds, not clock ticks). Allow the fan code to be configured with an explicit cycle time even when using software pwm. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Default the restart method to 'command' on non-serial portsKevin O'Connor2018-01-291-2/+3
| | | | | | | | If the mcu supports command restarts and it does not appear to use a real serial port, then default the restart method to 'command'. This is a better default on boards with native USB support. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater: Added config for heater PWM cycle time.Andy Silverman2018-01-031-0/+5
| | | | | | | | | | | | | | | | | Added the pwm_cycle_time option for heater config sections. Defaults to previous value of 0.100 seconds, but may be reduced to shorter times at the expense of MCU workload and possible MOSFET heating, depending on controller design. Some printers that need bed PID to be enabled, notably the Felixprinters series, are known to benefit from shorter cycle times, as the default 10hz rate results in excessive voltage supply droop. While this option can be used on extruder heaters as well, there is not expected to be any particular benefit from doing so unless the extruder heater presents a particularly large load. Signed-off-by: Andy Silverman <andrewsi@outlook.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Only align the stepper motor to a full step when requestedKevin O'Connor2017-12-071-0/+6
| | | | | | | | | Add a new config option 'homing_endstop_align_zero' to enable the alignment of the endstop to a stepper full step. It's possible one may wish to specify a homing_endstop_phase while not aligning the endstop. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* serialhdl: Don't open port at 1200 baudKevin O'Connor2017-10-121-7/+7
| | | | | | | The 1200 baud trick on the Arduino Due does both a reset and an erase. The erase is not desired. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Provide more details on extruder errorsKevin O'Connor2017-09-051-3/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Remove documentation for "custom" command blocksKevin O'Connor2017-08-261-6/+0
| | | | | | | | It should no longer be necessary to configure "custom" commands during mcu setup. The ad5206 and static_digital_output config sections should provide similar functionality. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chipmisc: Add support for statically configured output pinsKevin O'Connor2017-08-261-36/+2
| | | | | | | Allow digital and PWM output pins to be setup via new config sections. This makes it easier to setup pin configurations. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater: Add support for a generic "NTC 100K beta 3950" thermistorKevin O'Connor2017-08-171-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Use a sane default for homing_positive_dirKevin O'Connor2017-07-241-13/+15
| | | | | | | Use the endstop position to determine a sane default for homing_positive_dir. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Change default pins defined in example.cfg to use RAMPS pinsKevin O'Connor2017-07-241-26/+24
| | | | | | | Change the example.cfg file to use the pins of a RAMPS config as that is a very common setup. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* fan: Add support for heater_fan objectsKevin O'Connor2017-07-171-0/+14
| | | | | | | Add support for fans designed to cool the components of an extruder or heater. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* fan: Support setting a max_power attribute for the print cooling fanKevin O'Connor2017-07-051-0/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Support running arbitrary gcode on extruder changeKevin O'Connor2017-06-091-0/+12
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Add initial support for multi-extrudersKevin O'Connor2017-06-091-0/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Make it clear the "fan" section represents the print cooling fanKevin O'Connor2017-05-211-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add periods to end of sentences in example configsKevin O'Connor2017-05-211-8/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* hub-ctrl: Add support for micro-controller reset via RPi usb power togglingKevin O'Connor2017-04-131-3/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Support reset commandKevin O'Connor2017-04-131-0/+7
| | | | | | | Extend the FIRMWARE_RESTART command so that it can use the firmware "reset" command instead of the "arduino" mechanism. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* corexy: Initial corexy kinematic implementationKevin O'Connor2017-04-031-1/+3
| | | | | | Add initial support for corexy kinematics. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Increase the motor_off_time default to 10 minutesKevin O'Connor2017-03-301-2/+2
| | | | | | | Increase the default motor_off_time from 1 minute to 10 minutes. The small value is a common source of confusion. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Decrease example max_z_velocity to 25mm/sKevin O'Connor2017-03-301-1/+1
| | | | | | | Change the example files for cartesian printers to have a 25mm/s maximum Z velocity. It's common to use lead screws for the Z axis on cartesians and it is unlikely one would want to drive them at 250mm/s. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater: Add support for AD595 type sensorsKevin O'Connor2017-03-131-3/+7
| | | | | | | Add support for sensor chips that produce a voltage that linearly scales with temperature. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater: Rename thermistor_type config name to sensor_typeKevin O'Connor2017-03-131-7/+6
| | | | | | | | Rename the thermistor_type and thermistor_pin config variables to sensor_type and sensor_pin. This is in preparation for support of sensors beyond thermistors. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* fan: Default to using software PWMKevin O'Connor2017-03-081-3/+4
| | | | | | | Not all hardware has PWM support and there is no compelling reason to use hardware PWM for fans. Change the default to use software PWM. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix typo in description of fan pin.Kevin O'Connor2017-03-071-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater: Support max_power setting for heatersKevin O'Connor2017-03-031-2/+9
| | | | | | | | Change the mcu PWM value from an integer (0-255) to a float (0. - 1.). Add support for limiting the maximum power (as measured over a sufficiently long duration) to a particular heater. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Allow configuration of pressure advance lookahead timeKevin O'Connor2017-02-221-0/+7
| | | | | | | | | | | | Instead of defaulting the pressure advance lookahead time to be the same as the pressure_advance variable, allow it to be configured. Default the new config setting (pressure_advance_lookahead_time) to 10ms. Also, make the setting more accurate if a future move is accelerating in the middle of the lookahead window. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Introduce "smoothed" acceleration during lookaheadKevin O'Connor2017-02-061-0/+6
| | | | | | | | | Update the lookahead code to track both normal toolhead acceleration as well as a pseudo acceleration to the point of deceleration. This reduces the top speed of small zig-zag moves and it reduces printer vibration during these moves. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Calculate sane defaults for extrude only velocity and accelKevin O'Connor2017-01-031-4/+8
| | | | | | | | Instead of requiring the user enter velocity and accel parameters for extrude only moves, calculate sane defaults from the printer's maximum velocity and accel. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Do sanity checks on extrusion ratesKevin O'Connor2017-01-031-0/+10
| | | | | | | Add a run-time check to ensure the incoming g-code doesn't have a ridiculously large e move. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Add nozzle and filament diameter config settingsKevin O'Connor2017-01-031-0/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Update example config files to be more clear on default valuesKevin O'Connor2017-01-021-60/+89
| | | | | | | Be more clear on which parameters have defaults and which parameters must be specified in the config. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>