<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Resistance Calculations</title>
        <description> I tried an experiment. I took a handful of resistors, measured each with a multimeter, then attached each to the thermistor connector. I used the RepRap host software in debug mode in eclipse to look at what it thought the resistance was. Here are the results:

Real	Measured
101	141
6650	6020
26900	24140
46200	41180
99000	87000

What it comes down to is that there&#039;s a scale factor plus an offset. The equation come out to something like y=0.88x+52. Now, I can understand the scaling. That could be C3. And I can compensate for that by adjusting the capacitor setting. What I don&#039;t get, though, is where the offset comes from. It&#039;s acting as if there&#039;s a 50ohm resistor in series with the thermistor. 

Any thoughts on where that might be coming from?</description>
        <link>https://reprap.org/forum/read.php?4,8768,8768#msg-8768</link>
        <lastBuildDate>Sun, 10 May 2026 05:00:16 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?4,8768,8841#msg-8841</guid>
            <title>Re: Resistance Calculations</title>
            <link>https://reprap.org/forum/read.php?4,8768,8841#msg-8841</link>
            <description><![CDATA[ By the way, this is how I'm getting the resistance value. Open RepRap in eclipse, run Main in debug mode. Put a breakpoint in GenericExtruder, on the next line of code after this one:<br />
<br />
  double resistance = calculateResistance(rawHeat, calibration);<br />
<br />
In the source I'm using, that's line 809. Open up the extruder exerciser and wait for the breakpoint. Hovering the cursor over "resistance" should give you the current value. You can then compare that to a reading using a multimeter.]]></description>
            <dc:creator>degroof</dc:creator>
            <category>Reprappers</category>
            <pubDate>Wed, 23 Jan 2008 08:21:21 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?4,8768,8824#msg-8824</guid>
            <title>Re: Resistance Calculations</title>
            <link>https://reprap.org/forum/read.php?4,8768,8824#msg-8824</link>
            <description><![CDATA[ The data sheet for the PIC is 20mA they will push a little more but I would spec to run max 18mA]]></description>
            <dc:creator>Ian Adkins</dc:creator>
            <category>Reprappers</category>
            <pubDate>Tue, 22 Jan 2008 18:26:38 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?4,8768,8811#msg-8811</guid>
            <title>Re: Resistance Calculations</title>
            <link>https://reprap.org/forum/read.php?4,8768,8811#msg-8811</link>
            <description><![CDATA[ Makes sense. And the scale factor can be explained by cap tolerance. It's entirely possible it's off be ~10%.<br />
<br />
I guess I could compensate for the impedance by adding it to the original resistance measurements and plugging that into the beta/Rz formula. But, yeah, it might be better in the long run to have it as a parameter. <br />
<br />
What I'm shooting for is getting reasonably accurate temperature readings at the high end of the scale. Personally, I don't mind if it's off a bit at room temperature but, if it's reading 270C when it's really 250C, that could be a problem.]]></description>
            <dc:creator>degroof</dc:creator>
            <category>Reprappers</category>
            <pubDate>Tue, 22 Jan 2008 15:11:59 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?4,8768,8805#msg-8805</guid>
            <title>Re: Resistance Calculations</title>
            <link>https://reprap.org/forum/read.php?4,8768,8805#msg-8805</link>
            <description><![CDATA[ Yes, from memory the PIC can drive 30ma so trying to measure less than 167R is going to give an erroneous value.<br />
<br />
I would guess its output impedance would be a few tens of ohms so you could calibrate that out by doing what you are doing and adding an extra host parameter. It will vary from PIC to PIC and with the temperature (of the PIC!).]]></description>
            <dc:creator>nophead</dc:creator>
            <category>Reprappers</category>
            <pubDate>Tue, 22 Jan 2008 13:52:33 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?4,8768,8804#msg-8804</guid>
            <title>Re: Resistance Calculations</title>
            <link>https://reprap.org/forum/read.php?4,8768,8804#msg-8804</link>
            <description><![CDATA[ Ah, so that explains it. The 144 figure is really the only anomalous value. The rest scale properly (.88-.9) but the should've translated to 90-something. The 101 ohm value was a bit on the small side anyway. It works out to about 360C for the 100K thermistors. I'll try again using a larger value.]]></description>
            <dc:creator>degroof</dc:creator>
            <category>Reprappers</category>
            <pubDate>Tue, 22 Jan 2008 13:01:21 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?4,8768,8777#msg-8777</guid>
            <title>Re: Resistance Calculations</title>
            <link>https://reprap.org/forum/read.php?4,8768,8777#msg-8777</link>
            <description><![CDATA[ You are assuming the PIC output pin has zero impedance. In practice as you draw more current its voltage will fall. This is equivelent to a perfect buffer with a small resistance in series.<br />
<br />
5V across 100R would draw 50ma which exceeds the drive capability of the PIC. This is why the 10K themistor is no good for high temperatures with the UCB circuit.]]></description>
            <dc:creator>nophead</dc:creator>
            <category>Reprappers</category>
            <pubDate>Tue, 22 Jan 2008 04:24:45 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?4,8768,8768#msg-8768</guid>
            <title>Resistance Calculations</title>
            <link>https://reprap.org/forum/read.php?4,8768,8768#msg-8768</link>
            <description><![CDATA[ I tried an experiment. I took a handful of resistors, measured each with a multimeter, then attached each to the thermistor connector. I used the RepRap host software in debug mode in eclipse to look at what it thought the resistance was. Here are the results:<br />
<br />
Real	Measured<br />
101	141<br />
6650	6020<br />
26900	24140<br />
46200	41180<br />
99000	87000<br />
<br />
What it comes down to is that there's a scale factor plus an offset. The equation come out to something like y=0.88x+52. Now, I can understand the scaling. That could be C3. And I can compensate for that by adjusting the capacitor setting. What I don't get, though, is where the offset comes from. It's acting as if there's a 50ohm resistor in series with the thermistor. <br />
<br />
Any thoughts on where that might be coming from?]]></description>
            <dc:creator>degroof</dc:creator>
            <category>Reprappers</category>
            <pubDate>Mon, 21 Jan 2008 19:21:52 -0500</pubDate>
        </item>
    </channel>
</rss>
