[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.1874428 [View]
File: 33 KB, 683x485, YkIWp.png [View same] [iqdb] [saucenao] [google]
1874428

>>1874391
PID parameters control when to turn on and off heating to reach and hold the temperature readings on desired level. PID parameters have nothing to do with incorrect temperature readings.

Temperature readings are controlled by thermistor tables. Such table is a set of points: ADC output and corresponding temperature.
Take a look here: https://github.com/MarlinFirmware/Marlin/tree/2.0.x/Marlin/src/module/thermistor
This data is used to estimate temperature from ADC output.

The pic shows how voltage changes with temperature for some particular circuit and sensor.
This obviously depends on the sensor and at least one resistor on a board that is in series with the sensor.
When you swapped the board, you may have changed a part of temp-measuring circuit that is on the board.

Although Marlin is a terrible spaghetti patchwork of code, it is pretty well documented how to set this up.
You need to set "#define TEMP_SENSOR_0 XXX" to a nonzero value XXX that selects proper table for your hardware. There's a reference here: https://github.com/MarlinFirmware/Marlin/blob/2.0.x/Marlin/Configuration.h#L359

Navigation
View posts[+24][+48][+96]