2

The thermoresistor on my Anycubic Mega displays nonsense temperatures (e.g. 700 °C), since the resistor in the hotend is working fine the problem is 100 % in the board (Trigorilla RAMPS 1.4). Someone suggested switching the pin of the thermoresistor from T0 to T1, so I soldered it this way. Now I have to cook a personalized firmware for making it work. I opened a custom firmware in VSCode but I do not know what parameter I have to change, any idea?

agarza
  • 1,734
  • 2
  • 16
  • 33

1 Answers1

2

If there are 2 slots for temperature measurements, you don't need to solder anything, just plug the thermistor from one into the other and switch pins in the firmware. This board is basically a RAMPS 1.4 board, it includes the pins_RAMPS.h header file, so in order to switch the T0 with the T1 temperature port, you need to change:

//
// Temperature Sensors
//
#ifndef TEMP_0_PIN
  #define TEMP_0_PIN                          13  // Analog Input
#endif
#ifndef TEMP_1_PIN
  #define TEMP_1_PIN                          15  // Analog Input
#endif

to:

//
// Temperature Sensors
//
#ifndef TEMP_0_PIN
  #define TEMP_0_PIN                          15  // Analog Input
#endif
#ifndef TEMP_1_PIN
  #define TEMP_1_PIN                          13  // Analog Input
#endif
0scar
  • 37,708
  • 12
  • 68
  • 156