Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Controller fan improvements - With additional idle speed and persistent settings. #17149

Conversation

GeminiServer
Copy link
Contributor

With adjustable idle speed and motor on speed.
Ability to set and change controller fan speed settings via lcd settings menu and or gcode. Was not sure how to select the correct gcode number. So i just used the free M710! Feel free to give me feedbacks.

Benefits

The user is able to set and define controller fan speed within the menu and are able to define the idle speed of the controller fan, to reduce noise and can also define the fan speed if stepper motors on.

This is an improvement of the existing feature with ability to also set the idle speed.

Related Issues

No related issues.

With adjustable idle speed and motor on speed.
Ability to set and change controller fan settings via gcode or over the lcd settings menu (optional).
@hamster65
Copy link

Would it be possible to add options to select when the controller fan should be active?
For example, I need the fan for the stepper controllers. but not for the bed mosfet (which stays cold without any fan). So whenever the printer is heating up, which takes some time for my machine, the controller fan could stay off.

@GeminiServer
Copy link
Contributor Author

GeminiServer commented Mar 14, 2020

Would it be possible to add options to select when the controller fan should be active?
For example, I need the fan for the stepper controllers. but not for the bed mosfet (which stays cold without any fan). So whenever the printer is heating up, which takes some time for my machine, the controller fan could stay off.

Yes. It can be conditionally defined/implemented in the code/menu. When the fan should start or not.
But you can go and set the controller fan speed via gcode. I.e.: before print process, while bed is heating set it to off or what speed you want/need. In this way you can define when the controller fan should start or not. Just try it out. Other whise i can surely expand the functionality of the controller fan settings.

Here the gcode examples:

/**
   * M710: Set controller fan settings
   * You can set all parameters separate or together.
   * Examples:
   *   M710                   ; Return current Settings
   *   M710 S0                ; Turn off Controller Fan
   *   M710 I255              ; Set Fan Idle Speed Setting
   *   M710 R                 ; Reset settings to defaults
   *   M710 S255              ; Set controller Fan speed setting to 100%
   *   M710 I255 A0           ; Set Fan idle speed setting and AutoMode off
   *   M710 S255              ; Set controller Fan speed setting to 100%
   *   M710 I127 A1 S255 D160 ; Set controller Fan idle speed 50%, AutoMode On, Fan speed 100%, duration to 160 Secs
   *
  */

@thinkyhead
Copy link
Member

Although M710 is documented in the RepRap wiki as "erase EEPROM and reset board" it is not used by any firmware. So it is fair to repurpose this G-code.

@thinkyhead
Copy link
Member

@thinkyhead thinkyhead merged commit 83eec68 into MarlinFirmware:bugfix-2.0.x Mar 18, 2020
thinkyhead added a commit that referenced this pull request Mar 18, 2020
@BastR
Copy link
Contributor

BastR commented Mar 20, 2020

This commit broke compilation. (tested on 2 SKR PRO)

If CONTROLLER_FAN_EDITABLE is commented, I can't compile:
Capture d’écran 2020-03-20 à 09 47 58

If CONTROLLER_FAN_EDITABLE is uncommented, I can compile without uses

@GeminiServer
Copy link
Contributor Author

const reference to a constexpr object
This should fixed it:
image

@BastR
Copy link
Contributor

BastR commented Mar 20, 2020

@GeminiServer it works, thanks you

@kkosa1
Copy link

kkosa1 commented Mar 21, 2020 via email

