Jump to content
UltiMaker Community of 3D Printing Experts

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
     Share

    • Our picks

      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
         
         
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
         
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
         
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.
         

         
        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 10 replies
      • UltiMaker Cura 5.3.0-Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
         
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 16 replies
      • New here? Get ahead with a free onboarding course
        Hi,
         
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 14 replies
    ×
    ×
    • Create New...