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

[BUG] (MAX31865 for bed behaviour in Marlin 2.1.2.5) #27564

Open
1 task done
anvoice opened this issue Dec 3, 2024 · 0 comments
Open
1 task done

[BUG] (MAX31865 for bed behaviour in Marlin 2.1.2.5) #27564

anvoice opened this issue Dec 3, 2024 · 0 comments

Comments

@anvoice
Copy link

anvoice commented Dec 3, 2024

Did you test the latest bugfix-2.1.x code?

No, but I will test it now!

Bug Description

The Marlin 2.1.2.5 Configuration.h comments claim that a bed 2.1.2.5 max31865 sensor can be used, but there are no variables to be set in Configuration.h pertaining to the bed max31865 sensor, only sensors 0, 1, and 2. Enabling a max for the bed via #define TEMP_SENSOR_BED -5 leads to a slew of compile errors. In an attempt to remedy this I delved deeper into the code, where support for the max on the bed is indeed evident, for example in temperature.cpp. I am currently trying to fix all the errors that appear by deeper modification of the files, for example Conditionals_adv.h in Marlin/src/inc, but not sure if I'll succeed. I'm quite new to coding, but I'd be happy to provide details of what I did already, if someone lets me know how.

Bug Timeline

If indeed a bug, probably existed from the beginning but was not observed because nobody uses the max31865 for the bed.

Expected behavior

Expected is the ability to use a max31865 sensor for the bed, either directly through Configuration.h or by more advanced code modification.

Actual behavior

Cannot add max31865 to bed without breaking everything.

Steps to Reproduce

  1. Download Marlin 2.1.2.5
  2. Use #define TEMP_SENSOR_BED -5 in Configuration.h
  3. Compile errors
    Configuration.zip

Version of Marlin Firmware

2.1.2.5

Printer model

Fully custom cartesian

Electronics

MKS Tinybee mainboard

LCD/Controller

MKS TFT24, not controlled by Marlin AFAIK

Other add-ons

BTT MAX31865 stepstick module

Bed Leveling

UBL Bilinear mesh

Your Slicer

Prusa Slicer

Host Software

OctoPrint

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

I made quite a few changes and am not sure how best to describe all of them. These include other custom code to get the MKS TFT24 working on the MKS Tinybee mainboard among other things. If someone lets me know how best to submit the changes I made I will do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant