-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
Wrong MAX31855 Temperature with K-Type (~30-35°C below) #22289
Comments
This should be fixed with #22196 if you'd like to build that branch & test - I am planning on doing some extended testing today, again, and will make sure the '55 boards are reporting correctly. |
Hello all, But there is still an issue in pins_BTT_SKR_common.h --> Needs to be comment out, otherwise compile error features.ini Im using this parameters: Regards |
Thanks for the additional information. I spent the majority of last night trying to get SPI working as I expected on LPC and was starting to lean in that direction (SPI speeds), as well. I'll mess with it a bit more today/tomorrow and will hopefully be able to come to a solution. Regarding the Adafruit library, have you tried without it on the fixup branch? For '55, all the library adds is more verbose error output. The library itself uses non-HAL/non-Marlin-y SPI; the default implementation in Marlin may give you better results. |
Fixed in #22196. |
@slowbro Marlin\src\HAL\LPC1768../../inc/SanityCheck.h:2060:4: error: #error "TEMP_SENSOR_0 MAX thermocouple requires TEMP_0_CS_PIN." That compile is working with MAX31855 you have to do the follwing: configuration_avd.h Regards |
Ah, sorry! I'll take a look. |
@slowbro |
Ok, I see the error. The file that set up HAS_MAX_TC is called after the pins files are loaded, so that block never gets ran. To be honest, those defines don't need to be wrapped in HAS_MAX_TC, but either way it may be better to move the MAX TC stuff to Conditionals_adv.h; this should be fixed in bugfix soon. Thanks for letting me know! Also, FYI - |
Fixed in #22342? Please download |
Yep, #22342 fixes this. |
@slowbro |
Always pull down the latest |
@thisiskeithb |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
Same behavior 2.0.7.2 and 2.0.9
Used different K-Type Thermocouples from different Vendors and also different MAX31855 Boards.
Same issue.
Connected to BTT 1.4 Turbo SPI PIN0.26, PIN0.7, PIN0.8 --> Communication works fine.
Temperatures are about 35°C below as displayed on Marlin LCD.
If the temperature is 100°C difference is about -25°C
Cross checked with basic Arduino Nano Sketch MAX31855 from Adafrut Library with Serial connection and also IR Thermometer --> Same values (+/- 5°C) --> It can't be the hardware !!
For me it looks that some where a hidden temperature correction is done. Like for termistors.h --> But I can't find.
Or is there also a template for thermocouples hat has to be applied to get correct values ?
Marlin-2.0.9\Marlin\src\pins
#define TEMP_0_PIN P0_26 // 2020-10-09 MR Pin for Thermocouple K-Type MAX31855
//#endif
//#ifndef MAX6675_SS_PIN //2020-10-09 MR define Thermocouple
#define MAX6675_SS_PIN TEMP_0_PIN //2020-10-09 MR define Thermocouple
#define MAX31855_SS_PIN TEMP_0_PIN
Configuration.h
#define TEMP_SENSOR_0 -3 // 2020-10-16 MR active Thermocouple MAX31855 for Extruder0
Regards
Martin
Bug Timeline
No response
Expected behavior
Correct Temperatur readings with MAX31855 and K-Type Thermocouple and Marlin Release 2.9.0+
Actual behavior
I have to guess my temperatures :-(
And adapt slicing software with faulty temperatures :-(
Steps to Reproduce
Version of Marlin Firmware
2.0.9
Printer model
Creality Ender 3
Electronics
BTT 1.4 Turbo, MAX31885, Micro Swiss Hotend, TMC2130
Add-ons
ESP3D
Your Slicer
Prusa Slicer
Host Software
SD Card (headless)
Additional information & file uploads
No response
The text was updated successfully, but these errors were encountered: