What's new
VORON Design

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members!

Klipper Coding - Where to add custom thermistor table

Swift7

New member
Hello, I have a Voron2.4 that I built using the LDO kit. For background: The current issue started when I began getting errors which I interpreted to be a broken chamber thermistor. So I purchased some cheap thermistors and thought that I could just plug them straight into the Octopus and mount them toward the back of the enclosure rather than on the tool head. (I don't know if this will cause its own problem. My thought was to remove the weight from the tool head and potentially a failure point where the vibrations could cause an issue with the thermistor plug into the board on the tool head.)

Where I'm at now: The thermistors I purchased are generic NTC 10k B3950. I understand that these have a different resistance to temperature ratio from what I am replacing. So, I believe that the current solution is that I need to add the correct resistance/temperature for the thermistor I have into the print.cfg file. Something like what is discussed here: https://forum.vorondesign.com/threa...tc-10k-b3950-thermistor-on-octopus-v1-1.2077/

My question: Where does the custom thermistor information go? I have minimal coding experience and I have tried to add the information to my print.cfg file in different places and keep getting errors. I don't know if the problem is that I am not putting the custom information to define the thermistor I have in the correct place or not. Or maybe I am not titling that section correctly so that doesn't klipper know what to do with the information. These thermistors did not come with their own table, but I think I found some good enough to start from.

If someone has advice specific to this particular issue, that would be greatly appreciated. Also, if someone can point me in a direction with resources so that I can understand how the klipper code works so that I can learn enough not to have this kind of question in the future, that would be even better.

I would like to have a more in depth understanding of what happens with the information generated by the slicer vs. klipper vs. what the machine ends up doing. For instance, I had a time trying to figure out how to prevent the nozzle from heating past the melting point of the filament prior to taking a z homing measurement because the oozing that would occur would throw off the measurement. It was also a waste of time for it to fully heat and then cool down to a safe bed touching temperature. I figured it out by commenting things out per suggestions from the internet but the order of operations don't make full sense to me. So that works know but when I think about other things to implement via macros, I would like to have the inherent understanding where I could go write whatever it is I want it to do rather than having to copy things from examples I find here or there.

Like writing a nozzle cleaning macro. I have a voron tap, so the nozzle needs to be clean before taking a final measurement, but when I turn the machine on, to clean the nozzle against a brush, it would need to take a measurement to know where its at, but that should be a temporary measurement and the final one taken only after cleaning. Also, how can I have it do things like that while the bed is heat soaking to not waste time. Or to have it make a log of how long the bed has been hot/soaked so that when I'm doing multiple prints, it can automatically skip the heat soak step if the bed has already been hot for a while. I would like to know enough to be able to just sit down and write those kinds of things but I haven't seen that resource to learn from yet.

Thank you for your time!

Swift7
 
Top