Commit Graph

814 Commits

Author SHA1 Message Date
strayr c8405fe3db
docs: Note to enable SPI in RPi_microcontroller.md (#4503)
whilst this line is in Measuring_Resonances.md, users following this guide for other reasons have no cause reason to read that and don't have an explanation for what they didn't know they didn't do.

Signed-off-by: Rowland Straylight <rowlandstraylight@gmail.com>
2021-07-25 20:34:00 -04:00
shiftingtech f949bc882d
probe: add ability to save babystepping (#4404)
Created two new extended gcodes: Z_OFFSET_APPLY_ENDSTOP, and Z_OFFSET_APPLY_PROBE.
These use the z gcode offset to revise the probe offset, or z endstop position
allowing users to make a frequently used babystepping value permanent without
manual config editing.

Signed-off-by: Ben Eastep <shifting@shifting.ca>
2021-07-25 20:20:15 -04:00
Kevin O'Connor 103dcf27ff controller_fan: Minor updates
Document change in behavior of the controller_fan module.

Lookup heater objects in connect() event handler.

Return list of stepper names from stepper_enable.get_steppers().

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-07-20 10:34:14 -04:00
Sophie Hirn de57ce3a99
controller_fan: Add "stepper" config option (#4447)
Allows contoller_fan sections to monitor only certain steppers instead of
all of them, similar to how heaters are currently handled.

Signed-off-by: Sophie Hirn <sophie.hirn@wyvernscale.com>
2021-07-20 10:19:59 -04:00
Martin 4cf25c714a
docs: Add hardware RPi PWM documentation (#4418)
Signed-off-by: Martin van Es <martin@mrvanes.com>
2021-07-15 13:24:02 -04:00
Dmitry Butyugin 2ef5e03ce4 docs: Updated docs for custom AXIS in TEST_RESONANCES
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2021-07-08 11:00:23 -04:00
shiftingtech 0edcd0bb7b
docs: added an apt update to measuring_resonance (#4417)
Signed-off-by: Ben Eastep <shifting@shifting.ca>
2021-07-08 10:38:12 -04:00
Kevin O'Connor ff5689e9e1 docs: Add rp2040 benchmark results to Benchmarks.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-07-04 10:16:01 -04:00
Kevin O'Connor d1bdde56cc samd_sercom: Specify the sercom explicitly in a config option
Do not infer the sercom from the config section name, as that
prevents one from using SPI buses on multiple samd mcus.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-07-04 09:48:45 -04:00
Kevin O'Connor 7fd7853785 duplicate_pin_override: Debugging tool to permit multiple use pins
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-06-27 18:50:51 -04:00
Tircown 4d559633e3
kinematics: Add dual_carriage to hybrid-corexyz (#4296)
- Add dual_carriage abilities for hybrid-corexy and hybrid-corexz
- Introduce the module idex_mode
- Fix add_stepper to the correct rail in hybrid-corexy

Signed-off-by: Fabrice GALLET <tircown@gmail.com>
2021-06-27 18:37:05 -04:00
Matthew Lloyd c2907c998c
screws_tilt_adjust: Add DIRECTION parameter to SCREWS_TILT_CALCULATE (#4357)
Signed-off-by: Matthew Lloyd <github@matthewlloyd.net>
2021-06-22 15:18:05 -04:00
Kamil Trzcinski f1091a484b virtual_sdcard: add `file_path` and `file_size` to `status`
This provides a comprehensive information if currently
we have a file loaded.

Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
2021-06-22 15:15:03 -04:00
github@matthewlloyd.net 478f26cab6 config: Specify gear_ratio for Prusa Mini+ extruder
Also clarifies the documentation for rotation_distance in the
stepper docs.

Signed-off-by: Matthew Lloyd <github@matthewlloyd.net>
2021-06-18 10:54:51 -04:00
Eric Callahan 8bcfaa53aa docs: add status documentaton for neopixel and dotstar
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2021-06-18 10:53:12 -04:00
Alex Zellner f7279a037d
docs: add CANCEL_PRINT to docs/G-Codes.md (#4370)
Signed-off-by: Alex Zellner <alexander.zellner@googlemail.com>
2021-06-14 13:01:42 -04:00
Kamil Trzcinski d2c2aaf55d extruder: expose `can_extrude` flag based on temperature
Sometimes an automated filament load is implemented,
but extruder might not always extrude filament.

This adds a flag to check if this operation is possible.

Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
2021-06-14 12:56:50 -04:00
Kevin O'Connor a0c27571dd docs: Note previous firmware state issue with TMC2209/TMC2209 in TMC_Drivers.md
If a high UART frequency is used to communicate with TMC2208/TMC2209
drivers then it may not be possible for Klipper to communicate with
the drivers until they are reset.  Note this in the troubleshooting
document.

Reported by @matthewlloyd.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-06-12 14:16:23 -04:00
Kevin O'Connor 07004a889d docs: Recommend pause of 2 seconds during sensorless homing
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-06-12 13:34:39 -04:00
Kevin O'Connor 6db40df6af docs: Deprecate pid_integral_max config option
The default pid_integral_max setting should be sufficient; it's not
necessary to complicate the documentation and config to support
customization.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-06-12 13:29:11 -04:00
Kevin O'Connor d1665fae4f docs: Update Code_Overview.md with the removal of calc_tag_position()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-06-11 23:04:30 -04:00
Eric Callahan b513d085a5 docs: Add documentation for BED_MESH_OFFSET
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2021-06-08 00:02:35 -04:00
Dmitry Butyugin 4596a244e3
resonance_tester: Set max_accel ignoring the limit from the config (#4174)
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2021-06-06 13:04:53 -04:00
Kevin O'Connor e0e8615aaf docs: Fix missing backtick in API_Server.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-06-06 12:01:03 -04:00
Kevin O'Connor 93b9a85d19 endstop_phase: Add support for reporting phase information via get_status()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-06-03 22:27:30 -04:00
Kevin O'Connor 703418de01 docs: Update G-Codes.md now that SET_VELOCITY_LIMIT can exceed config
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-06-03 14:07:56 -04:00
Michael Rose 27f8cf025e
z_tilt: expose an 'applied' status to allow macros to skip QGL/Z_TILT_ADJUST (#4313)
This is useful for macros that'd like to skip QGL if already leveled,
e.g.:

```
    {% if not printer.quad_gantry_level.applied %}
        QUAD_GANTRY_LEVEL
    {% endif %}
```

Signed-off-by: Michael Rose <elementation@gmail.com>
2021-06-02 11:11:19 -04:00
Paul McGowan c148f17ea3
neopixel: add sync parameter to prevent waking toolhead (#4339)
neopixel: add sync param to prevent waking toolhead

dotstar: refactor to match neopixel methods and add sync parameter

Signed-off-by: Paul McGowan <mental405@gmail.com>
2021-06-02 10:51:45 -04:00
Kevin O'Connor c0d860487a stepper: Remove set_tag_position() code
Have callers store the stepper positions in a dict.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-29 21:54:34 -04:00
Kevin O'Connor 2bd03b97f0 docs: Fix malformed link in beaglebone.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-29 15:09:43 -04:00
Kevin O'Connor 8e74e6aa09 docs: Fix typo in Status_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-28 21:02:14 -04:00
Kevin O'Connor 977c334e2e docs: Avoid link descriptions that span multiple lines
The Jekyll markdown renderer gets confused by links that span multiple
lines.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-28 20:58:32 -04:00
Kevin O'Connor 624d94f6ac docs: Fix link in Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-28 20:42:06 -04:00
Kevin O'Connor 3a25db1247 docs: Move description of menu templates to Command_Templates.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-28 20:30:28 -04:00
Dmitry Butyugin c483cb53cb docs: Updated adxl345 wiring image
ADXL345 3.3v and GND pins can be wired closer to the other
pins on RPi, which is often more convenient.

Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2021-05-28 11:53:16 -04:00
Alex Zellner 341fc64a67
gcode_macro: add description property (#4317)
Signed-off-by: Alex Zellner <alexander.zellner@googlemail.com>
2021-05-26 14:21:21 -04:00
Florian Heilmann bd42d497ae safe_z_home: Update documentation
Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
2021-05-26 12:57:31 -04:00
Kevin O'Connor 391ebd32c1 docs: Minor updates to sdcard_loop documentation
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-26 12:05:49 -04:00
Jason S. McMullan 913649de2e loop_sdcard: Add loopable SD card file sections
To support continuous belt printing, add nestable repeat
loop support via an `[sdcard_loop]` module.

Supported G-Code:
  - SDCARD_LOOP_BEGIN COUNT=n  ; Loop for N times, or infinitely if N is 0
  - SDCARD_LOOP_END            ; End of loop
  - SDCARD_LOOP_DESIST         ; Complete all loops without iterating

Marlin M808 compatibility example in `config/sample-macros.cfg`:
  - M808 Ln        ; Loop for N times, or infinitely if N is 0
  - M808           ; End of loop
  - M808 K         ; Complete all loops without iterating

Added unit tests in test/klippy/sdcard_loop.test

See https://reprap.org/wiki/G-code#M808:_Set_or_Goto_Repeat_Marker

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
2021-05-26 11:57:57 -04:00
Alex Zellner 60352f4b67
filament_motion_sensor: add get_status (#4281)
Signed-off-by: Alex Zellner <alexander.zellner@googlemail.com>
2021-05-11 13:17:22 -04:00
Kevin O'Connor 1ed67120cd debugcmds: Remove start/end_group commands
These commands were never used by the main code and are not
particularly helpful for debugging.  Remove them to reduce code size -
in particular on the pru architecture.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-07 13:53:47 -04:00
Kevin O'Connor 7bf379d75d docs: Fix typo in Config_Reference.md
Should be "hybrid-corexy" instead of "hybrid-codexy".  Reported by
@mak0t0san.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-06 11:46:35 -04:00
Tircown f2c74ec023
kinematics: Add hybrid-corexy and hybrid-corexz (#4229)
Signed-off-by: Fabrice GALLET <tircown@gmail.com>
2021-05-03 14:31:23 -04:00
Kevin O'Connor f10247a498 gcode_macro: Deprecate default_parameter_<name>
The Jinja2 "set" directive is more flexible and easier to understand
than default_parameter_XXX parameters.  Deprecate it and encourage
using "set" as a replacement.

This also deprecates direct access to parameters via parameter name in
a macro.  Going forward, the `params` pseudo-variable must be used to
access a parameter.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-05-03 12:43:53 -04:00
shiftingtech 8443c0b0f8 docs: a slight clarity improvement for the rPi mcu
Just a small attempt to make the build process slightly clearer 
In the compilation instructions for the rPi mcu

Signed-off-by: Ben Eastep <shifting@shifting.ca>
2021-05-02 13:07:07 -04:00
Kevin O'Connor 8f76e53c0e stepper: Remove min_stop_interval from mcu code
Now that the host never uses a min_stop_interval, remove it from the
mcu code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-30 11:26:19 -04:00
Kevin O'Connor b1ea4f3bef toolhead: Do not limit SET_VELOCITY_LIMIT to values specified in config
Allow a larger velocity, accel, and square_corner_velocity than what
is specified in the config file.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-30 11:26:19 -04:00
Kevin O'Connor e77bf7431e docs: Move palette2 location in Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-28 20:40:24 -04:00
Kevin O'Connor ebbb21be00 docs: Update Status_Reference.md for better Jekyll rendering
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-28 20:38:07 -04:00
Kevin O'Connor af7f27542f docs: Move status field reference to new Status_Reference.md file
Move the reference of "printer" status fields from
Command_Templates.md to a new Status_Reference.md file.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-28 20:32:00 -04:00
Johannes Stuettgen ed6ab6b9cc screws_tilt_adjust: Add MAX_DEVIATION parameter for bed level invariant.
This is useful when a saved bed mesh is used to ensure that the bed level
has not drifted too far from where it was when the mesh was created.

Signed-off-by: Johannes Stuettgen <johannes.stuettgen@gmail.com>
2021-04-28 11:53:18 -04:00
Kevin O'Connor d36dbfebd1 docs: Prefer Jinja2 "set" directive to default_parameter_xxx in examples
The "set" directive is more flexible and easier to understand.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-26 12:44:51 -04:00
Kevin O'Connor 61a25d2fb2 docs: Add example of Jinja2 "set" directive to Command_Templates.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-26 12:44:21 -04:00
Kevin O'Connor 475d8a72ad docs: Add notes on terminating resistors to CANBUS.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-25 15:45:24 -04:00
nlef 2d2db0f839
probe: Add deactivate_on_each_sample: param for Probe (#4161)
Signed-off-by: Nick Lefskiy <n.lefskiy@yandex.ru>
2021-04-24 13:39:58 -04:00
Dmitry Butyugin 200b62bcb4 adxl345: Verify the register writes, added debug adxl345 commands
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2021-04-24 13:15:17 -04:00
Kevin O'Connor a58e9eddbe docs: Note stealthchop can cause overcurrent error in TMC_Drivers.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-24 12:30:27 -04:00
Kevin O'Connor 4ef713f6b8 docs: Update Linux RPi benchmarks
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-18 13:21:31 -04:00
Clifford Roche e7b0e7b43b
palette2: Add ping variation + ping status reports (#4114)
Signed-off-by: Clifford Roche <clifford.roche@gmail.com>
2021-04-14 11:37:24 -04:00
Kevin O'Connor 316b49c6bf docs: Note that attribution/history should be avoiding in Example_Configs.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-13 21:14:46 -04:00
Arksine a93d09cdf4 docs: document bed mesh "faulty_regions"
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2021-04-10 11:16:07 -04:00
Kevin O'Connor 38b2805136 toolhead: Export the print_stalls value via get_status()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-09 20:44:27 -04:00
Kevin O'Connor 49a2b0354f statistics: Export the OS and process load in a get_status() method
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-09 20:27:38 -04:00
Kevin O'Connor cacf1197b6 docs: Minor changs to pca9533 in Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-09 17:50:30 -04:00
le-Bark eb4abdd830
pca9533: RGB support for the mightyboard (#4150)
Signed-off-by: Marc-André Denis <marcadenis@msn.com>
2021-04-09 17:47:16 -04:00
Kevin O'Connor b1b2488538 docs: Minor display sectoin updates to Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-09 13:07:40 -04:00
Kevin O'Connor cf0c165361 Docs: Split the display section of Config_Reference.md into multiple sections
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-09 12:59:13 -04:00
Kevin O'Connor 26603e8369 docs: Minor copy-and-paste fix to Config_Reference.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-09 12:02:18 -04:00
le-Bark 317402d5ba
hd44780_spi: added lcd support to the mightyboard (#4121)
Signed-off-by: Marc-André Denis <marcadenis@msn.com>
2021-04-07 21:07:23 -04:00
Kevin O'Connor c59da22707 docs: Add link to Discourse server in Example_Configs.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-04-07 13:30:29 -04:00
Kevin O'Connor 00f8262e57 docs: Add links to Klipper Discourse server to Contact.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-27 12:51:17 -04:00
Kevin O'Connor dc55142437 docs: Update FAQ on which mcus have hard pwm support
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-26 12:39:47 -04:00
Pascal P 88f6061cd7
output_pin: Support setting max_duration (#3995)
Also added documentation for using powered tools.

Signed-off-by: Pascal Pieper <accounts@pascalpieper.de>
2021-03-26 11:25:09 -04:00
Clifford Roche e2a3217289
palette2: Add support for P2 devices (#4057)
Module which bring support for P2 devices running in connected mode. This enables using a Palette2 directly with Klippy without Octoprint, or without Palette2 plugins for Octoprint which are not functional out of the box with Klipper.

Signed-off-by: Clifford Roche <clifford.roche@gmail.com>
2021-03-26 11:21:10 -04:00
Kevin O'Connor a0307c0e1c docs: Fix Jekyll rendering of docs/TMC_Drivers.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-25 12:24:45 -04:00
Kevin O'Connor 5c2c43b05f docs: Revise sensorless homing configuration guide
Recommend finding the minimum and maximum stallguard settings while
tuning sensorless homing.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-25 12:21:13 -04:00
Kevin O'Connor dd4f2d81b6 docs: Deprecate support for the pin_map config option
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-25 10:50:56 -04:00
Kevin O'Connor 4f66a467e3 config: Create new sample-aliases.cfg with standard aliases
Create a sample-aliases.cfg with all the aliases that are currently
hardcoded in the klippy.pins.py module.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-25 10:49:17 -04:00
Kevin O'Connor 36b1ccd598 replicape: Don't require a host alias for the enable_pin default
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-25 10:49:17 -04:00
Kevin O'Connor afe853aecc github: Add github issue chooser
Add links to documentation and chat server when a new user opens a new
issue ticket.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-24 18:45:29 -04:00
Kevin O'Connor 905e49cc05 docs: Move Example_Configs.md reference in Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-22 22:12:26 -04:00
Kevin O'Connor 09067ddb52 docs: Updates to Example_Configs.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-22 22:01:30 -04:00
Kevin O'Connor 8524188203 docs: Add Example_Configs.md - info on adding new config files to Klipper
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-22 21:21:56 -04:00
Dmitry Butyugin 8a3a32058f docs: Added a note about different ADLX345 PCB designs
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2021-03-20 13:24:43 -04:00
Dmitry Butyugin b6908e56aa docs: Updated measuring resonances doc on max_accel suggestions
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2021-03-20 13:24:43 -04:00
Kevin O'Connor c8dc3afc23 docs: Update TMC_Drivers.md with note on SPI failures on TMC driver checks
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-16 14:49:29 -04:00
Kevin O'Connor 0ddd6e8d21 docs: Add common reasons for tmc error reports to TMC_Drivers.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-16 12:14:45 -04:00
Michael Kurz b4437f8eee
bme280: Add support for BMP280 and BME680 sensors (#4040)
This adds support for BMP280 and BME680 sensor ICs,
along with fixing calibration data readout for BME280.

Gas sensor readout for the BME680 is just the raw compensated value.
To get actual meaningful values, more research is needed.

Signed-off-by: Michael Kurz <michi.kurz@gmail.com>
2021-03-15 11:50:29 -04:00
TheJoshW bf8f7133b4
filament_motion_sensor: Add filament_motion_sensor (#3857)
Add functionality to support a Filament Motion Sensor for detecting extruder jams as well as runouts.  Works by an encoder toggling the switch_pin 0/1 as the filament is pulled through the sensor.

Signed-off-by: Joshua Wherrett <thejoshw.code@gmail.com>
2021-03-14 21:36:19 -04:00
Kevin O'Connor c7dc3e78bf docs: Update CAN bus documents
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-13 11:33:56 -05:00
Kevin O'Connor 6cb419a90a canbus: Rework CAN command protocol
Rework the micro-controller command protocol so that it supports
direct communication with the serialqueue.c code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-13 11:29:41 -05:00
Kevin O'Connor 041692828c mcu: Add support for connecting to devices on a CAN bus
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-13 11:29:41 -05:00
Kevin O'Connor 11b9b72b41 docs: Minor wording change to TMC_Drivers.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-11 17:57:18 -05:00
Kevin O'Connor 715b89ce0c docs: Rename Sensorless_homing.md to TMC_Drivers.md and extend
Add additional information on configuring and using TMC drivers.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-10 20:09:34 -05:00
Kevin O'Connor b36ec76989 docs: Wrap lines in Sensorless_Homing.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-10 18:14:13 -05:00
Kevin O'Connor 3ea2e4fc58 tmc2660: Do not enable SFILT by default
None of the other TMC driver enable SFILT by default and it seems
enabling SFILT may not be ideal for sensorless homing.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-10 12:07:18 -05:00
Kevin O'Connor 3c6eb376ac console: Make baud an optional parameter
Make the baud rate an optional parameter to the console.py tool.  When
not present, it will default to 250000.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-02 11:38:50 -05:00
teeminus bc2096f543
st7920: Better support for emulated ST7920 displays (#3979)
Added new ST7920E display driver which is better suited for displays with emulated ST7920

Signed-off-by: Christian Kehe <teeminus@posteo.net>
2021-03-01 18:23:06 -05:00
Kevin O'Connor 4d3d25b1f7 fan: Minor updates to tachometer handling
Add new fields to Command_Templates.md.

Remove unused self.rpm variable.

Use an explicit get_frequency() method in keeping with Klipper's
convention of not "peeking into member variables".

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-03-01 14:57:40 -05:00
Adrian Keet 16d85d1a78 fan: Add tachometer support
This adds new config options for fans:  'tachometer_pin' to specify the
GPIO pin, and 'tachometer_ppr' (default 2) to specify the number of
signal pulses per revolution.  The rpm is also exposed by get_status for
command templates and the API server.  For fast fans (at least 10000
RPM), the polling interval can be shortened using the
'tachometer_poll_interval' option.

There is a new mcu object for a generic edge counter, which repeatedly
polls a GPIO pin and periodically reports the count to the host.

Signed-off-by: Adrian Keet <arkeet@gmail.com>
2021-03-01 14:53:13 -05:00