Commit graph

381 commits

Author SHA1 Message Date
Giuliano Zaro 88e4dffe88
Fix PID autotune timeout (#18352) 2020-06-18 16:05:12 -05:00
Scott Lahteine 424569b4c4
Power monitor and display (#17437) 2020-06-18 15:23:03 -05:00
Scott Lahteine f4c258dc23
Creality Ender 3 v2 (#17719) 2020-06-16 01:45:27 -05:00
Scott Lahteine 7628895ac8 Apply misc TERN 2020-05-30 22:34:30 -05:00
Gurmeet Athwal f3bf343c89
Report fan speed on change (#18013) 2020-05-25 17:46:35 -05:00
Scott Lahteine 31eb487da5 whitespace 2020-05-22 02:02:11 -05:00
Mobilinkd LLC 60bed3434b
Ignore spurious MAX31855K / 6675 thermocouple errors (#18039) 2020-05-20 15:38:29 -05:00
Jason Smith 94063e3a87
Fix PID + Thermal Protection combos (#18023) 2020-05-18 13:51:32 -05:00
Mathias Rasmussen d571a4d389
Relax bed cooling safety check (#17877) 2020-05-04 17:23:35 -05:00
studiodyne 36efe75ad1
Followup for Tool Migration (#17800) 2020-05-03 00:32:25 -05:00
studiodyne 89b17b5463
Followup fixes for singlenozzle, etc. (#17712) 2020-04-28 00:21:23 -05:00
Scott Lahteine 01c646a892 Apply more HAS_HOTEND 2020-04-27 22:39:31 -05:00
Scott Lahteine 37176ed2b9 Apply maxtemp patch 2020-04-27 08:17:59 -05:00
Scott Lahteine 5507b6073c Fix dummy thermistors
Fixes #17422

Co-Authored-By: Moeschus <moeschus@users.noreply.github.com>
2020-04-27 06:35:02 -05:00
Scott Lahteine 33217b0dd0 Add HOTEND_OVERSHOOT 2020-04-27 05:07:08 -05:00
Scott Lahteine 8b3c7dda75 Add HAS_FAN and others 2020-04-27 05:07:08 -05:00
Scott Lahteine 3d45a4bd23 Encapsulate Temperature items 2020-04-27 05:07:08 -05:00
Scott Lahteine 6d90d1e1f5
Apply TERN to compact code (#17619) 2020-04-22 16:35:03 -05:00
Scott Lahteine 000ec9fc13 Ensure language.h include order
See #17604
2020-04-20 09:43:48 -05:00
Scott Lahteine 15f6f53638 Add HAS_HOTEND, etc. 2020-04-20 00:12:22 -05:00
Roxy-3D 07c9dc4142
Make pid_debug_flag match declaration in M303.cpp
Get it right this time!
2020-04-11 11:03:04 -05:00
Roxy-3D a65198882f
Make declaration of PID_debug_flag match M303.cpp 2020-04-11 10:25:19 -05:00
Scott Lahteine 0e06aaa2bc Add millis helper macros 2020-04-04 02:48:30 -05:00
Scott Lahteine 62e8c2dd87 Fix up 'system' includes 2020-04-01 23:51:09 -05:00
Scott Lahteine 514afddeb4 Minor code cleanup 2020-04-01 19:48:58 -05:00
Marcio T d83ad6f321
Improve / fix FTDI EVE Touch UI (#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
2020-03-31 14:22:04 -05:00
Roxy-3D 1986e1cdf8
Allow PID_DEBUG to be turned on and off (#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.
2020-03-24 19:38:09 -05:00
Scott Lahteine 095a1123c1 Add a global machine state 2020-03-14 19:24:35 -05:00
Scott Lahteine 118bd2f8b2
Apply loop shorthand macros (#17159) 2020-03-13 23:18:16 -05:00
Scott Lahteine 6bead0c1b0
Shorter paths to HAL, ExtUI (#17156) 2020-03-13 16:29:29 -05:00
Scott Lahteine b579f5dc99 Move 'last_pause_state' closer to usage 2020-03-09 17:46:49 -05:00
Scott Lahteine 7709261ea9 Move shared code to wait_for_bed_heating 2020-03-04 12:50:57 -06:00
Jason Smith cc822bf70f
Fix some 8 extruders issues, GTR build (#17043) 2020-03-01 21:19:02 -06:00
ManuelMcLure 39c34e4992
Use ADC resolution in AD595/8495 calculation (#17018)
Fixes thermocouple reading on LP1768 (which uses 12-bit resolution).
2020-02-28 23:28:17 -06:00
Scott Lahteine 4f55723527 RUMBA has 3 E plugs 2020-02-27 07:48:02 -06:00
Scott Lahteine e78f607ef3 Use a STR_ prefix for non-translated strings 2020-02-26 03:02:03 -06:00
Scott Lahteine 4360142bd1 Defer updated ADC 2020-02-15 22:37:16 -06:00
Scott Lahteine 64a81f887a
EXPERIMENTAL integrated BABYSTEPPING (#16829) 2020-02-15 21:42:28 -06:00
Scott Lahteine 64b96f3908
Double ADC read frequency (#16864) 2020-02-15 19:10:46 -06:00
Scott Lahteine 0b984519c3
Clean up stepper and babystep (#16857) 2020-02-14 05:14:37 -06:00
Bob Kuhn 0268c1d02c
STM32duino - Use SDIO for onboard SD (#16756) 2020-02-04 01:24:11 -06:00
Scott Lahteine bfad23d3e2 (c) 2020 2020-02-03 08:00:57 -06:00
Scott Lahteine ee6003be87 Revert breaking change to _FAN_PWM macro 2020-02-01 23:07:20 -06:00
Scott Lahteine 4716dac874
Apply REPEAT, RREPEAT, and loop macros (#16757) 2020-02-01 21:00:53 -06:00
Scott Lahteine 0e72c315a0 Minor string storage optimization 2020-02-01 20:29:31 -06:00
Scott Lahteine 22556a7bbf More 8-extruder fixups 2020-02-01 15:19:58 -06:00
Jason Smith c3cab37d7e
Fix Temperature::over_autostart_threshold (#16749) 2020-02-01 04:51:57 -06:00
Scott Lahteine 43d3463d5d Misc cleanup, whitespace 2020-02-01 03:50:42 -06:00
Jason Smith 9a8de23858
Consistent M112 with Emergency Parser (#16747) 2020-01-31 23:08:37 -06:00
Scott Lahteine 9caf5c05e7
Refactor heater watch, job timer auto-start (#16725) 2020-01-30 03:24:43 -06:00
Scott Lahteine 56cd747c8b Rename some temperature members 2020-01-26 21:08:55 -06:00
yangwenxiong 248b7dfa59 BigTreeTech GTR V1.0 / Support 8 extruders, heaters, temp sensors, fans (#16595) 2020-01-25 02:13:39 -06:00
tompe-proj a338dce83f PINDA v2 temperature sensor / compensation (#16293) 2020-01-17 17:16:45 -06:00
Jason Smith c305c2cc6b Fix some warnings, Melzi pins 2020-01-15 19:57:16 -06:00
Dennis 2d7f94cae1 Adjustable ADC debounce delay (#16264) 2020-01-15 18:06:03 -06:00
George Fu e593da1c23 Update and fix DGUS (#16317) 2020-01-03 21:00:44 -06:00
Dirk O. Kaar d0e1166cce Fix Visual Micro "Arduino IDE for Visual Studio" support (#16418) 2020-01-02 19:01:38 -06:00
Bob 5a98c83eef Use MAX6675 SPI pins for MAX31865 over SPI pins (#16024) 2019-11-27 01:45:03 -06:00
haschtl ff6518c0a8 Add PID_FAN_SCALING option (#15585) 2019-11-26 03:34:43 -06:00
Bob 751cd1f533 MAX31865 temperature sensor (#15930) 2019-11-21 03:15:10 -06:00
Lino Barreca ac71cdc265 New HardwareTimer for STM32 5.7.0 (#15655) 2019-11-12 19:23:02 -06:00
Scott Lahteine 776632c503
Add and apply REPEAT macro (#15829) 2019-11-09 17:59:04 -06:00
LinFor a84e3d1b80 Use native ADC resolution where possible (#15719) 2019-11-06 17:49:17 -06:00
Scott Lahteine 15f94e5ee5 Add NUL_STR global 2019-11-02 07:31:07 -05:00
LinFor 7d24f152d8 Fix a typo breaking the build (#15726) 2019-10-30 15:10:08 -05:00
Bo Herrmannsen 0d7736d663 Enable M191 (#15531) 2019-10-16 15:02:37 -05:00
Marcio Teixeira 6a865a6146 Multi-language support (#15453) 2019-10-09 19:46:10 -05:00
Scott Lahteine cc822c1a05
Use lambdas in menus, where possible (#15452) 2019-10-07 19:44:33 -05:00
Giuliano Zaro 43aba9f918 Fix compile errors & temp range 2019-10-05 18:27:03 -05:00
Scott Lahteine e3fd0519b3 Reduce need for UNUSED 2019-09-30 22:56:22 -05:00
LinFor 98f614ddb1 Use MAX_BED_POWER instead of BANG_MAX to heat outside PID_FUNCTIONAL_RANGE (#15431) 2019-09-30 22:19:12 -05:00
Scott Lahteine 139b7196a0
Watchdog cleanup (#15283) 2019-09-29 17:57:29 -05:00
Ludy 41ea2d8c31 Fix auto-fan compile error (#15402) 2019-09-28 15:37:41 -05:00
Marcio Teixeira a18d16fb8b Do not implicitly concatenate localized strings (#15383) 2019-09-27 04:38:43 -05:00
Robby Candra c3f09e2b1b Set MAX_OVERSHOOT_PID_AUTOTUNE to 30 (#15257) 2019-09-25 09:43:00 -05:00
Scott Lahteine 3819f79945 Fix pid_output declaration 2019-09-24 22:32:13 -05:00
Scott Lahteine c353eaa146
Misc changes from struct refactor (#15289) 2019-09-17 18:16:28 -05:00
Scott Lahteine 465c6d9230
Simpler Allen Key config. Fixes, cleanups from refactor (#15256) 2019-09-14 03:05:10 -05:00
Scott Lahteine 75927e17dd
Filament Width Sensor singleton (#15191) 2019-09-10 18:48:58 -05:00
Scott Lahteine 584c86bed1
More "zero extruders" changes (#15213) 2019-09-10 02:20:49 -05:00
Scott Lahteine 565a0e11ed Prevent 'current' name conflict, if needed 2019-09-09 03:17:11 -05:00
Jamie dbee0e9c54 Analog joystick jogging control (#14648) 2019-09-08 00:55:34 -05:00
Scott Lahteine 91c3b8e3ca Reformat ADC cases 2019-09-05 20:02:31 -05:00
Scott Lahteine 4cdf7a1b93 Add ADC helpers to temp_info_t 2019-09-05 19:48:52 -05:00
Scott Lahteine bf3cd8e5aa Tweak var names 2019-09-05 01:40:09 -05:00
Scott Lahteine 12344085c0
Update temperature.cpp 2019-09-02 19:21:47 -05:00
Scott Lahteine 451a942e95 Suspend queue during wait_for_hotend 2019-09-02 01:14:03 -05:00
Ludy 05995d1fd6 Unify buzz methods as MarlinUI::buzz (#14803) 2019-08-20 02:01:37 -05:00
Tim Moore 4575978a1f Fix auto power for chamber fan (#14922) 2019-08-16 18:42:24 -05:00
Tim Moore 77f637763c Overlord configs. Fix buzzer, redundant temp. (#14833) 2019-08-06 23:25:47 -05:00
Scott Lahteine fc39c925ca Grace period followup 2019-08-05 22:00:49 -05:00
Robby Candra 5bc2fb022c THERMAL_PROTECTION_GRACE_PERIOD is obsolete (#14798) 2019-08-05 20:33:15 -05:00
Ludy c4bb458763 BUZZ cleanup (#14760) 2019-07-28 19:14:50 -05:00
mikeshub 1579091c20 PID loop improvements (#14746)
* Fix macro evaluation in `temperature.cpp`
* Improve bed PID, PID debug output
* Add min PID power define
2019-07-28 15:50:25 -05:00
mikeshub d9303b2137 Fix MAX6675_SEPARATE_SPI boot loop (#14698) 2019-07-21 21:36:00 -05:00
Marcio Teixeira 27c487bab7 Print progress enhancements (#14647) 2019-07-17 03:14:44 -05:00
Scott Lahteine ef2a2eb984 Temp tweak 2019-07-17 02:03:25 -05:00
Tanguy Pruvot 45bde333d5 Initial Longer3D LK1/2 (Alfawise U20/U20+/U30) support (#14597) 2019-07-14 18:05:24 -05:00
Scott Lahteine eaf1c0954e Update some precompiler tests 2019-07-14 13:09:16 -05:00
Pavel4e5 8babf55b18 Init ADC keypad analog input (#14585) 2019-07-11 13:47:41 -05:00
Scott Lahteine ed0e6afacb Apply LIMIT macro 2019-07-10 03:35:39 -05:00
Scott Lahteine 5519054f50
Improve BOGUS_TEMPERATURE_FAILSAFE_OVERRIDE (#13740) 2019-07-09 21:35:07 -05:00
Scott Lahteine 750a16ad38 Fix MIN/MAX function collision with macros 2019-07-05 18:14:02 -05:00
Scott Lahteine f7eeae8424 Indent a line 2019-07-02 21:34:40 -05:00
Scott Lahteine 720bc7c00b
Named indices for Temperature class (#14479) 2019-07-02 08:39:55 -05:00
Scott Lahteine d4415dcf59 Fix analogWrite ambiguity 2019-07-02 04:36:02 -05:00
Scott Lahteine c28e08c849 Fix mintemp/maxtemp monitoring for thermocouples 2019-07-01 10:24:53 -05:00
Scott Lahteine d16954dc88
Make KEEPALIVE_STATE a scoped auto-restore (#14446) 2019-06-29 22:49:50 -05:00
Giuliano Zaro a9445d557e Remove extra #if (#14439) 2019-06-28 18:54:22 -05:00
Scott Lahteine 4d5a1984e2 Simplified fan handling code 2019-06-28 18:50:32 -05:00
Scott Lahteine a8d68b7c8a Common method for scaled fan speed 2019-06-28 15:34:17 -05:00
Scott Lahteine 93cd66ac11 Tweaky change from (C) to (c) 2019-06-27 23:58:16 -05:00
Tim Moore 81209f5310 'M105 R' to report redundant temp sensor (#14324) 2019-06-27 21:29:52 -05:00
Tim Moore 8ce84fa44f Add temperature-based auto power options (#14397) 2019-06-27 16:28:07 -05:00
Eric Ptak 8934b32f1b Fysetc AIO II / Cheetah STM32F1 (#14407) 2019-06-26 00:40:29 -05:00
mikeshub 1db7013e3b Fix and improve PID loops (#14373)
- Windup guarding was missing. The kludge in place of windup guard is removed. D term filter calculations are simplified to require fewer `float` calculations. Sign change for D term output to make debugging output clearer.
- Use "no overshoot" for bed PID tuning.
2019-06-22 16:52:56 -05:00
Ludy 2290b269dc Unused variable (#14301) 2019-06-18 00:15:41 -05:00
Ludy bd494a6bd6 Update defines for patched temperature macros (#14161) 2019-05-28 17:43:31 -05:00
doggyfan e09d8811c1 Apply grace period to thermistor failure testing (#14167) 2019-05-28 15:36:03 -05:00
Scott Lahteine 605ec0a478 Fix thermistor table warning 2019-05-26 01:30:20 -05:00
Scott Lahteine 48d1bd29cb Shift m before compare to 0 2019-05-25 15:22:15 -05:00
doggyfan 594f6b14be Limit user thermistor to 999, fix thermistor table macro (#14080) 2019-05-21 21:31:05 -05:00
Pavel4e5 3cd19a8ec0 Improve Zonestar keypad responsiveness (#14056) 2019-05-18 20:52:55 -05:00
Scott Lahteine ad4ffa1d2f
Use C++ language supported 'nullptr' (#13944) 2019-05-09 11:45:55 -05:00
Ludy a504366138 Fix probe fan compiling error (#13930) 2019-05-07 14:14:12 -05:00
Stephan 483822f3aa Fix some THERMAL_PROTECTION_CHAMBER issues (#13678) 2019-05-06 19:55:01 -05:00
doggyfan 23a8707ef1 Configurable Thermistor (#13888) 2019-05-06 18:51:06 -05:00
Scott Lahteine 9853331b34 Fix temp init, loosen ADC grace period 2019-05-05 22:55:03 -05:00
Giuliano Zaro e2a77ed881 Bring chamber temp to completion (#13837) 2019-05-04 22:51:47 -05:00
InsanityAutomation 3fcab8dbf1 Option to disable fans during pause (#13820) 2019-05-04 15:50:44 -05:00
Scott Lahteine 2f32a6612d Clean up Temperature::set_fans_paused 2019-05-04 14:36:59 -05:00
Thomas Moore ee243e4edf Fix mixing extruder filament change (#13803) 2019-05-01 21:55:58 -05:00
Kajetan Rzepecki 875e673a8c Add HAL-based thermal protection grace period for all heaters (#13778) 2019-04-21 20:50:32 -05:00
Kajetan Rzepecki 5f70c876ae Fix _temp_error-related compile error (#13768) 2019-04-20 13:57:38 -05:00
Scott Lahteine bddb776ddb Add chamber max-temp check
Followup to #13756
2019-04-19 22:18:55 -05:00
Marcio Teixeira d0c1eee53b Add extra max-temp safety checks (#13756) 2019-04-19 21:37:12 -05:00
Stephan 84273557f9 Move and update heated chamber settings (#13671)
Co-Authored-By: the-real-orca <stephan.veigl@gmail.com>
2019-04-12 15:38:10 -05:00
Roxy-3D 9cee81d47e Option to show babysteps total since G28 (#13580) 2019-04-06 18:04:34 -05:00
Kajetan Rzepecki c9079165ee Fix MAX6675 readout with Hardware SPI (#13530) 2019-03-30 22:31:49 -05:00
Chris Pepper ffc2c2d7c5 Move FAST_PWM_FAN code to HALs (#13491) 2019-03-26 01:03:23 -05:00
Sam Lane a8fa275dc6 Fix Fan 0 responding to all fan speeds (#13444) 2019-03-23 23:00:31 -05:00
Scott Lahteine 49cf92dc36
Extended condition macros (#13419)
Allow `ENABLED`, `DISABLED`, `PIN_EXISTS`, and `BUTTON_EXISTS` to take multiple arguments. Also add:
- Alias `ANY(...)` for `!DISABLED(...)`
- Alias `ANY_PIN(...)` for `PIN_EXISTS(a) || PIN_EXISTS(b) ...`
- Alias `EITHER(A,B)` for `ANY(...)`
- Alias `ALL(...)` and `BOTH(A,B)` for `ENABLED(...)`
- `NONE(...)` for `DISABLED(...)`
2019-03-16 23:43:06 -05:00
Ludy 59353546e8 Fix BUTTON_EXISTS and misplaced comma (#13411)
Fixes #13410 and redeclaration of `BUTTON_EXISTS`
2019-03-16 11:59:12 -05:00
Scott Lahteine 67bee06e43 No patch needed for non-libmaple analogWrite
See https://github.com/pinchies/Marlin/pull/1#issuecomment-471388743
2019-03-13 07:21:10 -05:00
Scott Lahteine f89b375fb9
Fixes and improvements for PWM pins (#13383) 2019-03-13 06:51:15 -05:00
Scott Lahteine 0375e92847 Followup to serial rework
As mentioned in #13370
2019-03-11 16:46:04 -05:00
Scott Lahteine 1f7e220387 Make HAL ISR macros function-like 2019-03-10 20:44:27 -05:00
Scott Lahteine 3419099f0a Clean up whitespace 2019-03-10 19:09:28 -05:00
MoellerDi c36989c39e Fix chamber temperature measurement (#13350) 2019-03-10 09:51:13 -05:00
Scott Lahteine 33a08fc6f7 Fix typos from temperature rework
Followup to #12201
2019-03-10 08:28:16 -05:00