aboutsummaryrefslogtreecommitdiffstats
path: root/config/example.cfg
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* toolhead: Specify maximum acceleration and velocity in toolhead classKevin O'Connor2016-12-011-8/+19
| | | | | | | | | | Change the config file so the maximum accel and velocity are specified in the "printer" section instead of the individual "stepper" sections. The underlying code limits the velocity and accel of the toolhead relative to the print object, so it makes sense to configure the system that was as well. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta: Initial support for linear delta kinematicsKevin O'Connor2016-11-141-2/+3
| | | | | | This adds support for delta based robots. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Default to a high direction pin meaning positive directionKevin O'Connor2016-11-081-3/+3
| | | | | | | | | Invert the default meaning of the stepper direction pin. Instead of treating a low value as position motion, treat a high value as positive motion. This matches what other firmwares do, and it matches what common stepper motor drivers document. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Support a minimum extrude temperatureKevin O'Connor2016-09-301-0/+3
| | | | | | | | Allow the config file to specify the minimum temperature for the extruder and check for that temperature prior to moving the extruder motor. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* cartesian: Enforce endstop min and max boundariesKevin O'Connor2016-09-301-2/+2
| | | | | | | Verify that each move command is within range of the configured minimum and maximum for each axis. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Clarification of some installation and config stepsKevin O'Connor2016-09-151-6/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Support stepper phase adjustments when homingKevin O'Connor2016-07-281-1/+21
| | | | | | | Add support for enhancing the precision of endstop switches by also inspecting the phase of the stepper motor when the endstop triggers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Add support for "pressure advance" on extrusionKevin O'Connor2016-07-251-0/+5
| | | | | | | | | Add a config option to define an amount of additional filament to feed into the extruder during acceleration and deceleration of the extruder. This can help ensure plastic is deposited in the correct places during a print. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Create a new class and python file to track the printer extruderKevin O'Connor2016-07-101-9/+8
| | | | | | | | | Create a new python file (extruder.py) to control the extruder heater and stepper motors. This separates the extruder control logic from the cartesian robot code - making it easier to customize both the kinematic control of the robot as well as the extruder. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Initial commit of source code.Kevin O'Connor2016-05-251-0/+173
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>