pull bot pushed a commit to oechslein/Marlin that referenced this pull request Mar 24, 2020
pull bot pushed a commit to oechslein/Marlin that referenced this pull request Mar 24, 2020
@GeminiServer GeminiServer deleted the bugfix-2.0.x-PR-Controller-FAN branch April 11, 2020 08:26
mathom pushed a commit to mathom/Marlin that referenced this pull request Apr 17, 2020
mathom pushed a commit to mathom/Marlin that referenced this pull request Apr 17, 2020
ursoft added a commit to ursoft/Marlin that referenced this pull request May 9, 2020
* Add TMC micro-steps sanity check (MarlinFirmware#17044)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>

* Suppress thisItemNr warning (MarlinFirmware#17049)

* Don't define 'valptr' if unused (MarlinFirmware#17048)

* Fix ambiguous type

Co-Authored-By: Andrew Kroll <xxxajk@gmail.com>

* fix #33

* Fix G34 probing range/error bug (MarlinFirmware#17052)

* Default on/off for Power Loss Recovery (MarlinFirmware#17051)

* Fix nested comment warning (MarlinFirmware#17045)

* Keep name around for old configs

* Finish M900 updates

* Add single extruder LIN_ADVANCE test

* Neopixel on LPC uses GPIO toggling

* [cron] Bump distribution date (2020-03-03)

* Fix MMU test

* fix #34

* No more direct G28 calls

* Asynchronous M114 and (R)ealtime position option (MarlinFirmware#17032)

* Minor EEPROM cleanup

* Software SPI for 12864 fix #31

* fix #1

* General code cleanup

* mftest: Set machine name

* Fix EEPROM compile errors

* Use BED_MAXTEMP for PTC_MAX_BED_TEMP (MarlinFirmware#17061)

* Update FYSETC S6 pins/variants (MarlinFirmware#17056)

* Fix TEMP_PROBE_PIN for SKR 1.4

Co-Authored-By: Anthrix <anthrix@users.noreply.github.com>

* fix #36

* [cron] Bump distribution date (2020-03-04)

* fix #35 в основном за счет кеширования

* Move shared code to wait_for_bed_heating

* Avoid name conflict with 'UART'

* Allow Z_STOP_PIN override on SKR 1.4 (MarlinFirmware#17063)

* SAMD51 SoftwareSerial (MarlinFirmware#17041)

* [cron] Bump distribution date (2020-03-05)

* Move SENSORLESS_PROBING to the probes section

Fixes a bug with HAS_BED_PROBE not being set before use.

* Fix SKR test for ONBOARD SD

* Fix CI test for SENSORLESS_PROBING

* Define Z_MIN_PROBE_PIN for Cohesion 3D Remix

* Update Turkish language (MarlinFirmware#17070)

* Update Chinese (TW) language (MarlinFirmware#17071)

* [cron] Bump distribution date (2020-03-06)

* Add pins to the pins debug list

* Clean up pins debugging

* Fix M0/M1 message string

* Non-blocking Max7219 test pattern

* Change PID dummy value to NAN

Fixes MarlinFirmware#17078

* [cron] Bump distribution date (2020-03-07)

* Pins debug followup

* Max7219 init last

* Max7219 suspend/resume

* More pins debugging cleanup

* Emergency Parser dumb terminal compatibility

* Add / correct comments

* [cron] Bump distribution date (2020-03-08)

* More useful ENABLED / DISABLED macros (MarlinFirmware#17054)

* Revert that wack backoff

* More general SD_DETECT_INVERTED override

* [ToolChanger] Lock the current tool at power-up (MarlinFirmware#17093)

* Fixes for Z4 axis, CS pins (MarlinFirmware#17097)

* [cron] Bump distribution date (2020-03-09)

* fix #37

* Add debug logging for setup()

* Move 'last_pause_state' closer to usage

* Additional numtostr functions

* DOGM SPI delay is less common

* Make BOOTSCREEN_TIMEOUT generally available

* Ensure welcome message

* [cron] Bump distribution date (2020-03-10)

* SD_DETECT_INVERTED => SD_DETECT_STATE (MarlinFirmware#17112)

* Fix Z4 stepper indirection macros (MarlinFirmware#17107)

* Always look for PLR file, but more quickly

* Fix broken enqueue_P

* [cron] Bump distribution date (2020-03-11)

* Tweaks to finishSDPrinting (MarlinFirmware#17082)

* Fix G34, add HOME_AFTER_G34 option (MarlinFirmware#17108)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>

* Fix pio environments for Anet 1.x (MarlinFirmware#17109)

* M220 print FR percentage (MarlinFirmware#17101)

* fix #38

* fix #23

* Announce SD file open

Requested in MarlinFirmware#17110

* Apply soft limits to joystick jogging (MarlinFirmware#17114)

* Fix and update DGUS displays (MarlinFirmware#17072)

* Revert Anet 1.x envs change (MarlinFirmware#17120)

* Non-const REMEMBER needed for RESTORE

* More explicit EEPROM types (MarlinFirmware#17127)

* Fix STM32 _WRITE macro parameter (MarlinFirmware#17121)

* Fix M810 macro multiple use

Fixes MarlinFirmware#17125

* [cron] Bump distribution date (2020-03-12)

* [cron] Bump distribution date (2020-03-13)

* Use arduinoststm32 3.x for FYSETC S6 (MarlinFirmware#17131)

* Fix BAUD_RATE_GCODE, etc. (MarlinFirmware#17135)

* Fix DUGS / DGUS typo

* Add OnPidTuning event to Malyan LCD (MarlinFirmware#17143)

All ExtUI LCDs need to keep up with ExtUI API changes.

* Shorten German BLTouch menu item names (MarlinFirmware#17151)

* Fix Emergency Parser stuck state

* Fix end of short (auto0.g) prints

* M0 Q preserve status

* Shorter paths to HAL, ExtUI (MarlinFirmware#17156)

* [cron] Bump distribution date (2020-03-14)

* Fix G26 corrupted position

* Apply loop shorthand macros (MarlinFirmware#17159)

* Quad Z leveling, G34 (R)ecalculate (MarlinFirmware#17122)

* Config version 020005

* Allow Tool Offset adjustments to have another digit of precision

Some of the items in the Tool Offset Adjustment menu (in particular, the Z Offset!!!) were only adjustable with .1mm accuracy.
This is not enough.    So the edit menu is switched to float52 to fix the issue.

* [cron] Bump distribution date (2020-03-15)

* Fix LCD progress bar

Fixes MarlinFirmware#17162

* Add EEPROM_BOOT_SILENT option

* Do later mounting of LCD-based SD

* Add a global machine state

* #39 - скорость и слои

* #35 improved

* Fix incorrect type on ubl_storage_slot (MarlinFirmware#17170)

* Fix Z after ABL Bilinear G29 with fade

Co-Authored-By: Alan T <interstellarmisfit@users.noreply.github.com>

* Fix G34 Z lower, extra "BLTOUCH" debug line (MarlinFirmware#17175)

* Configurable SLOWDOWN divisor (MarlinFirmware#17171)

* [cron] Bump distribution date (2020-03-16)

* Shorter LCD remaining time to prevent overlap (MarlinFirmware#17181)

* LPC1768 EEPROM fallback to flash, add overrides (MarlinFirmware#17184)

* Fix Z_MIN_PROBE_PIN on SKR 1.4 (MarlinFirmware#17187)

* [cron] Bump distribution date (2020-03-17)

* мелкие исправления

* Fix MKS SBASE 1.6 E1 heater pin (MarlinFirmware#17191)

* ARMED support for TMC UART, probe temp (MarlinFirmware#17186)

* Apply HAS_TMC_UART to pins files

* More decimal places for babystep / Z probe offset (MarlinFirmware#17195)

* Add Copymaster3D board (MarlinFirmware#17188)

* [cron] Bump distribution date (2020-03-18)

* Tweak some lambdas

* New Controller Fan options and M710 gcode (MarlinFirmware#17149)

* Implement CONTROLLER_FAN_USE_Z_ONLY

Followup to MarlinFirmware#17149

* Add M42 M, improve M43 (MarlinFirmware#17173)

* [cron] Bump distribution date (2020-03-19)

* #41 исправлена порча памяти в меню движения по оси Z

* Fix FYSETC mini 12864 init / glitches (MarlinFirmware#17209)

* [cron] Bump distribution date (2020-03-20)

* fix #41

* fix #26

* [cron] Bump distribution date (2020-03-21)

* Split up STM32 pins files (MarlinFirmware#17212)

* [cron] Bump distribution date (2020-03-22)

* Stay at v0.91 of USBComposite for STM32F1

* whitespace

* Use pin/port names for CHITU pins

* Add a pins formatting script

* Format some pins files

* fix #39

* Fix custom version file include

* Tweak serial port descriptions

* [cron] Bump distribution date (2020-03-23)

* Fix Copymaster Y_MAX pin (MarlinFirmware#17267)

* Fix CONTROLLER_FAN options compile

* Skip impossible PWM sanity-checks

* Fix an unused var warning

* Add USB serial support to SERIAL_PORT_2 on DUE (MarlinFirmware#17245)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>

* DGUS updates (MarlinFirmware#17260)

* Fix extra M114 output line

Fixes MarlinFirmware#17255

* [cron] Bump distribution date (2020-03-24)

* Delay after homing_backoff for CoreXY sensorless homing (MarlinFirmware#17273)

* Sanity-check CORE backlash axes (MarlinFirmware#17279)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>

* Fix limits on acceleration editing (MarlinFirmware#17280)

* Fix Emergency Parser on DUE (MarlinFirmware#17276)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>

* Add SoftwareSerialM for MKS Robin (MarlinFirmware#17207)

* Sanity check CONTROLLERFAN_SECS

* Adjust for timing shift on Max7219 displays on AVR's

Something has shifted.   The previous timing delays on the Max7219 debug displays is too tight without this correction.
I suspect something has been optimized and roughly 50ns of needed setup and hold time has disappeared.
This corrects the issue and the display results are clean again.

* Update LCD timing on Formbot T-Rex 2+ machines

The code is slightly more optimized than it used to be and this has caused the setup and hold times on the Formbot T-Rex 2+ machines to be insufficient.   This change gives sufficient margin and the LCD Display is clean again.

* [cron] Bump distribution date (2020-03-25)

* Allow PID_DEBUG to be turned on and off (MarlinFirmware#17284)

M303 D will now toggle activation of PID_DEBUG output.   This allows the debug capability to be built into the firmware, but turned on and off as needed.

* M303 followup

- Put 'D' before other params for clean exit.
- Use serial on/off for debug status.

* Drop old comment

* [cron] Bump distribution date (2020-03-26)

* Use "dist" instead of "delta" for clarity

* Allow G2_PWM to be slimmer

* motion.cpp: HAS_DIST_MM_ARG

* Fix M0 unused var warning

* Update Russian language (MarlinFirmware#17290)

* Update Italian language (MarlinFirmware#17293)

* Tweak eeprom storage type

* Tweak ui.finish_status

* [cron] Bump distribution date (2020-03-27)

* small fixes after merge

* Fix SD finished ExtUI / host action (MarlinFirmware#17285)

* QSPI EEPROM for SAMD51 (MarlinFirmware#17292)

* Fix Stepper PWM menu (MarlinFirmware#17298)

* Store case light brightness in EEPROM (MarlinFirmware#17307)

* [cron] Bump distribution date (2020-03-28)

* Add Funmat HT V4.0 board support (MarlinFirmware#17305)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>

* Limited backlash editing with Core kinematics (MarlinFirmware#17281)

* Simplify TWIBus debug

* Clean up user-wait, SD completion (MarlinFirmware#17315)

* fix #42

* Fix typo...

* [cron] Bump distribution date (2020-03-29)

* Fix Trigorilla 1.4 missing spaces

* Fix STM32F1 USB Composite Dependency

Co-authored-by: Lord-Quake <Lord-Quake@users.noreply.github.com>

* Fix extra unskew call

Fixes MarlinFirmware#17264

* do_pause_e_move => unscaled_e_move

* Minor HAL cleanup

* No unscaled_e_move for CNC

* Load balance some tests

* [cron] Bump distribution date (2020-03-30)

* [cron] Bump distribution date (2020-03-31)

* Pulldown for all FastIO headers

Co-Authored-By: borsegbr <borsegbr@users.noreply.github.com>

* Fix last arc segment

Co-Authored-By: ellensp <ellensp@hotmail.com>

* Additional TERN macros

* Fix Fysetc stm32flash usage (MarlinFirmware#17331)

* STM32F1: Restore M43 build support (MarlinFirmware#17336)

* Improve / fix FTDI EVE Touch UI (MarlinFirmware#17338)

- Fix timeout and debugging string
- Fix check for whether `LCD_TIMEOUT_TO_STATUS` is valid
- Fix incorrect debugging message
- Make capitalization of callbacks consistent.
- Allow Touch UI to use hardware SPI on Einsy boards
- Move print stats to About Printer page.
- More generic about screen with GPL license.
- Add missing handler for power loss event
- Less code duplication on status screen and main/advanced menu; more legible
- Reorganize advanced and main menu to add more features
- Hide home Z button when using Z_SAFE_HOMING
- Fix compilation errors when certain features enabled
- Fix missing labels in UI
- Improve color scheme
- Add new preheat menus
- Fix incorrect rendering of Marlin logo on boot
- Add Level X Axis and Auto calibrate buttons

* Shorten some internal pin names

* [cron] Bump distribution date (2020-04-01)

* Fix M710 report formatting (MarlinFirmware#17356)

* Fix extra TMC serial begin calls (MarlinFirmware#17351)

* [cron] Bump distribution date (2020-04-02)

* More 8 extruders (TMC) support

* Minor code cleanup

* Fix up 'system' includes

* Fix ESP32 eeprom flag

* Clean up UI declarations, apply TERN_

* fix #32

* fix #45

* voltage

* fix #33

* fix #33

* fix typo in #34

* уточнил оранжевый и желтый цвета под свой дисплей

* Переключил TMC2208 UART на 256 шагов вместо 16

* отключил интерполяцию для всех, принудительно 64 микрошага на экструдер, пересчитал шаги для бмг

* таймаут дисплея измени до 15 минут, отрабатывал не так как надо в начале печати

* Revert "Переключил TMC2208 UART на 256 шагов вместо 16"

This reverts commit c32f37f.

* Revert "отключил интерполяцию для всех, принудительно 64 микрошага на экструдер, пересчитал шаги для бмг"

This reverts commit 4b20493.

* вернул настройки tmc как было до экспериментов с микрошагами

* поправил под актуальный pid e

* fix #46

* 10 минут таймаут дисплея

* убрал la понизил скорость кулера на хотенде

* двигатели 900 ма

* Update Configuration_adv.h

* update

* Revert "Merge branch 'bugfix-2.0.x-UltiSteel-ssavickiy' into ssavickiy"

This reverts commit bd0938a, reversing
changes made to a95b5db.

Co-authored-by: Jason Smith <jason.inet@gmail.com>
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
Co-authored-by: ellensp <ellensp@hotmail.com>
Co-authored-by: Andrew Kroll <xxxajk@gmail.com>
Co-authored-by: Юрий Першин <ursoft2004@mail.ru>
Co-authored-by: jufimu12 <jufimu12@gmail.com>
Co-authored-by: InsanityAutomation <38436470+InsanityAutomation@users.noreply.github.com>
Co-authored-by: thisiskeithb <13375512+thisiskeithb@users.noreply.github.com>
Co-authored-by: thinkyhead <thinkyhead@users.noreply.github.com>
Co-authored-by: George Fu <nailao_5918@163.com>
Co-authored-by: Anthrix <anthrix@users.noreply.github.com>
Co-authored-by: MangaValk <patrickvalkmanga@hotmail.com>
Co-authored-by: Vert <vert@vertshobbies.com>
Co-authored-by: Daniel Kreuzhofer (@danieldotnet) <daniel@kreuzhofer.de>
Co-authored-by: Gurmeet Athwal <gurmeet.athwal@gmail.com>
Co-authored-by: Jamie <vector76@users.noreply.github.com>
Co-authored-by: BigTreeTech <38851044+bigtreetech@users.noreply.github.com>
Co-authored-by: nick-diel <35879080+nick-diel@users.noreply.github.com>
Co-authored-by: Erkan Colak <erkanc@gmx.de>
Co-authored-by: Roxy-3D <Roxy-3D@users.noreply.github.com>
Co-authored-by: Karl Andersson <karl@iaccess.se>
Co-authored-by: Alan T <interstellarmisfit@users.noreply.github.com>
Co-authored-by: Giuliano Zaro <3684609+GMagician@users.noreply.github.com>
Co-authored-by: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Co-authored-by: Joe Prints <33383148+JoePrints@users.noreply.github.com>
Co-authored-by: RasmusAaen <rasmus@aaen.net>
Co-authored-by: rado79 <51396577+rado79@users.noreply.github.com>
Co-authored-by: mkpfalz <50922721+mkpfalz@users.noreply.github.com>
Co-authored-by: MarkMan0 <38912829+MarkMan0@users.noreply.github.com>
Co-authored-by: Acenotass <44540957+Acenotass@users.noreply.github.com>
Co-authored-by: Mathias Rasmussen <mathiasvr@gmail.com>
Co-authored-by: oscarsan1 <oscarsan1@users.noreply.github.com>
Co-authored-by: thisiskeithb <thisiskeithb@outlook.com>
Co-authored-by: Lord-Quake <Lord-Quake@users.noreply.github.com>
Co-authored-by: borsegbr <borsegbr@users.noreply.github.com>
Co-authored-by: Eric Ptak <trouch@trouch.com>
Co-authored-by: Tanguy Pruvot <tpruvot@users.noreply.github.com>
Co-authored-by: Marcio T <mlt4356-github@yahoo.com>
Co-authored-by: Marcelo Castagna <margaale@users.noreply.github.com>
Co-authored-by: Simon Jouet <simon-jouet@users.noreply.github.com>
Co-authored-by: Юрий Першин <build@vmpsoft.com>
@Conti93
Copy link

Conti93 commented May 21, 2020

This broke fan ramp down when only Z drivers are in use (or I misconfigured it?), tried now with latest build but the fan stays at max speed even when only my Z driver is on:
image

On 2.0.5 it was configured this way and working right (fan slows down when X, Y and E drivers shuts down after inactivity timeout):
image

ursoft added a commit to ursoft/Marlin that referenced this pull request May 23, 2020
* Suppress thisItemNr warning (MarlinFirmware#17049)

* Don't define 'valptr' if unused (MarlinFirmware#17048)

* Fix ambiguous type

Co-Authored-By: Andrew Kroll <xxxajk@gmail.com>

* fix #33

* Fix G34 probing range/error bug (MarlinFirmware#17052)

* Default on/off for Power Loss Recovery (MarlinFirmware#17051)

* Fix nested comment warning (MarlinFirmware#17045)

* Keep name around for old configs

* Finish M900 updates

* Add single extruder LIN_ADVANCE test

* Neopixel on LPC uses GPIO toggling

* [cron] Bump distribution date (2020-03-03)

* Fix MMU test

* fix #34

* No more direct G28 calls

* Asynchronous M114 and (R)ealtime position option (MarlinFirmware#17032)

* Minor EEPROM cleanup

* Software SPI for 12864 fix #31

* fix #1

* General code cleanup

* mftest: Set machine name

* Fix EEPROM compile errors

* Use BED_MAXTEMP for PTC_MAX_BED_TEMP (MarlinFirmware#17061)

* Update FYSETC S6 pins/variants (MarlinFirmware#17056)

* Fix TEMP_PROBE_PIN for SKR 1.4

Co-Authored-By: Anthrix <anthrix@users.noreply.github.com>

* fix #36

* [cron] Bump distribution date (2020-03-04)

* fix #35 в основном за счет кеширования

* Move shared code to wait_for_bed_heating

* Avoid name conflict with 'UART'

* Allow Z_STOP_PIN override on SKR 1.4 (MarlinFirmware#17063)

* SAMD51 SoftwareSerial (MarlinFirmware#17041)

* [cron] Bump distribution date (2020-03-05)

* Move SENSORLESS_PROBING to the probes section

Fixes a bug with HAS_BED_PROBE not being set before use.

* Fix SKR test for ONBOARD SD

* Fix CI test for SENSORLESS_PROBING

* Define Z_MIN_PROBE_PIN for Cohesion 3D Remix

* Update Turkish language (MarlinFirmware#17070)

* Update Chinese (TW) language (MarlinFirmware#17071)

* [cron] Bump distribution date (2020-03-06)

* Add pins to the pins debug list

* Clean up pins debugging

* Fix M0/M1 message string

* Non-blocking Max7219 test pattern

* Change PID dummy value to NAN

Fixes MarlinFirmware#17078

* [cron] Bump distribution date (2020-03-07)

* Pins debug followup

* Max7219 init last

* Max7219 suspend/resume

* More pins debugging cleanup

* Emergency Parser dumb terminal compatibility

* Add / correct comments

* [cron] Bump distribution date (2020-03-08)

* More useful ENABLED / DISABLED macros (MarlinFirmware#17054)

* Revert that wack backoff

* More general SD_DETECT_INVERTED override

* [ToolChanger] Lock the current tool at power-up (MarlinFirmware#17093)

* Fixes for Z4 axis, CS pins (MarlinFirmware#17097)

* [cron] Bump distribution date (2020-03-09)

* fix #37

* Add debug logging for setup()

* Move 'last_pause_state' closer to usage

* Additional numtostr functions

* DOGM SPI delay is less common

* Make BOOTSCREEN_TIMEOUT generally available

* Ensure welcome message

* [cron] Bump distribution date (2020-03-10)

* SD_DETECT_INVERTED => SD_DETECT_STATE (MarlinFirmware#17112)

* Fix Z4 stepper indirection macros (MarlinFirmware#17107)

* Always look for PLR file, but more quickly

* Fix broken enqueue_P

* [cron] Bump distribution date (2020-03-11)

* Tweaks to finishSDPrinting (MarlinFirmware#17082)

* Fix G34, add HOME_AFTER_G34 option (MarlinFirmware#17108)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>

* Fix pio environments for Anet 1.x (MarlinFirmware#17109)

* M220 print FR percentage (MarlinFirmware#17101)

* fix #38

* fix #23

* Announce SD file open

Requested in MarlinFirmware#17110

* Apply soft limits to joystick jogging (MarlinFirmware#17114)

* Fix and update DGUS displays (MarlinFirmware#17072)

* Revert Anet 1.x envs change (MarlinFirmware#17120)

* Non-const REMEMBER needed for RESTORE

* More explicit EEPROM types (MarlinFirmware#17127)

* Fix STM32 _WRITE macro parameter (MarlinFirmware#17121)

* Fix M810 macro multiple use

Fixes MarlinFirmware#17125

* [cron] Bump distribution date (2020-03-12)

* [cron] Bump distribution date (2020-03-13)

* Use arduinoststm32 3.x for FYSETC S6 (MarlinFirmware#17131)

* Fix BAUD_RATE_GCODE, etc. (MarlinFirmware#17135)

* Fix DUGS / DGUS typo

* Add OnPidTuning event to Malyan LCD (MarlinFirmware#17143)

All ExtUI LCDs need to keep up with ExtUI API changes.

* Shorten German BLTouch menu item names (MarlinFirmware#17151)

* Fix Emergency Parser stuck state

* Fix end of short (auto0.g) prints

* M0 Q preserve status

* Shorter paths to HAL, ExtUI (MarlinFirmware#17156)

* [cron] Bump distribution date (2020-03-14)

* Fix G26 corrupted position

* Apply loop shorthand macros (MarlinFirmware#17159)

* Quad Z leveling, G34 (R)ecalculate (MarlinFirmware#17122)

* Config version 020005

* Allow Tool Offset adjustments to have another digit of precision

Some of the items in the Tool Offset Adjustment menu (in particular, the Z Offset!!!) were only adjustable with .1mm accuracy.
This is not enough.    So the edit menu is switched to float52 to fix the issue.

* [cron] Bump distribution date (2020-03-15)

* Fix LCD progress bar

Fixes MarlinFirmware#17162

* Add EEPROM_BOOT_SILENT option

* Do later mounting of LCD-based SD

* Add a global machine state

* #39 - скорость и слои

* #35 improved

* Fix incorrect type on ubl_storage_slot (MarlinFirmware#17170)

* Fix Z after ABL Bilinear G29 with fade

Co-Authored-By: Alan T <interstellarmisfit@users.noreply.github.com>

* Fix G34 Z lower, extra "BLTOUCH" debug line (MarlinFirmware#17175)

* Configurable SLOWDOWN divisor (MarlinFirmware#17171)

* [cron] Bump distribution date (2020-03-16)

* Shorter LCD remaining time to prevent overlap (MarlinFirmware#17181)

* LPC1768 EEPROM fallback to flash, add overrides (MarlinFirmware#17184)

* Fix Z_MIN_PROBE_PIN on SKR 1.4 (MarlinFirmware#17187)

* [cron] Bump distribution date (2020-03-17)

* мелкие исправления

* Fix MKS SBASE 1.6 E1 heater pin (MarlinFirmware#17191)

* ARMED support for TMC UART, probe temp (MarlinFirmware#17186)

* Apply HAS_TMC_UART to pins files

* More decimal places for babystep / Z probe offset (MarlinFirmware#17195)

* Add Copymaster3D board (MarlinFirmware#17188)

* [cron] Bump distribution date (2020-03-18)

* Tweak some lambdas

* New Controller Fan options and M710 gcode (MarlinFirmware#17149)

* Implement CONTROLLER_FAN_USE_Z_ONLY

Followup to MarlinFirmware#17149

* Add M42 M, improve M43 (MarlinFirmware#17173)

* [cron] Bump distribution date (2020-03-19)

* #41 исправлена порча памяти в меню движения по оси Z

* Fix FYSETC mini 12864 init / glitches (MarlinFirmware#17209)

* [cron] Bump distribution date (2020-03-20)

* fix #41

* fix #26

* [cron] Bump distribution date (2020-03-21)

* Split up STM32 pins files (MarlinFirmware#17212)

* [cron] Bump distribution date (2020-03-22)

* Stay at v0.91 of USBComposite for STM32F1

* whitespace

* Use pin/port names for CHITU pins

* Add a pins formatting script

* Format some pins files

* fix #39

* Fix custom version file include

* Tweak serial port descriptions

* [cron] Bump distribution date (2020-03-23)

* Fix Copymaster Y_MAX pin (MarlinFirmware#17267)

* Fix CONTROLLER_FAN options compile

* Skip impossible PWM sanity-checks

* Fix an unused var warning

* Add USB serial support to SERIAL_PORT_2 on DUE (MarlinFirmware#17245)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>

* DGUS updates (MarlinFirmware#17260)

* Fix extra M114 output line

Fixes MarlinFirmware#17255

* [cron] Bump distribution date (2020-03-24)

* Delay after homing_backoff for CoreXY sensorless homing (MarlinFirmware#17273)

* Sanity-check CORE backlash axes (MarlinFirmware#17279)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>

* Fix limits on acceleration editing (MarlinFirmware#17280)

* Fix Emergency Parser on DUE (MarlinFirmware#17276)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>

* Add SoftwareSerialM for MKS Robin (MarlinFirmware#17207)

* Sanity check CONTROLLERFAN_SECS

* Adjust for timing shift on Max7219 displays on AVR's

Something has shifted.   The previous timing delays on the Max7219 debug displays is too tight without this correction.
I suspect something has been optimized and roughly 50ns of needed setup and hold time has disappeared.
This corrects the issue and the display results are clean again.

* Update LCD timing on Formbot T-Rex 2+ machines

The code is slightly more optimized than it used to be and this has caused the setup and hold times on the Formbot T-Rex 2+ machines to be insufficient.   This change gives sufficient margin and the LCD Display is clean again.

* [cron] Bump distribution date (2020-03-25)

* Allow PID_DEBUG to be turned on and off (MarlinFirmware#17284)

M303 D will now toggle activation of PID_DEBUG output.   This allows the debug capability to be built into the firmware, but turned on and off as needed.

* M303 followup

- Put 'D' before other params for clean exit.
- Use serial on/off for debug status.

* Drop old comment

* [cron] Bump distribution date (2020-03-26)

* Use "dist" instead of "delta" for clarity

* Allow G2_PWM to be slimmer

* motion.cpp: HAS_DIST_MM_ARG

* Fix M0 unused var warning

* Update Russian language (MarlinFirmware#17290)

* Update Italian language (MarlinFirmware#17293)

* Tweak eeprom storage type

* Tweak ui.finish_status

* [cron] Bump distribution date (2020-03-27)

* small fixes after merge

* Fix SD finished ExtUI / host action (MarlinFirmware#17285)

* QSPI EEPROM for SAMD51 (MarlinFirmware#17292)

* Fix Stepper PWM menu (MarlinFirmware#17298)

* Store case light brightness in EEPROM (MarlinFirmware#17307)

* [cron] Bump distribution date (2020-03-28)

* Add Funmat HT V4.0 board support (MarlinFirmware#17305)

Co-authored-by: Scott Lahteine <github@thinkyhead.com>

* Limited backlash editing with Core kinematics (MarlinFirmware#17281)

* Simplify TWIBus debug

* Clean up user-wait, SD completion (MarlinFirmware#17315)

* fix #42

* Fix typo...

* [cron] Bump distribution date (2020-03-29)

* Fix Trigorilla 1.4 missing spaces

* Fix STM32F1 USB Composite Dependency

Co-authored-by: Lord-Quake <Lord-Quake@users.noreply.github.com>

* Fix extra unskew call

Fixes MarlinFirmware#17264

* do_pause_e_move => unscaled_e_move

* Minor HAL cleanup

* No unscaled_e_move for CNC

* Load balance some tests

* [cron] Bump distribution date (2020-03-30)

* [cron] Bump distribution date (2020-03-31)

* Pulldown for all FastIO headers

Co-Authored-By: borsegbr <borsegbr@users.noreply.github.com>

* Fix last arc segment

Co-Authored-By: ellensp <ellensp@hotmail.com>

* Additional TERN macros

* Fix Fysetc stm32flash usage (MarlinFirmware#17331)

* STM32F1: Restore M43 build support (MarlinFirmware#17336)

* Improve / fix FTDI EVE Touch UI (MarlinFirmware#17338)

- Fix timeout and debugging string
- Fix check for whether `LCD_TIMEOUT_TO_STATUS` is valid
- Fix incorrect debugging message
- Make capitalization of callbacks consistent.
- Allow Touch UI to use hardware SPI on Einsy boards
- Move print stats to About Printer page.
- More generic about screen with GPL license.
- Add missing handler for power loss event
- Less code duplication on status screen and main/advanced menu; more legible
- Reorganize advanced and main menu to add more features
- Hide home Z button when using Z_SAFE_HOMING
- Fix compilation errors when certain features enabled
- Fix missing labels in UI
- Improve color scheme
- Add new preheat menus
- Fix incorrect rendering of Marlin logo on boot
- Add Level X Axis and Auto calibrate buttons

* Shorten some internal pin names

* [cron] Bump distribution date (2020-04-01)

* Fix M710 report formatting (MarlinFirmware#17356)

* Fix extra TMC serial begin calls (MarlinFirmware#17351)

* [cron] Bump distribution date (2020-04-02)

* More 8 extruders (TMC) support

* Minor code cleanup

* Fix up 'system' includes

* Fix ESP32 eeprom flag

* Clean up UI declarations, apply TERN_

* fix #32

* fix #45

* voltage

* fix #33

* fix #33

* fix typo in #34

* уточнил оранжевый и желтый цвета под свой дисплей

* Переключил TMC2208 UART на 256 шагов вместо 16

* отключил интерполяцию для всех, принудительно 64 микрошага на экструдер, пересчитал шаги для бмг

* таймаут дисплея измени до 15 минут, отрабатывал не так как надо в начале печати

* Revert "Переключил TMC2208 UART на 256 шагов вместо 16"

This reverts commit c32f37f.

* Revert "отключил интерполяцию для всех, принудительно 64 микрошага на экструдер, пересчитал шаги для бмг"

This reverts commit 4b20493.

* вернул настройки tmc как было до экспериментов с микрошагами

* поправил под актуальный pid e

* fix #46

* 10 минут таймаут дисплея

* убрал la понизил скорость кулера на хотенде

* двигатели 900 ма

* Update Configuration_adv.h

* update

* Revert "Merge branch 'bugfix-2.0.x-UltiSteel-ssavickiy' into ssavickiy"

This reverts commit bd0938a, reversing
changes made to a95b5db.

* отключил LA, изменил для тестов парметры рекомендуемые марлином в комментах для tmc

Co-authored-by: ellensp <ellensp@hotmail.com>
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
Co-authored-by: Andrew Kroll <xxxajk@gmail.com>
Co-authored-by: Юрий Першин <ursoft2004@mail.ru>
Co-authored-by: jufimu12 <jufimu12@gmail.com>
Co-authored-by: InsanityAutomation <38436470+InsanityAutomation@users.noreply.github.com>
Co-authored-by: thisiskeithb <13375512+thisiskeithb@users.noreply.github.com>
Co-authored-by: thinkyhead <thinkyhead@users.noreply.github.com>
Co-authored-by: George Fu <nailao_5918@163.com>
Co-authored-by: Anthrix <anthrix@users.noreply.github.com>
Co-authored-by: MangaValk <patrickvalkmanga@hotmail.com>
Co-authored-by: Vert <vert@vertshobbies.com>
Co-authored-by: Daniel Kreuzhofer (@danieldotnet) <daniel@kreuzhofer.de>
Co-authored-by: Gurmeet Athwal <gurmeet.athwal@gmail.com>
Co-authored-by: Jamie <vector76@users.noreply.github.com>
Co-authored-by: BigTreeTech <38851044+bigtreetech@users.noreply.github.com>
Co-authored-by: Jason Smith <jason.inet@gmail.com>
Co-authored-by: nick-diel <35879080+nick-diel@users.noreply.github.com>
Co-authored-by: Erkan Colak <erkanc@gmx.de>
Co-authored-by: Roxy-3D <Roxy-3D@users.noreply.github.com>
Co-authored-by: Karl Andersson <karl@iaccess.se>
Co-authored-by: Alan T <interstellarmisfit@users.noreply.github.com>
Co-authored-by: Giuliano Zaro <3684609+GMagician@users.noreply.github.com>
Co-authored-by: Pascal de Bruijn <pmjdebruijn@pcode.nl>
Co-authored-by: Joe Prints <33383148+JoePrints@users.noreply.github.com>
Co-authored-by: RasmusAaen <rasmus@aaen.net>
Co-authored-by: rado79 <51396577+rado79@users.noreply.github.com>
Co-authored-by: mkpfalz <50922721+mkpfalz@users.noreply.github.com>
Co-authored-by: MarkMan0 <38912829+MarkMan0@users.noreply.github.com>
Co-authored-by: Acenotass <44540957+Acenotass@users.noreply.github.com>
Co-authored-by: Mathias Rasmussen <mathiasvr@gmail.com>
Co-authored-by: oscarsan1 <oscarsan1@users.noreply.github.com>
Co-authored-by: thisiskeithb <thisiskeithb@outlook.com>
Co-authored-by: Lord-Quake <Lord-Quake@users.noreply.github.com>
Co-authored-by: borsegbr <borsegbr@users.noreply.github.com>
Co-authored-by: Eric Ptak <trouch@trouch.com>
Co-authored-by: Tanguy Pruvot <tpruvot@users.noreply.github.com>
Co-authored-by: Marcio T <mlt4356-github@yahoo.com>
Co-authored-by: Marcelo Castagna <margaale@users.noreply.github.com>
Co-authored-by: Simon Jouet <simon-jouet@users.noreply.github.com>
Co-authored-by: Юрий Першин <build@vmpsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants