5
$\begingroup$

I have a Marlin driven Prusa i3 clone, by accident I cut through both thermistor wires for the hotend while it was powered on. The Arduino reset and the hotend thermistor no longer work.

Since there is a spare thermistor input on the RAMPS board I was wondering if I can change the input pin assigned to the hotend thermistor in the software? I've looked around (the code and the internet) and so far have only found out how to assign the thermistor type for the spare input, not how to tell Marlin to make temp_sensor_2 be the input used for the hotend?

If anyone could help me figure out how to change the hotend thermistor input number I would be greatly appreciative!

$\endgroup$
3
$\begingroup$

In pins_RAMPS.h you find which pins are used for which thermistor:

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

To use the other thermistor, you would need to swap the numbers:

//
// Temperature Sensors
//
#define TEMP_0_PIN         15   // Analog Input
#define TEMP_1_PIN         13   // Analog Input
| improve this answer | |
$\endgroup$
  • $\begingroup$ Thank you so very much! $\endgroup$ – user16708 Jun 9 '19 at 15:13
  • $\begingroup$ @user16708 You're welcome! At SE sites, appreciation is shown by upvoting an accepting answers. Welcome to 3D printing.SE! Please take the tour and browse the help center section. Welcome on board :) $\endgroup$ – 0scar Jun 10 '19 at 19:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.