47 Commits (d3605cfc26074b54071ea26a50bf4a121539a0b4)

Author SHA1 Message Date
Mateusz Krawczuk ca21ac6b9b Support two MAX6675 thermocouples (#8686) 6 years ago
Scott Lahteine d2bb53702a
Optimize target_extruder, ignore T with mixing (#12432)
* Optimize target_extruder, ignore T with mixing
* Give G-code Tn parity with tool_change
6 years ago
Scott Lahteine d82c350de7
Miscellaneous LCD code renaming, reordering (#12430)
* Move special characters to language.h
* Apply some naming standards
* Clean up menu item draw functions
* Rename some Temperature methods
* UI => ExtUI
6 years ago
Scott Lahteine 6093df11dc
Allow G26 to use the active extruder (#12387)
* Make lcd_quick_feedback argument optional
* Add click_to_cancel option to wait_for_hotend/bed
* Have G26 use the active nozzle and wait_for_hotend/bed
* Use wait_for_release in UBL G29
* Add 'T' parameter to G26 for an initial tool-change
6 years ago
Scott Lahteine f5eab912ed
Apply #pragma once, misc cleanup (#12322)
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
6 years ago
Scott Lahteine d556dc1865
Fix and improve EEPROM storage (#12054)
* Clean up Temperature PID
* Improve EEPROM read/write/validate
* Group `SINGLENOZZLE` saved settings
* Group planner saved settings
* Group filament change saved settings
* Group skew saved settings
* Group `FWRETRACT` saved settings
6 years ago
InsanityAutomation 74cd6cb4fc Single nozzle filament change (#11994) 6 years ago
Scott Lahteine d6b0fbd771
Use uint8_t for all fan speeds (#12032) 6 years ago
Scott Lahteine 65b8f3821b Suppress temperature.h compile warning 6 years ago
Scott Lahteine 11ac75edcb
Use PGM_P for PSTR pointers (#11977) 6 years ago
Scott Lahteine e4389f7d23
Standard methods to wait for heating (#11949) 6 years ago
Scott Lahteine 1718eff54a Code changes supporting up to 6 extruders 6 years ago
Andy Shaw 624986d423 Ensure ADC conversion is complete before reading (#11336)
The current Marlin implementation relies on a timer interrupt to start the ADC conversion and read it. However in some circumstances the interrupt can be delayed resulting in insufficient time being available for the ADC conversion. This results in a bad reading and false temperature fluctuations. These changes make sure that the conversion is complete (by checking the ADC hardware via the HAL) before reading a value.

See: https://github.com/MarlinFirmware/Marlin/issues/11323
7 years ago
etagle 1367df2875 Replace double with float, optimize calculation 7 years ago
Scott Lahteine f2c3b0d476 Use bit flags for homed/known 7 years ago
Scott Lahteine 0ca9db7051 Correct HOTENDS for SWITCHING_EXTRUDER 7 years ago
Scott Lahteine 99ecdf59af Smarter MIN, MAX, ABS macros
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 8f8c6a9bc4
Move get_axis_position_mm to Planner (#10718) 7 years ago
Scott Lahteine 625035a9ce
Fix M301 access to lpq_len (#10714)
Co-Authored-By: Zwaubel
7 years ago
Scott Lahteine 81b632c255 Additional temp-oriented improvements 7 years ago
Scott Lahteine 9789c1c719 Fix current_temperature_chamber compile error
Fix #10505
7 years ago
Scott Lahteine cb46cb8480
Add HAS_HEATED_BED conditional (#10495) 7 years ago
Lenbok 0e8242180d Chamber temperature monitoring and auto fan control.
This is an initial cut for feedback, updated for 2.0.x.

Chamber temperature is currently reported along with hot end and bed
temperatures to serial. The format is just like that used for hot end
and bed temperatures, but using 'C' prefix. As there is no heater,
target is always 0. Is this appropriate, is there a better way to report
chamber temperatures?

Chamber temperatures are not reported on the LCD in any way.

When auto chamber fan is enabled, it currently just uses the same
temperature threshold as the other auto controlled fans.

As the chamber temperature is not connected to any heater, it doesn't
undergo mintemp/maxtemp monitoring. This would need to change in the
future if chamber heating became a feature.
7 years ago
Eduardo José Tagle 97e8a6ebd9 Various fixes for DUE... (#10152)
- Watchdog reset during SD Card initialization.
- Move `DebugMonitor` to `DebugMonitor_Due.cpp`.
- Since the watchdog is enabled on boot do extra resets during init.
- Have `thermalManager` do watchdog reset before its ISR starts to prevent reset.
- Ensure that timers are stopped before reprogramming them to address tone issues.
- Improve SAM3XE reset when reflashed through the native port.
7 years ago
Scott Lahteine ffbf63e6af Add HAS_TEMP_SENSOR conditional 7 years ago
Scott Lahteine 2057177184 Make enums into implicit char 7 years ago
Scott Lahteine 7280fa1e31 Patch Power class 7 years ago
Scott Lahteine b5e92f4f90
[2.0.x] Enable / disable PSU automatically (#9503) 7 years ago
Scott Lahteine 61bf8478a2 Add hotEnough methods 7 years ago
Scott Lahteine d5bf9e74c4
Merge pull request #8996 from p3p/pr_bf2_more_adc_filter
[2.0.x] PID control fix and more LPC1768 ADC filtering
7 years ago
Thomas Moore f7efac57b7 Multi-host support 7 years ago
Christopher Pepper 14dcad6bbc LPC1768: Increase ADC median filter from 3 values to 23
Clarify the HAL_adc_get_result method to make sure correct values enter the filters

HAL: Fix the PID control loop for non-AVR platforms
7 years ago
Scott Lahteine 4af3d436b2 M303 pid autotune cleanup, commentary 7 years ago
Scott Lahteine 5e01ee8adf Temperature updates for parity with 1.1.x 7 years ago
Scott Lahteine cf2193c07f Comment, fix filament width sensor 7 years ago
Richard Wackerbarth c1184552ac Change K1 to required option PID_K1 7 years ago
Scott Lahteine 45c2388a58 Apply const to thermal_runaway_protection args 7 years ago
Unknown 33912fa7e8 Update Temperature::setPwmFrequency prototype to match source
Introduced with #8446
7 years ago
Bob-the-Kuhn c14000775b PWM fixes, slow down fan update
include LPC1768 syntax for M42

couple more pin_t changes

consistency

change M42 to R, P format

Revert "change M42 to R, P format"

This reverts commit 01f12f579ec9ccc1bb9126e68d2c86449e9b7edf.
7 years ago
Scott Lahteine 1ed86adf9c Cleanup around updatePID 7 years ago
Scott Lahteine 2f9e42feb9 M303 thermal runaway protection 7 years ago
Thomas Moore 325233b454 Fix automatic stepper assignment for X/Y/Z dual stepper drivers (#8130) 7 years ago
Roxy-3D 6cb26c98c8 Fix Baby Stepping on 32-Bit platforms (#8001)
Also, Max7219 debug code was used for this effort.   It has been
improved and hardened.
7 years ago
Scott Lahteine df0432c7c8 Move M155 to cpp, auto-report to Temperature 7 years ago
Scott Lahteine 71aefc2e22 Move heater output to Temperature class 7 years ago
Scott Lahteine 3d8a0ab4b2 Module updates 7 years ago
Scott Lahteine 0c9231fd04 Move 'module' files 7 years ago