Jump to content

K-type thermistor on UM2 - New Pin Assignment and code


Recommended Posts

Posted · K-type thermistor on UM2 - New Pin Assignment and code

Hello all,

For a while I've been wanting to have a wider nozzle on my UM2, but a few months ago when I tried to do it I realized that my temp sensor was stuck there. Since I didn't want to be without the printer, I left the idea aside, but yesterday I decided I'd do it, and of course - the thermistor cable ripped and the probe is inside a now unusable nozzle/printer.

So I had ordered some months ago some k-type thermistors from China that fit the nozzle perfectly, but now I can't seem to find a way to make they work on the printer. They have 2 cables instead of the 3 of the UM2. When I connect them to the original cables, they don't work, I still get the message temp sensor problem or whatnot.

I've realized so far that I need a new pin assignment thru pins.h on the Marlin firmware (#define TEMP_0_PIN = 13), but what pin can I use? How do one connects a thermistor, to the 5V and GND?

And above all, where can I find the info on what pins from the EXP1 and EXP2 and so on correspond to what number in the firmware? I've searched for this info in the github and wiki, but couldn't find a definitive answer.

Thanks in advance, all the best,

Diego

  • Link to post
    Share on other sites

    Posted · K-type thermistor on UM2 - New Pin Assignment and code

    Ok, an update: I've tried both sensor that I got around, both have 2 cables, I believe one is a ATC Semitec 104-GT2 thermistor that came with the E3D v6 printhead and the other some generic k-type which I'm not sure.

    Anyway, I tested both on the Analog port (it's 82 on the firmware, right?), with and without pull-up resistor, and I can't get a reading. No go at ADCL Analog 0 (97 on the firmware?) either, same results as the analog port.

    I'm running out of ideas now...

  • Link to post
    Share on other sites

    Posted · K-type thermistor on UM2 - New Pin Assignment and code

    Ok, an update: I've tried both sensor that I got around, both have 2 cables, I believe one is a ATC Semitec 104-GT2 thermistor that came with the E3D v6 printhead and the other some generic k-type which I'm not sure.

    Anyway, I tested both on the Analog port (it's 82 on the firmware, right?), with and without pull-up resistor, and I can't get a reading. No go at ADCL Analog 0 (97 on the firmware?) either, same results as the analog port.

    I'm running out of ideas now...

     

    Ok, so I figured it out. I´ve connected to ADCL Analog 0, using a 4.7k pull-up resistor, and used TEMP_0_PIN = 0 on the firmware, now I can get a reading just fine.

    If anybody hits this, just to clarify ´cause it took me a while to come around this whole thing: you connect a cable to 5V (1st pin on the J26 marked header on the board) and a resistor (4.7k in my case) to this, the resistor goes to one lead of the thermistor, and then to an analog input (1st pin on the J25 marked header on the board) and the other to GND (2nd pin on the J26 marked header on the board). Choose the right thermistor in the Configuration.h and assign TEMP_0_PIN = 0 on pins.h, in the section relative to board 72 (um2), compile, upload and you should be good to go!

    A picture worths a thousand words:

    ultiexplanation.thumb.jpg.19c1388318f99d0149d1bbbf74f8c2c5.jpg

    ultiexplanation.thumb.jpg.19c1388318f99d0149d1bbbf74f8c2c5.jpg

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 7 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...