Commit Graph

762 Commits

Author SHA1 Message Date
Stefan Dej 6b6ab45bac
docs: Use BME280 (uppercase) in Config_Reference.md (#3896)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-22 15:42:14 -05:00
Kevin O'Connor 2aa2e91f2c Revert "bme280: Rename sensor_type from BME280 to bme280"
This reverts commit ac61f8b726.

Many temperature sensors are capitalized, so don't make this chaneg to
the bme280.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-20 15:39:03 -05:00
Kevin O'Connor ac61f8b726 bme280: Rename sensor_type from BME280 to bme280
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-20 09:23:39 -05:00
Kevin O'Connor c29585f7f3 temperature_host: Rename "path" config to "sensor_path"
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-20 09:23:13 -05:00
Evgenii 3d35c003db temperature_host: Rename rpi_temperature and add support for custom paths
Signed-off-by: Evgenii Shavrin <shavrin0591@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-19 18:44:28 -05:00
Christian S bc2f6faa17
probe: Add last_z_result to get the latest z result in an Macro (#3835)
Signed-off-by: Christian Schnellrieder <schnello.android@gmail.com>
2021-02-18 22:03:32 -05:00
Kevin O'Connor 83cc6039c5 docs: Fix typo in Sensorless_Homing.md
Reported by @stefanfoulis.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-18 20:14:18 -05:00
Kevin O'Connor 5db0b3d474 docs: Update PRU command dispatch benchmark
The PRU command dispatch benchmark was primarily limited by the speed
of the console.py tool on the slow beaglebone processor.  Add a note
on how to account for that and restate the PRU benchmark.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-12 14:08:33 -05:00
Jordan Woyak 4b32067565
docs: Fix typo in Sensorless_Homing.md (#3916)
Signed-off-by: Jordan Woyak <jordan.woyak@gmail.com>
2021-02-11 14:52:46 -05:00
Kevin O'Connor 03b62ca04f docs: Add SDCard_Updates.md to Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-10 13:00:57 -05:00
Kevin O'Connor 5769a9072b docs: Minor wording change to Pressure_Advance.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-08 11:46:40 -05:00
Kevin O'Connor ff264bf241 docs: Reformat Pressure_Advance.md to improve Jekyll rendering
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-08 11:41:15 -05:00
Kevin O'Connor bb564ff58d docs: Minor update to Pressure_Advance.md
Update e-steps link to new Rotation_Distance.md

Make it clear how to update the pressure_advance setting in the config
file.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-08 11:37:43 -05:00
Arksine a7b50b6002 docs: add documentation for SD Card firmware updates
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2021-02-05 19:37:56 -05:00
Kevin O'Connor 6bd78ecee4 docs: Update Contact.md to clarify use of mailing list
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-02-05 19:01:17 -05:00
Alan Lord 7d4df65920
ds18b20: new module for 1-wire temperature sensor (#3462)
Initial commit of code to support 1-wire (Dallas) sensors such
as the DS18B20. Requires Linux kernel drivers to create a file
in /sysfs which is read by this module, and temperature
typically returned to a temperature_fan.

Signed-off-by: Alan Lord <alanslists@gmail.com>
Signed-off-by: Josh Headapohl <joshhead@gmail.com>
2021-02-02 14:34:56 -05:00
Lane Roberts 19397a0a2b
temperature_fan: Add MAX_SPEED and MIN_SPEED to SET_TEMPERATURE_FAN_TARGET command (#3873)
Allows setting min_speed and max_speed at runtime, rather than updating the config and restarting.

Signed-off-by Lane Roberts <nolatari@vandarin.net>
2021-02-02 14:30:04 -05:00
Dmitry Butyugin b45b0162bf docs: Some clarifications for resonances measurements and tuning
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2021-02-02 14:13:24 -05:00
Dmitry Butyugin d136b1e41a resonance_tester: Increase test max_accel to 10K and max_freq to 133 Hz
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2021-02-02 14:13:24 -05:00
Dmitry Butyugin a8b282d67a resonance_tester: Disable input shaping for resonance testing
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2021-02-02 14:13:24 -05:00
Dmitry Butyugin 0fb2449be0 adxl345: Add accelerometer chip name to the raw data file name
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2021-02-02 14:13:24 -05:00
Thomas Kroll 60e4cddf36 hd44780: Add hd44780 protocol init config
LDO OLED needs a different init string.

Fixes: #3722
Signed-off-by: Thomas Kroll <t.kroll@outlook.com>
2021-01-31 19:35:40 -05:00
Kevin O'Connor 58cd8da5d1 docs: Updates to Contact.md and use of github issues
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-01-31 19:13:47 -05:00
Kevin O'Connor c9420ee3c0 docs: Add a link in Overview.md to Bed_Mesh.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-01-24 10:47:15 -05:00
Jarad Olson b32166c8a0
Docs: resonance testing fixup (#3804)
Chip names are now correct for bed slingers.
Added some notes about testing with >1 chip

Signed-off-by: Jarad Olson <brotherdust@gmail.com>
2021-01-24 10:22:18 -05:00
Kevin O'Connor 8cc1d84180 configfile: Add printer.configfile.settings command template parameter
Make available the parsed value (or default value) for config options
to command templates and to the api server.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-01-20 16:25:25 -05:00
Kevin O'Connor 8a6619d18e mcu: Add a get_status() callback with micro-controller info and stats
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-01-19 23:12:41 -05:00
Kevin O'Connor ef40e71fe1 docs: Minor reword to Rotation_Distance.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-01-10 11:09:45 -05:00
Kevin O'Connor 2ae732a13a docs: Note the BMG extruder is actually 50:17 and not 3:1
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-01-10 10:59:43 -05:00
Janar Sööt e68cf08d15 kinematics: report all axis limits (min/max)
Signed-off-by: Janar Sööt <janar.soot@gmail.com>
2020-12-28 10:19:57 -05:00
Justin Schuh a5ebe5825a
heaters: Make MINIMUM optional for TEMPERATURE_WAIT command (#3674)
Signed-off-by: Justin Schuh <code@justinschuh.com>
2020-12-24 11:34:26 -05:00
Justin Schuh 1a9218532b heaters: Add MAXIMUM option to TEMPERATURE_WAIT command
Signed-off-by: Justin Schuh <code@justinschuh.com>
2020-12-23 18:16:46 -05:00
Kevin O'Connor ac98d0ea7e docs: Note step_distance deprecated in Config_Changes.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-22 19:56:36 -05:00
Dmitry Butyugin ab93ee9293 docs: Limiting max_smoothing for input shaper autocalibration
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2020-12-22 18:37:41 -05:00
Kevin O'Connor a59461e20e docs: Minor formatting change to Rotation_Distance.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-21 18:37:04 -05:00
Kevin O'Connor ec1bd77cc2 docs: Fix klipper3d.org rendering of Rotation_Distance.md
The Jeykll rendering doesn't like block quoted text that wraps lines.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-21 18:04:47 -05:00
Kevin O'Connor 5b31080e77 docs: Add a Rotation_Distance.md document
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-18 10:30:32 -05:00
Kevin O'Connor 96eba9f2df endstop_phase: Obtain phases directly from stepper microsteps config
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-18 10:30:32 -05:00
Kevin O'Connor 7dcc778b6c stepper: Calculate step_distance from rotation_distance
Add support for automatically calculating the internal step_distance
from new config parameters - rotation_distance, microsteps,
full_steps_per_rotation, and gear_ratio.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-18 10:30:32 -05:00
Dmitry Butyugin 4a41d228eb
docs: Input Shaper and Resonances docs improvements (#3627)
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2020-12-17 17:44:46 -05:00
Stefan Dej 77add95675
heaters: add last pwm value to heater.get_status (#3621)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-13 20:08:16 -05:00
Kevin O'Connor 43a6d18f13 docs: Fix board_pins link in Config_Changes.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-13 12:36:14 -05:00
Kevin O'Connor 89183edbda manual_probe: Use configfile note_valid=False when inspecting Z position_endstop
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-13 10:41:40 -05:00
Kevin O'Connor 2d6b44152a bltouch: Recommend using a pullup on the sensor_pin
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-11 11:01:44 -05:00
Kevin O'Connor f3c5be0f00 gpiocmds: Merge digital output and soft pwm code
The digital output commands implement a subset of the software pwm
commands.  Change the host code to just use the software pwm commands
and simplify the micro-controller code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-10 12:06:26 -05:00
Kevin O'Connor a1baefc2c2 temperature_mcu: Add enhanced support for monitoring mcu temperature
Add a "temperature_mcu" tool that can monitor builtin micro-controller
temperature sensors.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-10 02:39:06 -05:00
Kevin O'Connor 6bbfc869a1 docs: Improve spi and i2c description in Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-08 08:53:18 -05:00
Kevin O'Connor 6fe2ee0380 docs: Minor wording change to thermistors in Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-07 12:12:21 -05:00
Kevin O'Connor e83801daab heaters: Add a TEMPERATURE_WAIT command
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-07 09:57:13 -05:00
Kevin O'Connor 654cbeb286 docs: Group temperature sensors together in Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-05 18:16:20 -05:00
Kevin O'Connor fc8ac8fe25 docs: Move micro-controller information together in Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-05 14:39:37 -05:00
Kevin O'Connor 19a96346a8 gpiocmds: Use move queue for software pwm
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-04 16:10:13 -05:00
Pascal Pieper 9cdf9bb6ec gpiocmds: Use move queue for digital output pins
Signed-off-by: Pascal Pieper <accounts@pascalpieper.de>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-04 16:10:13 -05:00
Pascal Pieper e8ec1801ff pwmcmds: Use move queue for hard PWM
Signed-off-by: Pascal Pieper <accounts@pascalpieper.de>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-04 16:10:13 -05:00
Kevin O'Connor 086f0fafde gpiocmds: Send soft pwm cycle_time separately from schedule_soft_pwm_out
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-04 16:10:13 -05:00
Kevin O'Connor 21a3a8559d docs: Add indentation to generated table-of-contents on klipper3d.org site
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-03 19:24:40 -05:00
Kevin O'Connor 1f9516ad7f docs: Simplify javascript link modification for external references
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-03 18:44:31 -05:00
Kevin O'Connor 14952ccef5 docs: Add links to default display.cfg and menu.cfg in Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-03 18:11:29 -05:00
Kevin O'Connor 6e48ee537f docs: Fix "github pages" rendering of pictures in Resonance_Compensation.md
The "github pages" service wont properly render a table with
"|:--:|:--:|" and no table contents.  In contrast, normal github
markdown contents wont show the table without it.  For now, remove the
line as the normal github markdown contens look okay even if the
content isn't rendered as a table.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-03 15:27:38 -05:00
Kevin O'Connor 1f2d9c051c docs: Use relative links for files outside the docs/ directory
Use javascript to fixup the "github pages" rendering of links to files
outside the docs/ directory.  Then use normal relative links in the
documentation.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-03 15:06:58 -05:00
Kevin O'Connor a2d1e03b91 docs: Yet again try to fix github-pages rendering of Command_Templates.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-03 12:41:47 -05:00
Kevin O'Connor 23f547169c rpi_temperature: Don't read min_temp/max_temp directly from config
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-03 12:37:56 -05:00
Al b911db4c0d
rpi_temperature: New module to monitor RPi temperature (#3587)
Module to monitor RPi cpu temperature

Signed-off-by: Al Crate <aleph@al3ph.org>
2020-12-03 12:35:37 -05:00
Kevin O'Connor a1ae548766 docs: Fix github-pages rendering of Command_Templates.md (again)
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-03 12:28:35 -05:00
Kevin O'Connor 5ddb093421 docs: Fix github-pages error in Command_Templates.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-03 12:27:02 -05:00
Kevin O'Connor d7053f6e71 save_variables: Support saving variables to a disk file
Signed-off-by: Dushyant Ahuja dusht.ahuja@gmail.com
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-03 12:19:47 -05:00
Janar Sööt 91de1560a7
menu: modifications (#3262)
- remove lot of helper methods
- differentiate class instantiate from config or directly
- don't use 'enable' template rendering when static value is used.
- new element 'disabled'
- other internal adjustments

Signed-off-by: Janar Sööt <janar.soot@gmail.com>
2020-12-03 10:46:55 -05:00
Kevin O'Connor 422386e94c docs: Clean up example values in Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-02 08:44:37 -05:00
Kevin O'Connor d42930e232 docs: Update Command_Templates.md to note printer.controller_fan.speed
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-12-01 12:51:49 -05:00
Kevin O'Connor 88c7bf830f G-Codes: Minor formatting fix
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 11:52:46 -05:00
Kevin O'Connor 111f084c6a docs: Add additional command reference links to Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 11:27:01 -05:00
Kevin O'Connor d1173d59c9 docs: Add more links to G-Codes.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-23 11:25:19 -05:00
Kevin O'Connor c6f870a655 docs: Update RPi_microcontroller.md links to render correctly on klipper3d.org
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-22 20:33:49 -05:00
Martin Hierholzer fcb78e50e5
hd44780: allow to configure line length (#3543)
This allows to use 16x4 displays rather than only 20x4.

Signed-off-by: Martin Hierholzer <hier@beta-centauri.de>
2020-11-20 14:49:38 -05:00
Kevin O'Connor c6f0884140 docs: Add some additional links to Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-20 14:22:13 -05:00
Kevin O'Connor 6c0c05774b docs: Fix quad_gantry_level header in Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-20 14:02:59 -05:00
Kevin O'Connor e2528c13fa docs: Add more links to Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-20 13:34:50 -05:00
Kevin O'Connor bdd938b578 board_pins: Use an explicit parameter to specify mcu name(s)
Add an 'mcu' option to the board_pins config and use that to specify
the name of the mcu to apply the aliases to.  Support applying the
aliases to multiple mcus.

Add support for any number of options starting with an "aliases_"
prefix.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-20 12:00:36 -05:00
Kevin O'Connor 37b475815e docs: Move replicape reference from generic-replicate.cfg to Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-20 11:57:18 -05:00
Kevin O'Connor 15b5dbaf8f docs: Move config reference information to new Config_Reference.md
Move all the config reference information from files in the config/
directory to a new Config_Reference.md document.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-11-18 20:10:21 -05:00
Arksine bdaca32707 docs: Note the change in "print_stats.duration"
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2020-11-13 20:48:15 -05:00
Arksine fc0a18f891 docs: Document "register_remote_method" endpoint
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2020-11-04 18:32:30 -05:00
Kevin O'Connor 7ad36a2164 github: Run continuous integration tests using "github actions"
Use "github actions" instead of "travis ci" for the automatic build
regression tests.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-30 15:23:42 -04:00
Kevin O'Connor 7263077db5 neopixel: Add support for RGBW LEDs
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-29 12:00:25 -04:00
Kevin O'Connor 56004c0228 mcu: Don't default serial config option to /dev/ttyS0
If the mcu config section is omitted, it leads to confusing error
messages.  Don't default the serial config option to /dev/ttyS0 to
improve the error reporting.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-28 15:35:08 -04:00
Kevin O'Connor 106d1d2a2a docs: Note the release of v0.9.1
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-28 10:55:21 -04:00
Kevin O'Connor 2bcf06a295 docs: Update release notes for v0.9.0 release
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-20 19:40:32 -04:00
Kevin O'Connor 1b471b482d docs: Note PROBE_CALIBRATE results invalidated on motion system update
Any hardware change to the hotend or probe, change to the kinematics,
or change to the bed tilt is likely to invalidate the results of
PROBE_CALIBRATE.  Try to warn the user of that.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-20 19:26:24 -04:00
Kevin O'Connor abb0d8801c docs: Note screws_tilt_adjust nozzle/probe coordinates in Manual_Level.md
The screws_tilt_adjust takes nozzle coordinates, but the goal is for
the Z probe to be above the screws.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-17 19:24:54 -04:00
Kevin O'Connor ac57b6522e docs: Minor formatting change to Probe_Calibrate.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-17 18:48:43 -04:00
Kevin O'Connor 6b23dd9ff1 docs: Provide response_template in subscription examples in API_Server.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-17 10:59:21 -04:00
Kevin O'Connor bfcd5536fc docs: Add initial API_Server.md document
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-17 10:41:14 -04:00
Kevin O'Connor a87e5616a0 docs: Add Measuring_Resonances.md to Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-16 21:32:33 -04:00
Kevin O'Connor cf6d302ac3 docs: Update Command_Templates.md with available get_status() fields
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-15 13:29:50 -04:00
Kevin O'Connor c0eefc0076 docs: Recommend disable "dynamic acceleration control" during tuning
Note that "dynamic acceleration control" should be disabled in the
pressure advance and input shaper tests.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-15 12:07:10 -04:00
Dmitry Butyugin f8c4f90c04
resonance_tester: Resonance testing and input shaper auto-calibration (#3381)
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2020-10-14 20:08:10 -04:00
Kevin O'Connor d53365f996 docs: Updates to Features.md document
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-10-13 16:38:32 -04:00
Kevin O'Connor 55e20f2c19 mcu: Add support for changing cycle_time in set_pwm()
Signed-off-by: Guy Shapira <gayuha@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-09-26 20:55:56 -04:00
Guy Shapira 27cefb2b38 gpiocmds: Add soft-pwm frequency modulation support
Signed-off-by: Guy Shapira <gayuha@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-09-26 20:51:38 -04:00
Arksine 3ac636b33e docs: document additions to BED_MESH_CALIBRATE
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2020-09-15 20:36:55 -04:00
Kevin O'Connor 063f9a2c02 docs: Fix "QUERY_STATUS" typo in Command_Templates.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-09-09 23:11:24 -04:00
Paul McGowan 5a2f406fd1
probe: add get_status wrapper to probe for last_query from query_probe command (#3296)
Add get_status wrapper with last_query status for macros  It is sometimes useful to determine the state of the probe from a macro. If the probe is connected to an endstop pin, the results can be obtained via QUERY_ENDSTOPS but if a physical endstop is in use in addition to the probe the probe state cannot be obtained. This change allows one to use QUERY_PROBE  and then access the printer.probe.last_query object to obtain the state.

Signed-off-by: Paul McGowan <mental405@gmail.com>
2020-09-09 23:10:35 -04:00
Kevin O'Connor 9197975625 docs: Note that FORCE_MOVE can lead to "No next step" errors in G-Codes.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-09-08 10:18:28 -04:00
Kevin O'Connor 3405095f0a adxl345: Add support for adxl345 accelerometer
Add support for taking measurements from an adxl345 accelerometer via
SPI interface.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-09-05 09:11:04 -04:00
Kevin O'Connor c3e9999e0c docs: Update OctoPrint and OctoPi versions in Installation.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-09-04 21:24:26 -04:00
Adrian Keet 37d7742468
spi_temperature: fix MAX31865 temperature conversion (#3274)
Signed-off-by: Adrian Keet <arkeet@gmail.com>
2020-09-02 09:32:30 -04:00
Kevin O'Connor 2bb6b0f58f docs: Expand on host computer restrictions in the FAQ
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-08-26 10:11:21 -04:00
Kevin O'Connor 1286d3006c gcode_move: Move GCodeMove class from gcode.py to new extras module
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-08-20 21:03:22 -04:00
Kevin O'Connor b691e013f0 docs: Document printer.gcode_move variables in Command_Templates.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-08-20 21:03:22 -04:00
Kevin O'Connor 4c5e93d51d gcode: Split G0/G1 command handling to new gcode_move class
Split up the main GCodeParser class into GCodeDispatch and GCodeMove
classes.  The GCodeMove class is now available using the "gcode_move"
printer object name.  This split simplifies the gcode.py code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-08-20 21:03:22 -04:00
Kevin O'Connor 5f47a91464 docs: Add idle_timeout get_status() info to Command_Templates.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-08-20 21:03:22 -04:00
Kevin O'Connor b2c78d71b0 gcode: Remove "action_" commands from get_status() calls
Rename printer.gcode.action_emergency_stop() to
action_emergency_stop(), printer.gcode.action_respond_info() to
action_respond_info(), and printer.gcode.action_respond_error() to
action_raise_error() in command templates.

This simplifies the get_status() interface, as returning callable
functions from that interface was confusing.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-08-20 21:03:22 -04:00
alocin73 1bdf705524
hall_filament_width_sensor: Fix Flow update before next pending_position #3184 (#3198)
After reading the first item of self.filament_array, filament_width is updated back to self.nominal_filament_dia or self.diameter instead of retaining the value until next pending_position.

Updated Filament Menu Template.

Signed-off-by: Nicola Falciani <nicola.fal@gmail.com>
2020-08-19 18:58:49 -04:00
Bryan Boettcher 04bd48ca9d
adc_temperature: add support for AD597 (#3164)
The AD597 thermocouple amplifier is used in the Raise3D N2+ (and
possibly others).

Signed-off-by: Bryan Boettcher <bryan.boettcher@gmail.com>
2020-08-09 21:06:43 -04:00
Kevin O'Connor 864d172b68 docs: Note menu change in Config_Changes.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-08-09 09:37:54 -04:00
Trevor Jones efebbb9a2f
tmc5160: diag0 support (#3159)
Allow for diag0 only hardware to use sensorless homing.

Signed-off-by:  Trevor Jones <trevorjones141@gmail.com>
2020-08-09 08:17:51 -04:00
bondus c9e7119a93
fan_generic: Add support for named fans and gcode to control them (#3054)
Signed-off-by: Pontus Borg <liquidpontus@yahoo.se>
2020-08-07 11:39:44 -04:00
Kevin O'Connor 605c32fc98 docs: Move and reword the Resonance_Compensation.md link in Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-08-05 23:28:54 -04:00
Arksine 74c0e3a484 docs: document changes to the virtual_sdcard module
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2020-08-05 13:46:24 -04:00
Elton Law fe84968bdc docs: Add uninstall notes to faq
From comments in https://github.com/KevinOConnor/klipper/issues/1084

This documents the script added in 0ba1f5109d

Signed-off-by: Elton Law <eltonlaw296@gmail.com>
2020-08-03 14:16:34 -04:00
Kevin O'Connor d33a34614f docs: Add RPi_microcontroller.md link in Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-08-01 13:09:09 -04:00
Dmitry Butyugin f3b980c1b2 docs: Suggested improvements to Input Shaper tuning guide
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2020-07-29 21:28:18 -04:00
Dmitry Butyugin b944666bb1 docs: ringing_tower model for input shapers tuning
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2020-07-29 21:28:18 -04:00
Dmitry Butyugin b62a0d5db5 docs: First version of documentation for Input Shaper tuning
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2020-07-29 21:28:18 -04:00
Kevin O'Connor 25a9a32ecb docs: Move SET_TEMPERATURE_FAN_TARGET to its own section in G-Codes.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-07-26 10:41:43 -04:00
Martin Nowroth ab923883f7
docs: Update G-Codes.md for SET_TEMPERATURE_FAN_TARGET (#3122)
Added extended G-Code documentation for SET_TEMPERATURE_FAN_TARGET

Signed-off-by: Martin Nowroth <madnoth@gmail.com>
2020-07-26 10:39:53 -04:00
Kevin O'Connor 428a8d4881 servo: Remove servo ENABLE parameter
Allow one to disable servos via `SET_SERVO WIDTH=0` instead of using
an explicit ENABLE parameter.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-07-25 11:39:39 -04:00
Kevin O'Connor 53092a6474 docs: Add link to config/sample-macros.cfg in Slicers.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-07-16 13:04:00 -04:00
Kevin O'Connor e4d0044be8 docs: Add a "hardware pin type" section to the FAQ
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-07-16 13:04:00 -04:00
Dmitry Butyugin 4bdc11a8b3
input_shaper: Initial support of input shaping (#3032)
Input shaping can help to reduce printer vibrations due to resonances
and eliminate or reduce ghosting in prints.

Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2020-07-05 20:54:38 -04:00
Arksine 09a3d018a8 docs: Fix broken links in RPi_microcontroller.md
Also add a note regarding "Permission denied" errors.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2020-07-05 20:48:12 -04:00
Denis Ignatenko b3298d8992
hall_filament_width_sensor: Added width logging (#2981)
Signed-off-by: Denis Ignatenko deniss979@gmail.com
2020-06-16 13:36:49 -04:00
Lucio Tarantino 35bbd989e4
docs: LinuxMCU doc & script (#2956)
Signed-off-by: Lucio Tarantino <lucio.tarantino@gmail.com>
2020-06-12 20:32:12 -04:00
Kevin O'Connor 467e8e6f40 display: Default DISPLAY=display in SET_DISPLAY_GROUP command
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-06-09 12:19:53 -04:00
Florian Heilmann 68fcbe2a62
display: add SET_DISPLAY_GROUP command (#2969)
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
2020-06-09 12:07:25 -04:00
Kevin O'Connor d94dd8e9fd docs: Note changes to glyph names
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-06-08 16:55:09 -04:00
Kevin O'Connor b0e8e84d6e docs: Add linux mcu test results to Benchmarks.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-06-07 09:27:55 -04:00
theophile 518fe023b4
extruder_stepper: Support changing synced extruder on the fly (#2824)
Signed-off-by: Christopher Meredith <chmeredith@gmail.com>
2020-06-06 14:30:58 -04:00
matpab 967fe1c01c
HallFilamentWidthSensor: Use current width instead of nomal width while delay is not over (#2907)
Option for using the current diameter instead of nominal while the first measurement isn't in place

Signed-off-by: Matthias Pabel <matthias.pabel@hs-augsburg.de>
2020-06-06 14:19:00 -04:00
Kevin O'Connor a6f2fc7179 docs: Minor reword to latest Config_Changes.md update
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-06-06 12:51:36 -04:00
Lucio Tarantino b7699d374a
linux: Ability to use multiple GPIO chips (#2935)
Signed-off-by: Lucio Tarantino <lucio.tarantino@gmail.com>
2020-06-06 12:47:11 -04:00
Kevin O'Connor 7912c39f9e docs: Add a "why does klipper report errors" section to FAQ
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-06-05 17:04:02 -04:00
Kevin O'Connor 2a66286d1c display: Do not show time remaining in default 16x4 display
The time remaining estimation is wildy inaccurate.  Only show the time
elapsed.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-06-04 15:02:18 -04:00
Kevin O'Connor ea9eac6c38 Kconfig: Change the default usb vendor/product id
Change the product/vendor id to 0x1d50/0x614e, which has been reserved
for Klipper (thanks to the openmoko project).

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-05-31 21:05:04 -04:00
Arksine a9426d045b docs: Update bootloaders.md with HID bootloader documentation
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2020-05-28 14:44:51 -04:00
Kevin O'Connor 686d557863 tmc5160: Change the default for the pwm_freq field to zero
The tmc5160 spec shows a default of zero, so use that same default for
Klipper.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-05-24 23:58:48 -04:00
Kevin O'Connor 5afa5d3fbb docs: Fix typo in Contact.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-05-24 15:26:00 -04:00
Kevin O'Connor f0c394de81 docs: Add stow_on_each_sample description to BL-Touch.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-05-11 12:46:25 -04:00
Kevin O'Connor eebd7e6579 docs: Update bltouch probe_with_touch_mode documentation
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-05-11 12:46:25 -04:00
Denis Ignatenko f88117c7e4
docs: Update HallFilamentWidthSensor.md (#2827)
Signed-off-by: Denis Ignatenko <deniss979@gmail.com>
2020-05-05 17:45:26 -04:00