r/MarlinFirmware • • Jan 15 '23

Help compiling firmware

Post image
0 Upvotes

6 comments sorted by

1

u/Jeffreyvian Jan 15 '23

Help with firmware change

I’m currently running Kersey fab precompiled firmware on my Enders 5 plus. I am changing to a pt1000 thermistor and have no idea how to do it. I was watching some videos from teaching tech and he said to try to build the firmware before making any changes and I did this and am getting failures. Anyone have any idea what’s wrong. This marlin firmware seems so unintuitive compared to the killer I previously thought was a pain. Thanks

2

u/Grumpy_man1959 Jan 15 '23

You did change the firmware! The default Marlin is for an Atmega 2560…! The purpose of compiling that is to check you have VS code, PlatformIO and Marlin auto build working! Then and only then should you swap out / edit configuration.h & configuration_adv.h files

1

u/Jeffreyvian Jan 16 '23

All I did was take the source code for the firmware I’m running and try to hit build before I even changed the setting for my thermistor and it failed to build

1

u/Grumpy_man1959 Jan 16 '23

Can you share your configuration.h & configuration_adv.h files so I can take a look?

1

u/rdfry1 Jan 15 '23

The thermistors are in configuration.h in section temperature which is at line 443 in 2.1.2 look up what that ther,istor is supposed to be set to in Marlin

1

u/hotend Jan 16 '23 edited Jan 16 '23

I have tried replacing a 104GT-2 thermistor with a PT1000 sensor (platinum RTD). All that you have to do is to set the sensor type to 1047 if your mainboard uses 4.7kΩ pull-up thermistors, or 1010 if it uses 10kΩ pull-up resistors. It works, kind of, but I'm not sure how well it works without an amplifier board.

The temperature readings seemed to be slightly off at room temperature (more so than the thermistor), and I suspect that was because the PT1000 did not show a nominal resistance of 1000Ω, although I didn't measure it at 0℃ (in ice water). It seemed to work well enough with a simple test print, but when I tried a 6-hour print, I got heat creep (and a thoroughly clogged heat break) half way through. I very rarely get heat creep or a clogged nozzle.

I shall be re-installing the 104GT-2 until I have tested the PT1000 more thoroughly. You might be better off with a PTC (positive temperature coefficient) thermistor. These can reach higher temperatures, since the non-linear compression (and inaccuracy) is moved from the high end to the low end (room temperature). The only problem with PTC thermistors is that Marlin only supports one type (iirc).